Skip to content

Commit b038c76

Browse files
authored
fix: starkne types 0.7 (#1087)
* refactor(spec): extract and import rpc spec types from starknet-types * chore: add starknet types 0.7.2
1 parent a344f37 commit b038c76

File tree

16 files changed

+222
-1406
lines changed

16 files changed

+222
-1406
lines changed

package-lock.json

Lines changed: 166 additions & 102 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@
9898
"isomorphic-fetch": "^3.0.0",
9999
"lossless-json": "^4.0.1",
100100
"pako": "^2.0.4",
101-
"starknet-types": "^0.0.5",
102101
"ts-mixer": "^6.0.3",
103-
"url-join": "^4.0.1"
102+
"url-join": "^4.0.1",
103+
"starknet-types-07": "npm:starknet-types@^0.7.2"
104104
},
105105
"lint-staged": {
106106
"*.ts": "eslint --cache --fix",

src/types/api/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export * as JRPC from './jsonrpc';
22

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

0 commit comments

Comments
 (0)