Skip to content

Commit

Permalink
fix: starkne types 0.7 (#1087)
Browse files Browse the repository at this point in the history
* refactor(spec): extract and import rpc spec types from starknet-types

* chore: add starknet types 0.7.2
  • Loading branch information
tabaktoni committed Apr 23, 2024
1 parent a344f37 commit b038c76
Show file tree
Hide file tree
Showing 16 changed files with 222 additions and 1,406 deletions.
268 changes: 166 additions & 102 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
"isomorphic-fetch": "^3.0.0",
"lossless-json": "^4.0.1",
"pako": "^2.0.4",
"starknet-types": "^0.0.5",
"ts-mixer": "^6.0.3",
"url-join": "^4.0.1"
"url-join": "^4.0.1",
"starknet-types-07": "npm:starknet-types@^0.7.2"
},
"lint-staged": {
"*.ts": "eslint --cache --fix",
Expand Down
4 changes: 2 additions & 2 deletions src/types/api/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * as JRPC from './jsonrpc';

export * as RPCSPEC06 from './rpcspec_0_6';
export * as RPCSPEC07 from './rpcspec_0_7';
export * from './rpcspec_0_7';
export * as RPCSPEC07 from 'starknet-types-07';
export * from 'starknet-types-07';

0 comments on commit b038c76

Please sign in to comment.