Skip to content

Commit

Permalink
feat: rpc spec 0.8.rc0 implementation, with known issues (#19)
Browse files Browse the repository at this point in the history
* feat: rpc spec 0.8.rc0 implementation, with known issues

* fix: number

* chore: fixed type

* feat: temp fix for beta release
  • Loading branch information
tabaktoni authored Oct 28, 2024
1 parent 76a31d5 commit d0bc541
Show file tree
Hide file tree
Showing 8 changed files with 844 additions and 69 deletions.
15 changes: 5 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,29 @@
## [0.7.7](https://github.com/starknet-io/types-js/compare/v0.7.6...v0.7.7) (2024-06-10)


### Bug Fixes

* export all from abi ([#16](https://github.com/starknet-io/types-js/issues/16)) ([8dcc198](https://github.com/starknet-io/types-js/commit/8dcc198526d6561ce967407aa2ca68e378e2c300))
- export all from abi ([#16](https://github.com/starknet-io/types-js/issues/16)) ([8dcc198](https://github.com/starknet-io/types-js/commit/8dcc198526d6561ce967407aa2ca68e378e2c300))

## [0.7.6](https://github.com/starknet-io/types-js/compare/v0.7.5...v0.7.6) (2024-06-07)


### Bug Fixes

* simgflag ([#15](https://github.com/starknet-io/types-js/issues/15)) ([f3458b9](https://github.com/starknet-io/types-js/commit/f3458b9ae436e0fe61684f8bd3dd5ce09d70e45a))
- simgflag ([#15](https://github.com/starknet-io/types-js/issues/15)) ([f3458b9](https://github.com/starknet-io/types-js/commit/f3458b9ae436e0fe61684f8bd3dd5ce09d70e45a))

## [0.7.5](https://github.com/starknet-io/types-js/compare/v0.7.4...v0.7.5) (2024-06-05)


### Bug Fixes

* export abi internals ([#11](https://github.com/starknet-io/types-js/issues/11)) ([d22b5de](https://github.com/starknet-io/types-js/commit/d22b5decb6847ad70738ba7ea60de01281760427))
- export abi internals ([#11](https://github.com/starknet-io/types-js/issues/11)) ([d22b5de](https://github.com/starknet-io/types-js/commit/d22b5decb6847ad70738ba7ea60de01281760427))

## [0.7.4](https://github.com/starknet-io/types-js/compare/v0.7.3...v0.7.4) (2024-06-04)


### Bug Fixes

* readme ([#10](https://github.com/starknet-io/types-js/issues/10)) ([2636265](https://github.com/starknet-io/types-js/commit/2636265000a723ec39ff71a18ec70e19e4cfc0de))
- readme ([#10](https://github.com/starknet-io/types-js/issues/10)) ([2636265](https://github.com/starknet-io/types-js/commit/2636265000a723ec39ff71a18ec70e19e4cfc0de))

## [0.7.3](https://github.com/starknet-io/types-js/compare/v0.7.2...v0.7.3) (2024-06-04)


### Bug Fixes

* spec update ([#7](https://github.com/starknet-io/types-js/issues/7)) ([5ec8208](https://github.com/starknet-io/types-js/commit/5ec8208f9e495f34472834e01458f4d3f97049d7))
- spec update ([#7](https://github.com/starknet-io/types-js/issues/7)) ([5ec8208](https://github.com/starknet-io/types-js/commit/5ec8208f9e495f34472834e01458f4d3f97049d7))
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,25 @@ npm i @starknet-io/types-js
## Types

#### API [Starknet JSON RPC Specification](https://github.com/starkware-libs/starknet-specs/tree/master/api)
```ts
// type import
import type { SomeApiType } from '@starknet-io/types-js'
// or entire namespace import
import { API } from '@starknet-io/types-js'

```ts
// type import
import type { SomeApiType } from '@starknet-io/types-js';
// or entire namespace import
import { API } from '@starknet-io/types-js';
```

#### Wallet API [Wallet JSON RPC Specification](https://github.com/starkware-libs/starknet-specs/tree/48e77bf4aaf687388b40b8198e3105401941517a/wallet-api)
```ts
// type import
import type { SomeWalletApiType } from '@starknet-io/types-js'
// or entire namespace import
import { WALLET_API } from '@starknet-io/types-js'

```ts
// type import
import type { SomeWalletApiType } from '@starknet-io/types-js';
// or entire namespace import
import { WALLET_API } from '@starknet-io/types-js';
```

##### SNIP-12 [Hashing and signing typed structured data](https://github.com/starknet-io/SNIPs/blob/main/SNIPS/snip-12.md)

- /src/wallet-api/typedData.ts

## Versioning (pending SPEC PR merge)
Expand Down
Loading

0 comments on commit d0bc541

Please sign in to comment.