@polkadot/types-known 6.12.2-19 → 6.12.2-22
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 +4 -24
- package/packageInfo.cjs +1 -1
- package/packageInfo.js +1 -1
- package/upgrades/polkadot.cjs +1 -1
- package/upgrades/polkadot.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,13 @@
|
|
|
20
20
|
"./detectPackage.cjs"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "6.12.2-
|
|
23
|
+
"version": "6.12.2-22",
|
|
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-22",
|
|
29
|
+
"@polkadot/types-create": "6.12.2-22",
|
|
29
30
|
"@polkadot/util": "^8.2.2"
|
|
30
31
|
},
|
|
31
32
|
"exports": {
|
|
@@ -37,24 +38,19 @@
|
|
|
37
38
|
"require": "./bundle.cjs",
|
|
38
39
|
"default": "./bundle.js"
|
|
39
40
|
},
|
|
40
|
-
"./bundle.d.ts": "./bundle.d.ts",
|
|
41
41
|
"./chain": {
|
|
42
42
|
"require": "./chain/index.cjs",
|
|
43
43
|
"default": "./chain/index.js"
|
|
44
44
|
},
|
|
45
|
-
"./chain/index.d.ts": "./chain/index.d.ts",
|
|
46
45
|
"./detectPackage": {
|
|
47
46
|
"require": "./detectPackage.cjs",
|
|
48
47
|
"default": "./detectPackage.js"
|
|
49
48
|
},
|
|
50
|
-
"./detectPackage.d.ts": "./detectPackage.d.ts",
|
|
51
|
-
"./index.d.ts": "./index.d.ts",
|
|
52
49
|
"./package.json": "./package.json",
|
|
53
50
|
"./packageInfo": {
|
|
54
51
|
"require": "./packageInfo.cjs",
|
|
55
52
|
"default": "./packageInfo.js"
|
|
56
53
|
},
|
|
57
|
-
"./packageInfo.d.ts": "./packageInfo.d.ts",
|
|
58
54
|
"./README.md": "./README.md",
|
|
59
55
|
"./spec": {
|
|
60
56
|
"require": "./spec/index.cjs",
|
|
@@ -64,13 +60,10 @@
|
|
|
64
60
|
"require": "./spec/centrifuge-chain.cjs",
|
|
65
61
|
"default": "./spec/centrifuge-chain.js"
|
|
66
62
|
},
|
|
67
|
-
"./spec/centrifuge-chain.d.ts": "./spec/centrifuge-chain.d.ts",
|
|
68
|
-
"./spec/index.d.ts": "./spec/index.d.ts",
|
|
69
63
|
"./spec/kusama": {
|
|
70
64
|
"require": "./spec/kusama.cjs",
|
|
71
65
|
"default": "./spec/kusama.js"
|
|
72
66
|
},
|
|
73
|
-
"./spec/kusama.d.ts": "./spec/kusama.d.ts",
|
|
74
67
|
"./spec/node": {
|
|
75
68
|
"require": "./spec/node.cjs",
|
|
76
69
|
"default": "./spec/node.js"
|
|
@@ -79,62 +72,49 @@
|
|
|
79
72
|
"require": "./spec/node-template.cjs",
|
|
80
73
|
"default": "./spec/node-template.js"
|
|
81
74
|
},
|
|
82
|
-
"./spec/node-template.d.ts": "./spec/node-template.d.ts",
|
|
83
|
-
"./spec/node.d.ts": "./spec/node.d.ts",
|
|
84
75
|
"./spec/polkadot": {
|
|
85
76
|
"require": "./spec/polkadot.cjs",
|
|
86
77
|
"default": "./spec/polkadot.js"
|
|
87
78
|
},
|
|
88
|
-
"./spec/polkadot.d.ts": "./spec/polkadot.d.ts",
|
|
89
79
|
"./spec/rococo": {
|
|
90
80
|
"require": "./spec/rococo.cjs",
|
|
91
81
|
"default": "./spec/rococo.js"
|
|
92
82
|
},
|
|
93
|
-
"./spec/rococo.d.ts": "./spec/rococo.d.ts",
|
|
94
83
|
"./spec/shell": {
|
|
95
84
|
"require": "./spec/shell.cjs",
|
|
96
85
|
"default": "./spec/shell.js"
|
|
97
86
|
},
|
|
98
|
-
"./spec/shell.d.ts": "./spec/shell.d.ts",
|
|
99
87
|
"./spec/statemint": {
|
|
100
88
|
"require": "./spec/statemint.cjs",
|
|
101
89
|
"default": "./spec/statemint.js"
|
|
102
90
|
},
|
|
103
|
-
"./spec/statemint.d.ts": "./spec/statemint.d.ts",
|
|
104
91
|
"./spec/westend": {
|
|
105
92
|
"require": "./spec/westend.cjs",
|
|
106
93
|
"default": "./spec/westend.js"
|
|
107
94
|
},
|
|
108
|
-
"./spec/westend.d.ts": "./spec/westend.d.ts",
|
|
109
95
|
"./upgrades": {
|
|
110
96
|
"require": "./upgrades/index.cjs",
|
|
111
97
|
"default": "./upgrades/index.js"
|
|
112
98
|
},
|
|
113
|
-
"./upgrades/index.d.ts": "./upgrades/index.d.ts",
|
|
114
99
|
"./upgrades/kusama": {
|
|
115
100
|
"require": "./upgrades/kusama.cjs",
|
|
116
101
|
"default": "./upgrades/kusama.js"
|
|
117
102
|
},
|
|
118
|
-
"./upgrades/kusama.d.ts": "./upgrades/kusama.d.ts",
|
|
119
103
|
"./upgrades/polkadot": {
|
|
120
104
|
"require": "./upgrades/polkadot.cjs",
|
|
121
105
|
"default": "./upgrades/polkadot.js"
|
|
122
106
|
},
|
|
123
|
-
"./upgrades/polkadot.d.ts": "./upgrades/polkadot.d.ts",
|
|
124
107
|
"./upgrades/types": {
|
|
125
108
|
"require": "./upgrades/types.cjs",
|
|
126
109
|
"default": "./upgrades/types.js"
|
|
127
110
|
},
|
|
128
|
-
"./upgrades/types.d.ts": "./upgrades/types.d.ts",
|
|
129
111
|
"./upgrades/westend": {
|
|
130
112
|
"require": "./upgrades/westend.cjs",
|
|
131
113
|
"default": "./upgrades/westend.js"
|
|
132
114
|
},
|
|
133
|
-
"./upgrades/westend.d.ts": "./upgrades/westend.d.ts",
|
|
134
115
|
"./util": {
|
|
135
116
|
"require": "./util.cjs",
|
|
136
117
|
"default": "./util.js"
|
|
137
|
-
}
|
|
138
|
-
"./util.d.ts": "./util.d.ts"
|
|
118
|
+
}
|
|
139
119
|
}
|
|
140
120
|
}
|
package/packageInfo.cjs
CHANGED
package/packageInfo.js
CHANGED
package/upgrades/polkadot.cjs
CHANGED
|
@@ -6,6 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
// Copyright 2017-2021 @polkadot/types-known authors & contributors
|
|
8
8
|
// SPDX-License-Identifier: Apache-2.0
|
|
9
|
-
const upgrades = [[0, 0], [29231, 1], [188836, 5], [199405, 6], [214264, 7], [244358, 8], [303079, 9], [314201, 10], [342400, 11], [443963, 12], [528470, 13], [687751, 14], [746085, 15], [787923, 16], [799302, 17], [1205128, 18], [1603423, 23], [1733218, 24], [2005673, 25], [2436698, 26], [3613564, 27], [3899547, 28], [4345767, 29], [4876134, 30], [5661442, 9050], [6321619, 9080], [6713249, 9090], [7217907, 9100], [7229126, 9110], [7560558, 9122]];
|
|
9
|
+
const upgrades = [[0, 0], [29231, 1], [188836, 5], [199405, 6], [214264, 7], [244358, 8], [303079, 9], [314201, 10], [342400, 11], [443963, 12], [528470, 13], [687751, 14], [746085, 15], [787923, 16], [799302, 17], [1205128, 18], [1603423, 23], [1733218, 24], [2005673, 25], [2436698, 26], [3613564, 27], [3899547, 28], [4345767, 29], [4876134, 30], [5661442, 9050], [6321619, 9080], [6713249, 9090], [7217907, 9100], [7229126, 9110], [7560558, 9122], [8115869, 9140]];
|
|
10
10
|
var _default = upgrades;
|
|
11
11
|
exports.default = _default;
|
package/upgrades/polkadot.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
// Copyright 2017-2021 @polkadot/types-known authors & contributors
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
const upgrades = [[0, 0], [29231, 1], [188836, 5], [199405, 6], [214264, 7], [244358, 8], [303079, 9], [314201, 10], [342400, 11], [443963, 12], [528470, 13], [687751, 14], [746085, 15], [787923, 16], [799302, 17], [1205128, 18], [1603423, 23], [1733218, 24], [2005673, 25], [2436698, 26], [3613564, 27], [3899547, 28], [4345767, 29], [4876134, 30], [5661442, 9050], [6321619, 9080], [6713249, 9090], [7217907, 9100], [7229126, 9110], [7560558, 9122]];
|
|
3
|
+
const upgrades = [[0, 0], [29231, 1], [188836, 5], [199405, 6], [214264, 7], [244358, 8], [303079, 9], [314201, 10], [342400, 11], [443963, 12], [528470, 13], [687751, 14], [746085, 15], [787923, 16], [799302, 17], [1205128, 18], [1603423, 23], [1733218, 24], [2005673, 25], [2436698, 26], [3613564, 27], [3899547, 28], [4345767, 29], [4876134, 30], [5661442, 9050], [6321619, 9080], [6713249, 9090], [7217907, 9100], [7229126, 9110], [7560558, 9122], [8115869, 9140]];
|
|
4
4
|
export default upgrades;
|
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];
|