@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.
- package/aleph/consts.d.ts +1 -1
- package/aleph/events.d.ts +1 -1
- package/aleph/index.d.ts +8 -8
- package/aleph/query.d.ts +1 -1
- package/aleph/runtime.d.ts +1 -1
- package/aleph/tx.d.ts +1 -1
- package/astar/consts.d.ts +1 -1
- package/astar/events.d.ts +1 -1
- package/astar/index.d.ts +8 -8
- package/astar/query.d.ts +1 -1
- package/astar/runtime.d.ts +1 -1
- package/astar/tx.d.ts +1 -1
- package/kusama/consts.d.ts +1 -1
- package/kusama/events.d.ts +1 -1
- package/kusama/index.d.ts +8 -8
- package/kusama/query.d.ts +1 -1
- package/kusama/runtime.d.ts +1 -1
- package/kusama/tx.d.ts +1 -1
- package/kusama-asset-hub/consts.d.ts +1 -1
- package/kusama-asset-hub/events.d.ts +1 -1
- package/kusama-asset-hub/index.d.ts +8 -8
- package/kusama-asset-hub/query.d.ts +1 -1
- package/kusama-asset-hub/runtime.d.ts +1 -1
- package/kusama-asset-hub/tx.d.ts +1 -1
- package/moonbeam/consts.d.ts +1 -1
- package/moonbeam/events.d.ts +1 -1
- package/moonbeam/index.d.ts +8 -8
- package/moonbeam/query.d.ts +1 -1
- package/moonbeam/runtime.d.ts +1 -1
- package/moonbeam/tx.d.ts +1 -1
- package/package.json +2 -2
- package/paseo/consts.d.ts +1 -1
- package/paseo/events.d.ts +1 -1
- package/paseo/index.d.ts +8 -8
- package/paseo/query.d.ts +1 -1
- package/paseo/runtime.d.ts +1 -1
- package/paseo/tx.d.ts +1 -1
- package/polkadot/consts.d.ts +1 -1
- package/polkadot/events.d.ts +1 -1
- package/polkadot/index.d.ts +8 -8
- package/polkadot/query.d.ts +1 -1
- package/polkadot/runtime.d.ts +1 -1
- package/polkadot/tx.d.ts +1 -1
- package/polkadot-asset-hub/consts.d.ts +35 -1
- package/polkadot-asset-hub/errors.d.ts +45 -0
- package/polkadot-asset-hub/events.d.ts +38 -1
- package/polkadot-asset-hub/index.d.ts +9 -9
- package/polkadot-asset-hub/query.d.ts +40 -1
- package/polkadot-asset-hub/runtime.d.ts +1 -1
- package/polkadot-asset-hub/tx.d.ts +189 -1
- package/polkadot-asset-hub/types.d.ts +239 -5
- package/substrate/consts.d.ts +1 -1
- package/substrate/events.d.ts +1 -1
- package/substrate/index.d.ts +8 -8
- package/substrate/query.d.ts +1 -1
- package/substrate/runtime.d.ts +1 -1
- package/substrate/tx.d.ts +1 -1
- package/westend/consts.d.ts +1 -1
- package/westend/events.d.ts +1 -1
- package/westend/index.d.ts +8 -8
- package/westend/query.d.ts +1 -1
- package/westend/runtime.d.ts +1 -1
- package/westend/tx.d.ts +1 -1
- package/westend-asset-hub/consts.d.ts +1 -1
- package/westend-asset-hub/events.d.ts +1 -1
- package/westend-asset-hub/index.d.ts +8 -8
- package/westend-asset-hub/query.d.ts +1 -1
- package/westend-asset-hub/runtime.d.ts +1 -1
- package/westend-asset-hub/tx.d.ts +1 -1
- package/westend-people/consts.d.ts +1 -1
- package/westend-people/events.d.ts +1 -1
- package/westend-people/index.d.ts +8 -8
- package/westend-people/query.d.ts +1 -1
- package/westend-people/runtime.d.ts +1 -1
- package/westend-people/tx.d.ts +1 -1
package/aleph/consts.d.ts
CHANGED
package/aleph/events.d.ts
CHANGED
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
package/aleph/runtime.d.ts
CHANGED
|
@@ -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
package/astar/consts.d.ts
CHANGED
package/astar/events.d.ts
CHANGED
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
|
/**
|
package/astar/runtime.d.ts
CHANGED
package/astar/tx.d.ts
CHANGED
package/kusama/consts.d.ts
CHANGED
package/kusama/events.d.ts
CHANGED
|
@@ -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
|
/**
|
package/kusama/runtime.d.ts
CHANGED
|
@@ -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
|
@@ -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
|
/**
|
package/kusama-asset-hub/tx.d.ts
CHANGED
package/moonbeam/consts.d.ts
CHANGED
package/moonbeam/events.d.ts
CHANGED
|
@@ -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
|
/**
|
package/moonbeam/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 VersionedMoonbeamApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
15
15
|
rpc: ChainJsonRpcApis<Rv>;
|
package/moonbeam/query.d.ts
CHANGED
|
@@ -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
|
/**
|
package/moonbeam/runtime.d.ts
CHANGED
|
@@ -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.
|
|
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": "
|
|
22
|
+
"gitHead": "25bbf96bbb84969caebbca2eacc02681a9093bc9",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts"
|
|
25
25
|
}
|
package/paseo/consts.d.ts
CHANGED
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
|
/**
|
package/paseo/runtime.d.ts
CHANGED
|
@@ -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,
|
package/polkadot/consts.d.ts
CHANGED
package/polkadot/events.d.ts
CHANGED
|
@@ -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
|
/**
|
package/polkadot/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 VersionedPolkadotApi<Rv extends RpcVersion> extends GenericSubstrateApi<Rv> {
|
|
15
15
|
rpc: ChainJsonRpcApis<Rv>;
|
package/polkadot/query.d.ts
CHANGED
|
@@ -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
|
/**
|
package/polkadot/runtime.d.ts
CHANGED
|
@@ -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
|
@@ -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
|
**/
|