@dedot/chaintypes 0.11.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/index.d.ts +5 -5
  2. package/index.ts +5 -5
  3. package/moonbeam/json-rpc.d.ts +12 -9
  4. package/package.json +2 -2
  5. package/kusamaAssetHub/consts.d.ts +0 -765
  6. package/kusamaAssetHub/errors.d.ts +0 -1529
  7. package/kusamaAssetHub/events.d.ts +0 -2443
  8. package/kusamaAssetHub/index.d.ts +0 -27
  9. package/kusamaAssetHub/json-rpc.d.ts +0 -90
  10. package/kusamaAssetHub/query.d.ts +0 -1677
  11. package/kusamaAssetHub/runtime.d.ts +0 -555
  12. package/kusamaAssetHub/tx.d.ts +0 -6364
  13. package/kusamaAssetHub/types.d.ts +0 -6921
  14. package/polkadotAssetHub/consts.d.ts +0 -730
  15. package/polkadotAssetHub/errors.d.ts +0 -1500
  16. package/polkadotAssetHub/events.d.ts +0 -2414
  17. package/polkadotAssetHub/index.d.ts +0 -27
  18. package/polkadotAssetHub/json-rpc.d.ts +0 -90
  19. package/polkadotAssetHub/query.d.ts +0 -1655
  20. package/polkadotAssetHub/runtime.d.ts +0 -558
  21. package/polkadotAssetHub/tx.d.ts +0 -6293
  22. package/polkadotAssetHub/types.d.ts +0 -6829
  23. package/rococoAssetHub/consts.d.ts +0 -835
  24. package/rococoAssetHub/errors.d.ts +0 -1590
  25. package/rococoAssetHub/events.d.ts +0 -2573
  26. package/rococoAssetHub/index.d.ts +0 -27
  27. package/rococoAssetHub/json-rpc.d.ts +0 -90
  28. package/rococoAssetHub/query.d.ts +0 -1829
  29. package/rococoAssetHub/runtime.d.ts +0 -726
  30. package/rococoAssetHub/tx.d.ts +0 -9011
  31. package/rococoAssetHub/types.d.ts +0 -12431
  32. package/westendAssetHub/consts.d.ts +0 -869
  33. package/westendAssetHub/errors.d.ts +0 -1635
  34. package/westendAssetHub/events.d.ts +0 -2610
  35. package/westendAssetHub/index.d.ts +0 -27
  36. package/westendAssetHub/json-rpc.d.ts +0 -90
  37. package/westendAssetHub/query.d.ts +0 -1868
  38. package/westendAssetHub/runtime.d.ts +0 -798
  39. package/westendAssetHub/tx.d.ts +0 -9199
  40. package/westendAssetHub/types.d.ts +0 -12661
  41. package/westendPeople/consts.d.ts +0 -434
  42. package/westendPeople/errors.d.ts +0 -769
  43. package/westendPeople/events.d.ts +0 -1082
  44. package/westendPeople/index.d.ts +0 -27
  45. package/westendPeople/json-rpc.d.ts +0 -89
  46. package/westendPeople/query.d.ts +0 -1209
  47. package/westendPeople/runtime.d.ts +0 -636
  48. package/westendPeople/tx.d.ts +0 -2891
  49. package/westendPeople/types.d.ts +0 -4984
package/index.d.ts CHANGED
@@ -3,12 +3,12 @@ export type { PolkadotApi } from './polkadot';
3
3
  export type { KusamaApi } from './kusama';
4
4
  export type { MoonbeamApi } from './moonbeam';
5
5
  export type { AstarApi } from './astar';
6
- export type { KusamaAssetHubApi } from './kusamaAssetHub';
6
+ export type { KusamaAssetHubApi } from './kusama-asset-hub';
7
7
  export type { AlephApi } from './aleph';
8
- export type { PolkadotAssetHubApi } from './polkadotAssetHub';
8
+ export type { PolkadotAssetHubApi } from './polkadot-asset-hub';
9
9
  export type { RococoApi } from './rococo';
10
- export type { RococoAssetHubApi } from './rococoAssetHub';
10
+ export type { RococoAssetHubApi } from './rococo-asset-hub';
11
11
  export type { WestendApi } from './westend';
12
- export type { WestendPeopleApi } from './westendPeople';
13
- export type { WestendAssetHubApi } from './westendAssetHub';
12
+ export type { WestendPeopleApi } from './westend-people';
13
+ export type { WestendAssetHubApi } from './westend-asset-hub';
14
14
  export type { PaseoApi } from './paseo';
package/index.ts CHANGED
@@ -3,12 +3,12 @@ export type { PolkadotApi } from './polkadot';
3
3
  export type { KusamaApi } from './kusama';
4
4
  export type { MoonbeamApi } from './moonbeam';
5
5
  export type { AstarApi } from './astar';
6
- export type { KusamaAssetHubApi } from './kusamaAssetHub';
6
+ export type { KusamaAssetHubApi } from './kusama-asset-hub';
7
7
  export type { AlephApi } from './aleph';
8
- export type { PolkadotAssetHubApi } from './polkadotAssetHub';
8
+ export type { PolkadotAssetHubApi } from './polkadot-asset-hub';
9
9
  export type { RococoApi } from './rococo';
10
- export type { RococoAssetHubApi } from './rococoAssetHub';
10
+ export type { RococoAssetHubApi } from './rococo-asset-hub';
11
11
  export type { WestendApi } from './westend';
12
- export type { WestendPeopleApi } from './westendPeople';
13
- export type { WestendAssetHubApi } from './westendAssetHub';
12
+ export type { WestendPeopleApi } from './westend-people';
13
+ export type { WestendAssetHubApi } from './westend-asset-hub';
14
14
  export type { PaseoApi } from './paseo';
@@ -20,14 +20,14 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
20
20
  | 'author_rotateKeys'
21
21
  | 'author_submitAndWatchExtrinsic'
22
22
  | 'author_submitExtrinsic'
23
- | 'chainHead_unstable_body'
24
- | 'chainHead_unstable_call'
25
- | 'chainHead_unstable_continue'
26
- | 'chainHead_unstable_follow'
27
- | 'chainHead_unstable_header'
28
- | 'chainHead_unstable_stopOperation'
29
- | 'chainHead_unstable_storage'
30
- | 'chainHead_unstable_unpin'
23
+ | 'chainHead_v1_body'
24
+ | 'chainHead_v1_call'
25
+ | 'chainHead_v1_continue'
26
+ | 'chainHead_v1_follow'
27
+ | 'chainHead_v1_header'
28
+ | 'chainHead_v1_stopOperation'
29
+ | 'chainHead_v1_storage'
30
+ | 'chainHead_v1_unpin'
31
31
  | 'chain_getBlock'
32
32
  | 'chain_getBlockHash'
33
33
  | 'chain_getFinalizedHead'
@@ -85,6 +85,7 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
85
85
  | 'eth_syncing'
86
86
  | 'eth_uninstallFilter'
87
87
  | 'eth_unsubscribe'
88
+ | 'moon_getLatestBlockHash'
88
89
  | 'moon_isBlockFinalized'
89
90
  | 'moon_isTxFinalized'
90
91
  | 'net_listening'
@@ -130,7 +131,9 @@ export type ChainJsonRpcApis<Rv extends RpcVersion> = Pick<
130
131
  | 'system_syncState'
131
132
  | 'system_unstable_networkState'
132
133
  | 'system_version'
133
- | 'transactionWatch_unstable_submitAndWatch'
134
+ | 'transactionWatch_v1_submitAndWatch'
135
+ | 'transaction_v1_broadcast'
136
+ | 'transaction_v1_stop'
134
137
  | 'web3_clientVersion'
135
138
  | 'web3_sha3'
136
139
  > &
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Types for substrate-based chains",
5
5
  "author": "Thang X. Vu <thang@coongcrafts.io>",
6
6
  "main": "",
@@ -19,7 +19,7 @@
19
19
  "directory": "dist"
20
20
  },
21
21
  "license": "Apache-2.0",
22
- "gitHead": "9bcbe052bdb9525f37991edefce535583ecdb007",
22
+ "gitHead": "a13655e8a823772147ecd2ccf6d9b28197c223d1",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts"
25
25
  }