@dedot/chaintypes 0.72.0 → 0.73.1-next.25bbf96b.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 (75) hide show
  1. package/aleph/consts.d.ts +1 -1
  2. package/aleph/events.d.ts +1 -1
  3. package/aleph/index.d.ts +8 -8
  4. package/aleph/query.d.ts +1 -1
  5. package/aleph/runtime.d.ts +1 -1
  6. package/aleph/tx.d.ts +1 -1
  7. package/astar/consts.d.ts +1 -1
  8. package/astar/events.d.ts +1 -1
  9. package/astar/index.d.ts +8 -8
  10. package/astar/query.d.ts +1 -1
  11. package/astar/runtime.d.ts +1 -1
  12. package/astar/tx.d.ts +1 -1
  13. package/kusama/consts.d.ts +1 -1
  14. package/kusama/events.d.ts +1 -1
  15. package/kusama/index.d.ts +8 -8
  16. package/kusama/query.d.ts +1 -1
  17. package/kusama/runtime.d.ts +1 -1
  18. package/kusama/tx.d.ts +1 -1
  19. package/kusama-asset-hub/consts.d.ts +1 -1
  20. package/kusama-asset-hub/events.d.ts +1 -1
  21. package/kusama-asset-hub/index.d.ts +8 -8
  22. package/kusama-asset-hub/query.d.ts +1 -1
  23. package/kusama-asset-hub/runtime.d.ts +1 -1
  24. package/kusama-asset-hub/tx.d.ts +1 -1
  25. package/moonbeam/consts.d.ts +1 -1
  26. package/moonbeam/events.d.ts +1 -1
  27. package/moonbeam/index.d.ts +8 -8
  28. package/moonbeam/query.d.ts +1 -1
  29. package/moonbeam/runtime.d.ts +1 -1
  30. package/moonbeam/tx.d.ts +1 -1
  31. package/package.json +2 -2
  32. package/paseo/consts.d.ts +1 -1
  33. package/paseo/events.d.ts +1 -1
  34. package/paseo/index.d.ts +8 -8
  35. package/paseo/query.d.ts +1 -1
  36. package/paseo/runtime.d.ts +1 -1
  37. package/paseo/tx.d.ts +1 -1
  38. package/polkadot/consts.d.ts +1 -1
  39. package/polkadot/events.d.ts +1 -1
  40. package/polkadot/index.d.ts +8 -8
  41. package/polkadot/query.d.ts +1 -1
  42. package/polkadot/runtime.d.ts +1 -1
  43. package/polkadot/tx.d.ts +1 -1
  44. package/polkadot-asset-hub/consts.d.ts +35 -1
  45. package/polkadot-asset-hub/errors.d.ts +45 -0
  46. package/polkadot-asset-hub/events.d.ts +38 -1
  47. package/polkadot-asset-hub/index.d.ts +9 -9
  48. package/polkadot-asset-hub/query.d.ts +40 -1
  49. package/polkadot-asset-hub/runtime.d.ts +1 -1
  50. package/polkadot-asset-hub/tx.d.ts +189 -1
  51. package/polkadot-asset-hub/types.d.ts +239 -5
  52. package/substrate/consts.d.ts +1 -1
  53. package/substrate/events.d.ts +1 -1
  54. package/substrate/index.d.ts +8 -8
  55. package/substrate/query.d.ts +1 -1
  56. package/substrate/runtime.d.ts +1 -1
  57. package/substrate/tx.d.ts +1 -1
  58. package/westend/consts.d.ts +1 -1
  59. package/westend/events.d.ts +1 -1
  60. package/westend/index.d.ts +8 -8
  61. package/westend/query.d.ts +1 -1
  62. package/westend/runtime.d.ts +1 -1
  63. package/westend/tx.d.ts +1 -1
  64. package/westend-asset-hub/consts.d.ts +1 -1
  65. package/westend-asset-hub/events.d.ts +1 -1
  66. package/westend-asset-hub/index.d.ts +8 -8
  67. package/westend-asset-hub/query.d.ts +1 -1
  68. package/westend-asset-hub/runtime.d.ts +1 -1
  69. package/westend-asset-hub/tx.d.ts +1 -1
  70. package/westend-people/consts.d.ts +1 -1
  71. package/westend-people/events.d.ts +1 -1
  72. package/westend-people/index.d.ts +8 -8
  73. package/westend-people/query.d.ts +1 -1
  74. package/westend-people/runtime.d.ts +1 -1
  75. package/westend-people/tx.d.ts +1 -1
package/aleph/consts.d.ts CHANGED
@@ -10,7 +10,7 @@ import type {
10
10
  FrameSupportPalletId,
11
11
  PalletContractsSchedule,
12
12
  PalletContractsEnvironment,
13
- } from './types';
13
+ } from './types.js';
14
14
 
15
15
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
16
16
  /**
package/aleph/events.d.ts CHANGED
@@ -20,7 +20,7 @@ import type {
20
20
  PrimitivesBanInfo,
21
21
  AlephRuntimeProxyType,
22
22
  PalletSafeModeExitReason,
23
- } from './types';
23
+ } from './types.js';
24
24
 
25
25
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
26
26
  /**
package/aleph/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedAlephApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
package/aleph/query.d.ts CHANGED
@@ -75,7 +75,7 @@ import type {
75
75
  PrimitivesFinalityBanConfig,
76
76
  PalletProxyProxyDefinition,
77
77
  PalletProxyAnnouncement,
78
- } from './types';
78
+ } from './types.js';
79
79
 
80
80
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
81
81
  /**
@@ -42,7 +42,7 @@ import type {
42
42
  PalletContractsPrimitivesCodeUploadReturnValue,
43
43
  PalletContractsWasmDeterminism,
44
44
  PalletContractsPrimitivesContractAccessError,
45
- } from './types';
45
+ } from './types.js';
46
46
 
47
47
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
48
48
  /**
package/aleph/tx.d.ts CHANGED
@@ -54,7 +54,7 @@ import type {
54
54
  PalletIdentityLegacyIdentityInfo,
55
55
  PalletIdentityJudgement,
56
56
  AlephRuntimeProxyType,
57
- } from './types';
57
+ } from './types.js';
58
58
 
59
59
  export type ChainSubmittableExtrinsic<
60
60
  Rv extends RpcVersion,
package/astar/consts.d.ts CHANGED
@@ -13,7 +13,7 @@ import type {
13
13
  PalletContractsEnvironment,
14
14
  PalletContractsApiVersion,
15
15
  FrameSupportPalletId,
16
- } from './types';
16
+ } from './types.js';
17
17
 
18
18
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
19
19
  /**
package/astar/events.d.ts CHANGED
@@ -41,7 +41,7 @@ import type {
41
41
  PalletDemocracyVoteThreshold,
42
42
  PalletDemocracyVoteAccountVote,
43
43
  PalletDemocracyMetadataOwner,
44
- } from './types';
44
+ } from './types.js';
45
45
 
46
46
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
47
47
  /**
package/astar/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedAstarApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
package/astar/query.d.ts CHANGED
@@ -108,7 +108,7 @@ import type {
108
108
  PalletDemocracyMetadataOwner,
109
109
  PalletTreasuryProposal,
110
110
  PalletMigrationsMigrationCursor,
111
- } from './types';
111
+ } from './types.js';
112
112
 
113
113
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
114
114
  /**
@@ -56,7 +56,7 @@ import type {
56
56
  XcmRuntimeApisDryRunError,
57
57
  AstarRuntimeOriginCaller,
58
58
  XcmRuntimeApisDryRunXcmDryRunEffects,
59
- } from './types';
59
+ } from './types.js';
60
60
 
61
61
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
62
62
  /**
package/astar/tx.d.ts CHANGED
@@ -58,7 +58,7 @@ import type {
58
58
  PalletDemocracyMetadataOwner,
59
59
  PalletMigrationsMigrationCursor,
60
60
  PalletMigrationsHistoricCleanupSelector,
61
- } from './types';
61
+ } from './types.js';
62
62
 
63
63
  export type ChainSubmittableExtrinsic<
64
64
  Rv extends RpcVersion,
@@ -10,7 +10,7 @@ import type {
10
10
  PalletReferendaTrackInfo,
11
11
  SpWeightsWeightV2Weight,
12
12
  StagingXcmV4Junctions,
13
- } from './types';
13
+ } from './types.js';
14
14
 
15
15
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
16
16
  /**
@@ -60,7 +60,7 @@ import type {
60
60
  XcmV3TraitsError,
61
61
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
62
62
  FrameSupportMessagesProcessMessageError,
63
- } from './types';
63
+ } from './types.js';
64
64
 
65
65
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
66
66
  /**
package/kusama/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedKusamaApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
package/kusama/query.d.ts CHANGED
@@ -156,7 +156,7 @@ import type {
156
156
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
157
157
  SpConsensusBeefyEcdsaCryptoPublic,
158
158
  SpConsensusBeefyMmrBeefyAuthoritySet,
159
- } from './types';
159
+ } from './types.js';
160
160
 
161
161
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
162
162
  /**
@@ -87,7 +87,7 @@ import type {
87
87
  StagingKusamaRuntimeOriginCaller,
88
88
  XcmRuntimeApisDryRunXcmDryRunEffects,
89
89
  XcmRuntimeApisConversionsError,
90
- } from './types';
90
+ } from './types.js';
91
91
 
92
92
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
93
93
  /**
package/kusama/tx.d.ts CHANGED
@@ -93,7 +93,7 @@ import type {
93
93
  SpConsensusBeefyDoubleVotingProof,
94
94
  SpConsensusBeefyForkVotingProof,
95
95
  SpConsensusBeefyFutureBlockVotingProof,
96
- } from './types';
96
+ } from './types.js';
97
97
 
98
98
  export type ChainSubmittableExtrinsic<
99
99
  Rv extends RpcVersion,
@@ -11,7 +11,7 @@ import type {
11
11
  PalletNftsBitFlagsPalletFeature,
12
12
  FrameSupportPalletId,
13
13
  StagingXcmV4Location,
14
- } from './types';
14
+ } from './types.js';
15
15
 
16
16
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
17
17
  /**
@@ -32,7 +32,7 @@ import type {
32
32
  PalletNftsPalletAttributes,
33
33
  PalletStateTrieMigrationMigrationCompute,
34
34
  PalletStateTrieMigrationError,
35
- } from './types';
35
+ } from './types.js';
36
36
 
37
37
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
38
38
  /**
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedKusamaAssetHubApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
@@ -81,7 +81,7 @@ import type {
81
81
  PalletAssetConversionPoolInfo,
82
82
  PalletStateTrieMigrationMigrationTask,
83
83
  PalletStateTrieMigrationMigrationLimits,
84
- } from './types';
84
+ } from './types.js';
85
85
 
86
86
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
87
87
  /**
@@ -44,7 +44,7 @@ import type {
44
44
  XcmRuntimeApisConversionsError,
45
45
  AssetsCommonRuntimeApiFungiblesAccessError,
46
46
  CumulusPrimitivesCoreCollationInfo,
47
- } from './types';
47
+ } from './types.js';
48
48
 
49
49
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
50
50
  /**
@@ -48,7 +48,7 @@ import type {
48
48
  PalletStateTrieMigrationMigrationLimits,
49
49
  PalletStateTrieMigrationMigrationTask,
50
50
  PalletStateTrieMigrationProgress,
51
- } from './types';
51
+ } from './types.js';
52
52
 
53
53
  export type ChainSubmittableExtrinsic<
54
54
  Rv extends RpcVersion,
@@ -11,7 +11,7 @@ import type {
11
11
  PalletReferendaTrackInfo,
12
12
  FrameSupportPalletId,
13
13
  StagingXcmV4Location,
14
- } from './types';
14
+ } from './types.js';
15
15
 
16
16
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
17
17
  /**
@@ -47,7 +47,7 @@ import type {
47
47
  PalletXcmTransactorHrmpOperation,
48
48
  CumulusPrimitivesCoreAggregateMessageOrigin,
49
49
  FrameSupportMessagesProcessMessageError,
50
- } from './types';
50
+ } from './types.js';
51
51
 
52
52
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
53
53
  /**
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedMoonbeamApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
@@ -107,7 +107,7 @@ import type {
107
107
  PalletRandomnessRequestState,
108
108
  PalletRandomnessRandomnessResult,
109
109
  PalletRandomnessRequestType,
110
- } from './types';
110
+ } from './types.js';
111
111
 
112
112
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
113
113
  /**
@@ -52,7 +52,7 @@ import type {
52
52
  MoonbeamRuntimeRuntimeCallLike,
53
53
  XcmRuntimeApisDryRunXcmDryRunEffects,
54
54
  XcmRuntimeApisConversionsError,
55
- } from './types';
55
+ } from './types.js';
56
56
 
57
57
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
58
58
  /**
package/moonbeam/tx.d.ts CHANGED
@@ -60,7 +60,7 @@ import type {
60
60
  PalletXcmTransactorHrmpOperation,
61
61
  XcmPrimitivesEthereumXcmEthereumXcmTransaction,
62
62
  CumulusPrimitivesCoreAggregateMessageOrigin,
63
- } from './types';
63
+ } from './types.js';
64
64
 
65
65
  export type ChainSubmittableExtrinsic<
66
66
  Rv extends RpcVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dedot/chaintypes",
3
- "version": "0.72.0",
3
+ "version": "0.73.1-next.25bbf96b.0+25bbf96",
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": "cf860568f0e7ec8b51e4469dfdc1f4666ecaa673",
22
+ "gitHead": "25bbf96bbb84969caebbca2eacc02681a9093bc9",
23
23
  "module": "./index.js",
24
24
  "types": "./index.d.ts"
25
25
  }
package/paseo/consts.d.ts CHANGED
@@ -10,7 +10,7 @@ import type {
10
10
  FrameSupportPalletId,
11
11
  PalletReferendaTrackInfo,
12
12
  StagingXcmV4Junctions,
13
- } from './types';
13
+ } from './types.js';
14
14
 
15
15
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
16
16
  /**
package/paseo/events.d.ts CHANGED
@@ -58,7 +58,7 @@ import type {
58
58
  XcmV3TraitsError,
59
59
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
60
60
  FrameSupportMessagesProcessMessageError,
61
- } from './types';
61
+ } from './types.js';
62
62
 
63
63
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
64
64
  /**
package/paseo/index.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedPaseoApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
package/paseo/query.d.ts CHANGED
@@ -141,7 +141,7 @@ import type {
141
141
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
142
142
  SpConsensusBeefyEcdsaCryptoPublic,
143
143
  SpConsensusBeefyMmrBeefyAuthoritySet,
144
- } from './types';
144
+ } from './types.js';
145
145
 
146
146
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
147
147
  /**
@@ -87,7 +87,7 @@ import type {
87
87
  PaseoRuntimeOriginCaller,
88
88
  XcmRuntimeApisDryRunXcmDryRunEffects,
89
89
  XcmRuntimeApisConversionsError,
90
- } from './types';
90
+ } from './types.js';
91
91
 
92
92
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
93
93
  /**
package/paseo/tx.d.ts CHANGED
@@ -96,7 +96,7 @@ import type {
96
96
  SpConsensusBeefyForkVotingProof,
97
97
  SpConsensusBeefyFutureBlockVotingProof,
98
98
  PolkadotRuntimeParachainsParasParaGenesisArgs,
99
- } from './types';
99
+ } from './types.js';
100
100
 
101
101
  export type ChainSubmittableExtrinsic<
102
102
  Rv extends RpcVersion,
@@ -10,7 +10,7 @@ import type {
10
10
  FrameSupportPalletId,
11
11
  PalletReferendaTrackInfo,
12
12
  StagingXcmV4Junctions,
13
- } from './types';
13
+ } from './types.js';
14
14
 
15
15
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
16
16
  /**
@@ -56,7 +56,7 @@ import type {
56
56
  XcmV3TraitsError,
57
57
  PolkadotRuntimeParachainsInclusionAggregateMessageOrigin,
58
58
  FrameSupportMessagesProcessMessageError,
59
- } from './types';
59
+ } from './types.js';
60
60
 
61
61
  export interface ChainEvents<Rv extends RpcVersion> extends GenericChainEvents<Rv> {
62
62
  /**
@@ -1,15 +1,15 @@
1
1
  // Generated by dedot cli
2
2
 
3
3
  import type { GenericSubstrateApi, RpcLegacy, RpcV2, RpcVersion } from 'dedot/types';
4
- import { ChainConsts } from './consts';
5
- import { ChainStorage } from './query';
6
- import { ChainJsonRpcApis } from './json-rpc';
7
- import { ChainErrors } from './errors';
8
- import { ChainEvents } from './events';
9
- import { RuntimeApis } from './runtime';
10
- import { ChainTx } from './tx';
4
+ import { ChainConsts } from './consts.js';
5
+ import { ChainStorage } from './query.js';
6
+ import { ChainJsonRpcApis } from './json-rpc.js';
7
+ import { ChainErrors } from './errors.js';
8
+ import { ChainEvents } from './events.js';
9
+ import { RuntimeApis } from './runtime.js';
10
+ import { ChainTx } from './tx.js';
11
11
 
12
- export * from './types';
12
+ export * from './types.js';
13
13
 
14
14
  export interface VersionedPolkadotApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
15
15
  rpc: ChainJsonRpcApis<Rv>;
@@ -139,7 +139,7 @@ import type {
139
139
  PolkadotRuntimeCommonImplsVersionedLocatableAsset,
140
140
  SpConsensusBeefyEcdsaCryptoPublic,
141
141
  SpConsensusBeefyMmrBeefyAuthoritySet,
142
- } from './types';
142
+ } from './types.js';
143
143
 
144
144
  export interface ChainStorage<Rv extends RpcVersion> extends GenericChainStorage<Rv> {
145
145
  /**
@@ -87,7 +87,7 @@ import type {
87
87
  PolkadotRuntimeOriginCaller,
88
88
  XcmRuntimeApisDryRunXcmDryRunEffects,
89
89
  XcmRuntimeApisConversionsError,
90
- } from './types';
90
+ } from './types.js';
91
91
 
92
92
  export interface RuntimeApis<Rv extends RpcVersion> extends GenericRuntimeApis<Rv> {
93
93
  /**
package/polkadot/tx.d.ts CHANGED
@@ -94,7 +94,7 @@ import type {
94
94
  SpConsensusBeefyDoubleVotingProof,
95
95
  SpConsensusBeefyForkVotingProof,
96
96
  SpConsensusBeefyFutureBlockVotingProof,
97
- } from './types';
97
+ } from './types.js';
98
98
 
99
99
  export type ChainSubmittableExtrinsic<
100
100
  Rv extends RpcVersion,
@@ -11,7 +11,7 @@ import type {
11
11
  PalletNftsBitFlagsPalletFeature,
12
12
  StagingXcmV4Location,
13
13
  FrameSupportPalletId,
14
- } from './types';
14
+ } from './types.js';
15
15
 
16
16
  export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<Rv> {
17
17
  /**
@@ -771,6 +771,40 @@ export interface ChainConsts<Rv extends RpcVersion> extends GenericChainConsts<R
771
771
  **/
772
772
  palletId: FrameSupportPalletId;
773
773
 
774
+ /**
775
+ * Generic pallet constant
776
+ **/
777
+ [name: string]: any;
778
+ };
779
+ /**
780
+ * Pallet `StateTrieMigration`'s constants
781
+ **/
782
+ stateTrieMigration: {
783
+ /**
784
+ * Maximal number of bytes that a key can have.
785
+ *
786
+ * FRAME itself does not limit the key length.
787
+ * The concrete value must therefore depend on your storage usage.
788
+ * A [`frame_support::storage::StorageNMap`] for example can have an arbitrary number of
789
+ * keys which are then hashed and concatenated, resulting in arbitrarily long keys.
790
+ *
791
+ * Use the *state migration RPC* to retrieve the length of the longest key in your
792
+ * storage: <https://github.com/paritytech/substrate/issues/11642>
793
+ *
794
+ * The migration will halt with a `Halted` event if this value is too small.
795
+ * Since there is no real penalty from over-estimating, it is advised to use a large
796
+ * value. The default is 512 byte.
797
+ *
798
+ * Some key lengths for reference:
799
+ * - [`frame_support::storage::StorageValue`]: 32 byte
800
+ * - [`frame_support::storage::StorageMap`]: 64 byte
801
+ * - [`frame_support::storage::StorageDoubleMap`]: 96 byte
802
+ *
803
+ * For more info see
804
+ * <https://www.shawntabrizi.com/blog/substrate/querying-substrate-storage-via-rpc/>
805
+ **/
806
+ maxKeyLen: number;
807
+
774
808
  /**
775
809
  * Generic pallet constant
776
810
  **/