Skip to content

Commit

Permalink
refactor(spec): extract and import rpc spec types from starknet-types
Browse files Browse the repository at this point in the history
  • Loading branch information
tabaktoni committed Apr 19, 2024
1 parent 23c5fd6 commit 933db42
Show file tree
Hide file tree
Showing 16 changed files with 106 additions and 1,309 deletions.
55 changes: 50 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "file:~/Work/types-js/ldist"
},
"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';
Loading

0 comments on commit 933db42

Please sign in to comment.