@polkadot/types-known 6.12.2-18 → 6.12.2-21
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/package.json +3 -24
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/bundle.d.ts +0 -3
- package/chain/index.d.ts +0 -3
- package/detectPackage.d.ts +0 -1
- package/index.d.ts +0 -2
- package/packageInfo.d.ts +0 -4
- package/spec/centrifuge-chain.d.ts +0 -3
- package/spec/index.d.ts +0 -3
- package/spec/kusama.d.ts +0 -3
- package/spec/node-template.d.ts +0 -3
- package/spec/node.d.ts +0 -3
- package/spec/polkadot.d.ts +0 -3
- package/spec/rococo.d.ts +0 -3
- package/spec/shell.d.ts +0 -3
- package/spec/statemint.d.ts +0 -3
- package/spec/westend.d.ts +0 -3
- package/upgrades/index.d.ts +0 -3
- package/upgrades/kusama.d.ts +0 -3
- package/upgrades/polkadot.d.ts +0 -3
- package/upgrades/types.d.ts +0 -1
- package/upgrades/westend.d.ts +0 -3
- package/util.d.ts +0 -27
package/package.json
CHANGED
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "6.12.2-
|
|
23
|
+
"version": "6.12.2-21",
|
|
24
24
|
"main": "index.js",
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@babel/runtime": "^7.16.5",
|
|
27
27
|
"@polkadot/networks": "^8.2.2",
|
|
28
|
-
"@polkadot/types": "6.12.2-
|
|
28
|
+
"@polkadot/types": "6.12.2-21",
|
|
29
29
|
"@polkadot/util": "^8.2.2"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
@@ -37,24 +37,19 @@
|
|
|
37
37
|
"require": "./bundle.cjs",
|
|
38
38
|
"default": "./bundle.js"
|
|
39
39
|
},
|
|
40
|
-
"./bundle.d.ts": "./bundle.d.ts",
|
|
41
40
|
"./chain": {
|
|
42
41
|
"require": "./chain/index.cjs",
|
|
43
42
|
"default": "./chain/index.js"
|
|
44
43
|
},
|
|
45
|
-
"./chain/index.d.ts": "./chain/index.d.ts",
|
|
46
44
|
"./detectPackage": {
|
|
47
45
|
"require": "./detectPackage.cjs",
|
|
48
46
|
"default": "./detectPackage.js"
|
|
49
47
|
},
|
|
50
|
-
"./detectPackage.d.ts": "./detectPackage.d.ts",
|
|
51
|
-
"./index.d.ts": "./index.d.ts",
|
|
52
48
|
"./package.json": "./package.json",
|
|
53
49
|
"./packageInfo": {
|
|
54
50
|
"require": "./packageInfo.cjs",
|
|
55
51
|
"default": "./packageInfo.js"
|
|
56
52
|
},
|
|
57
|
-
"./packageInfo.d.ts": "./packageInfo.d.ts",
|
|
58
53
|
"./README.md": "./README.md",
|
|
59
54
|
"./spec": {
|
|
60
55
|
"require": "./spec/index.cjs",
|
|
@@ -64,13 +59,10 @@
|
|
|
64
59
|
"require": "./spec/centrifuge-chain.cjs",
|
|
65
60
|
"default": "./spec/centrifuge-chain.js"
|
|
66
61
|
},
|
|
67
|
-
"./spec/centrifuge-chain.d.ts": "./spec/centrifuge-chain.d.ts",
|
|
68
|
-
"./spec/index.d.ts": "./spec/index.d.ts",
|
|
69
62
|
"./spec/kusama": {
|
|
70
63
|
"require": "./spec/kusama.cjs",
|
|
71
64
|
"default": "./spec/kusama.js"
|
|
72
65
|
},
|
|
73
|
-
"./spec/kusama.d.ts": "./spec/kusama.d.ts",
|
|
74
66
|
"./spec/node": {
|
|
75
67
|
"require": "./spec/node.cjs",
|
|
76
68
|
"default": "./spec/node.js"
|
|
@@ -79,62 +71,49 @@
|
|
|
79
71
|
"require": "./spec/node-template.cjs",
|
|
80
72
|
"default": "./spec/node-template.js"
|
|
81
73
|
},
|
|
82
|
-
"./spec/node-template.d.ts": "./spec/node-template.d.ts",
|
|
83
|
-
"./spec/node.d.ts": "./spec/node.d.ts",
|
|
84
74
|
"./spec/polkadot": {
|
|
85
75
|
"require": "./spec/polkadot.cjs",
|
|
86
76
|
"default": "./spec/polkadot.js"
|
|
87
77
|
},
|
|
88
|
-
"./spec/polkadot.d.ts": "./spec/polkadot.d.ts",
|
|
89
78
|
"./spec/rococo": {
|
|
90
79
|
"require": "./spec/rococo.cjs",
|
|
91
80
|
"default": "./spec/rococo.js"
|
|
92
81
|
},
|
|
93
|
-
"./spec/rococo.d.ts": "./spec/rococo.d.ts",
|
|
94
82
|
"./spec/shell": {
|
|
95
83
|
"require": "./spec/shell.cjs",
|
|
96
84
|
"default": "./spec/shell.js"
|
|
97
85
|
},
|
|
98
|
-
"./spec/shell.d.ts": "./spec/shell.d.ts",
|
|
99
86
|
"./spec/statemint": {
|
|
100
87
|
"require": "./spec/statemint.cjs",
|
|
101
88
|
"default": "./spec/statemint.js"
|
|
102
89
|
},
|
|
103
|
-
"./spec/statemint.d.ts": "./spec/statemint.d.ts",
|
|
104
90
|
"./spec/westend": {
|
|
105
91
|
"require": "./spec/westend.cjs",
|
|
106
92
|
"default": "./spec/westend.js"
|
|
107
93
|
},
|
|
108
|
-
"./spec/westend.d.ts": "./spec/westend.d.ts",
|
|
109
94
|
"./upgrades": {
|
|
110
95
|
"require": "./upgrades/index.cjs",
|
|
111
96
|
"default": "./upgrades/index.js"
|
|
112
97
|
},
|
|
113
|
-
"./upgrades/index.d.ts": "./upgrades/index.d.ts",
|
|
114
98
|
"./upgrades/kusama": {
|
|
115
99
|
"require": "./upgrades/kusama.cjs",
|
|
116
100
|
"default": "./upgrades/kusama.js"
|
|
117
101
|
},
|
|
118
|
-
"./upgrades/kusama.d.ts": "./upgrades/kusama.d.ts",
|
|
119
102
|
"./upgrades/polkadot": {
|
|
120
103
|
"require": "./upgrades/polkadot.cjs",
|
|
121
104
|
"default": "./upgrades/polkadot.js"
|
|
122
105
|
},
|
|
123
|
-
"./upgrades/polkadot.d.ts": "./upgrades/polkadot.d.ts",
|
|
124
106
|
"./upgrades/types": {
|
|
125
107
|
"require": "./upgrades/types.cjs",
|
|
126
108
|
"default": "./upgrades/types.js"
|
|
127
109
|
},
|
|
128
|
-
"./upgrades/types.d.ts": "./upgrades/types.d.ts",
|
|
129
110
|
"./upgrades/westend": {
|
|
130
111
|
"require": "./upgrades/westend.cjs",
|
|
131
112
|
"default": "./upgrades/westend.js"
|
|
132
113
|
},
|
|
133
|
-
"./upgrades/westend.d.ts": "./upgrades/westend.d.ts",
|
|
134
114
|
"./util": {
|
|
135
115
|
"require": "./util.cjs",
|
|
136
116
|
"default": "./util.js"
|
|
137
|
-
}
|
|
138
|
-
"./util.d.ts": "./util.d.ts"
|
|
117
|
+
}
|
|
139
118
|
}
|
|
140
119
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/bundle.d.ts
DELETED
package/chain/index.d.ts
DELETED
package/detectPackage.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/index.d.ts
DELETED
package/packageInfo.d.ts
DELETED
package/spec/index.d.ts
DELETED
package/spec/kusama.d.ts
DELETED
package/spec/node-template.d.ts
DELETED
package/spec/node.d.ts
DELETED
package/spec/polkadot.d.ts
DELETED
package/spec/rococo.d.ts
DELETED
package/spec/shell.d.ts
DELETED
package/spec/statemint.d.ts
DELETED
package/spec/westend.d.ts
DELETED
package/upgrades/index.d.ts
DELETED
package/upgrades/kusama.d.ts
DELETED
package/upgrades/polkadot.d.ts
DELETED
package/upgrades/types.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare type ChainUpgradesRaw = [number, number][];
|
package/upgrades/westend.d.ts
DELETED
package/util.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="bn.js" />
|
|
2
|
-
import type { ExtDef } from '@polkadot/types/extrinsic/signedExtensions/types';
|
|
3
|
-
import type { Hash } from '@polkadot/types/interfaces';
|
|
4
|
-
import type { ChainUpgradeVersion, CodecHasher, DefinitionRpc, DefinitionRpcSub, OverrideModuleType, Registry, RegistryTypes } from '@polkadot/types/types';
|
|
5
|
-
import type { Text } from '@polkadot/types-codec';
|
|
6
|
-
import type { BN } from '@polkadot/util';
|
|
7
|
-
/**
|
|
8
|
-
* @description Based on the chain and runtimeVersion, get the applicable signed extensions (ready for registration)
|
|
9
|
-
*/
|
|
10
|
-
export declare function getSpecExtensions({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): ExtDef;
|
|
11
|
-
/**
|
|
12
|
-
* @description Based on the chain and runtimeVersion, get the applicable types (ready for registration)
|
|
13
|
-
*/
|
|
14
|
-
export declare function getSpecTypes({ knownTypes }: Registry, chainName: Text | string, specName: Text | string, specVersion: bigint | BN | number): RegistryTypes;
|
|
15
|
-
export declare function getSpecHasher({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): CodecHasher | null;
|
|
16
|
-
/**
|
|
17
|
-
* @description Based on the chain and runtimeVersion, get the applicable rpc definitions (ready for registration)
|
|
18
|
-
*/
|
|
19
|
-
export declare function getSpecRpc({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): Record<string, Record<string, DefinitionRpc | DefinitionRpcSub>>;
|
|
20
|
-
/**
|
|
21
|
-
* @description Based on the chain and runtimeVersion, get the applicable alias definitions (ready for registration)
|
|
22
|
-
*/
|
|
23
|
-
export declare function getSpecAlias({ knownTypes }: Registry, chainName: Text | string, specName: Text | string): Record<string, OverrideModuleType>;
|
|
24
|
-
/**
|
|
25
|
-
* @description Returns a version record for known chains where upgrades are being tracked
|
|
26
|
-
*/
|
|
27
|
-
export declare function getUpgradeVersion(genesisHash: Hash, blockNumber: BN): [ChainUpgradeVersion | undefined, ChainUpgradeVersion | undefined];
|