@polkadot/types-known 12.4.2 → 13.1.1
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/cjs/packageInfo.js +1 -1
- package/cjs/upgrades/e2e/kusama.js +98 -0
- package/cjs/upgrades/manual/kusama.js +1 -1
- package/cjs/util.js +7 -8
- package/package.json +7 -7
- package/packageInfo.js +1 -1
- package/upgrades/e2e/kusama.js +98 -0
- package/upgrades/manual/kusama.js +1 -1
- package/util.d.ts +0 -1
package/cjs/packageInfo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.packageInfo = void 0;
|
|
4
|
-
exports.packageInfo = { name: '@polkadot/types-known', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/types-known', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '13.1.1' };
|
|
@@ -5265,5 +5265,103 @@ exports.upgrades = [
|
|
|
5265
5265
|
1
|
|
5266
5266
|
]
|
|
5267
5267
|
]
|
|
5268
|
+
],
|
|
5269
|
+
[
|
|
5270
|
+
24786390,
|
|
5271
|
+
1003000,
|
|
5272
|
+
[
|
|
5273
|
+
[
|
|
5274
|
+
"0xc51ff1fa3f5d0cca",
|
|
5275
|
+
1
|
|
5276
|
+
],
|
|
5277
|
+
[
|
|
5278
|
+
"0xdf6acb689907609b",
|
|
5279
|
+
5
|
|
5280
|
+
],
|
|
5281
|
+
[
|
|
5282
|
+
"0x37e397fc7c91f5e4",
|
|
5283
|
+
2
|
|
5284
|
+
],
|
|
5285
|
+
[
|
|
5286
|
+
"0x40fe3ad401f8959a",
|
|
5287
|
+
6
|
|
5288
|
+
],
|
|
5289
|
+
[
|
|
5290
|
+
"0xd2bc9897eed08f15",
|
|
5291
|
+
3
|
|
5292
|
+
],
|
|
5293
|
+
[
|
|
5294
|
+
"0xf78b278be53f454c",
|
|
5295
|
+
2
|
|
5296
|
+
],
|
|
5297
|
+
[
|
|
5298
|
+
"0xaf2c0297a23e6d3d",
|
|
5299
|
+
11
|
|
5300
|
+
],
|
|
5301
|
+
[
|
|
5302
|
+
"0x49eaaf1b548a0cb0",
|
|
5303
|
+
3
|
|
5304
|
+
],
|
|
5305
|
+
[
|
|
5306
|
+
"0x91d5df18b0d2cf58",
|
|
5307
|
+
2
|
|
5308
|
+
],
|
|
5309
|
+
[
|
|
5310
|
+
"0x2a5e924655399e60",
|
|
5311
|
+
1
|
|
5312
|
+
],
|
|
5313
|
+
[
|
|
5314
|
+
"0xed99c5acb25eedf5",
|
|
5315
|
+
3
|
|
5316
|
+
],
|
|
5317
|
+
[
|
|
5318
|
+
"0xcbca25e39f142387",
|
|
5319
|
+
2
|
|
5320
|
+
],
|
|
5321
|
+
[
|
|
5322
|
+
"0x687ad44ad37f03c2",
|
|
5323
|
+
1
|
|
5324
|
+
],
|
|
5325
|
+
[
|
|
5326
|
+
"0xab3c0572291feb8b",
|
|
5327
|
+
1
|
|
5328
|
+
],
|
|
5329
|
+
[
|
|
5330
|
+
"0xbc9d89904f5b923f",
|
|
5331
|
+
1
|
|
5332
|
+
],
|
|
5333
|
+
[
|
|
5334
|
+
"0x37c8bb1350a9a2a8",
|
|
5335
|
+
4
|
|
5336
|
+
],
|
|
5337
|
+
[
|
|
5338
|
+
"0xf3ff14d5ab527059",
|
|
5339
|
+
3
|
|
5340
|
+
],
|
|
5341
|
+
[
|
|
5342
|
+
"0x6ff52ee858e6c5bd",
|
|
5343
|
+
1
|
|
5344
|
+
],
|
|
5345
|
+
[
|
|
5346
|
+
"0x91b1c8b16328eb92",
|
|
5347
|
+
1
|
|
5348
|
+
],
|
|
5349
|
+
[
|
|
5350
|
+
"0x9ffb505aa738d69c",
|
|
5351
|
+
1
|
|
5352
|
+
],
|
|
5353
|
+
[
|
|
5354
|
+
"0x17a6bc0d0062aeb3",
|
|
5355
|
+
1
|
|
5356
|
+
],
|
|
5357
|
+
[
|
|
5358
|
+
"0x18ef58a3b67ba770",
|
|
5359
|
+
1
|
|
5360
|
+
],
|
|
5361
|
+
[
|
|
5362
|
+
"0xfbc577b9d747efd6",
|
|
5363
|
+
1
|
|
5364
|
+
]
|
|
5365
|
+
]
|
|
5268
5366
|
]
|
|
5269
5367
|
];
|
|
@@ -20,5 +20,5 @@ exports.upgrades = [
|
|
|
20
20
|
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
|
|
21
21
|
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
|
|
22
22
|
[22515962, 1001003], [22790000, 1002000], [23176015, 1002001], [23450253, 1002004], [23565293, 1002005],
|
|
23
|
-
[23780224, 1002006]
|
|
23
|
+
[23780224, 1002006], [24786390, 1003000]
|
|
24
24
|
];
|
package/cjs/util.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getSpecExtensions = getSpecExtensions;
|
|
4
|
+
exports.getSpecTypes = getSpecTypes;
|
|
5
|
+
exports.getSpecHasher = getSpecHasher;
|
|
6
|
+
exports.getSpecRpc = getSpecRpc;
|
|
7
|
+
exports.getSpecRuntime = getSpecRuntime;
|
|
8
|
+
exports.getSpecAlias = getSpecAlias;
|
|
9
|
+
exports.getUpgradeVersion = getUpgradeVersion;
|
|
4
10
|
const util_1 = require("@polkadot/util");
|
|
5
11
|
const index_js_1 = require("./chain/index.js");
|
|
6
12
|
const index_js_2 = require("./spec/index.js");
|
|
@@ -31,7 +37,6 @@ function getSpecExtensions({ knownTypes }, chainName, specName) {
|
|
|
31
37
|
...(knownTypes.typesBundle?.chain?.[c]?.signedExtensions ?? {})
|
|
32
38
|
}));
|
|
33
39
|
}
|
|
34
|
-
exports.getSpecExtensions = getSpecExtensions;
|
|
35
40
|
/**
|
|
36
41
|
* @description Based on the chain and runtimeVersion, get the applicable types (ready for registration)
|
|
37
42
|
*/
|
|
@@ -51,7 +56,6 @@ function getSpecTypes({ knownTypes }, chainName, specName, specVersion) {
|
|
|
51
56
|
...(knownTypes.types ?? {})
|
|
52
57
|
}));
|
|
53
58
|
}
|
|
54
|
-
exports.getSpecTypes = getSpecTypes;
|
|
55
59
|
/**
|
|
56
60
|
* @description Based on the chain or spec, return the hasher used
|
|
57
61
|
*/
|
|
@@ -61,7 +65,6 @@ function getSpecHasher({ knownTypes }, chainName, specName) {
|
|
|
61
65
|
knownTypes.typesBundle?.spec?.[s]?.hasher ||
|
|
62
66
|
null);
|
|
63
67
|
}
|
|
64
|
-
exports.getSpecHasher = getSpecHasher;
|
|
65
68
|
/**
|
|
66
69
|
* @description Based on the chain and runtimeVersion, get the applicable rpc definitions (ready for registration)
|
|
67
70
|
*/
|
|
@@ -71,7 +74,6 @@ function getSpecRpc({ knownTypes }, chainName, specName) {
|
|
|
71
74
|
...(knownTypes.typesBundle?.chain?.[c]?.rpc ?? {})
|
|
72
75
|
}));
|
|
73
76
|
}
|
|
74
|
-
exports.getSpecRpc = getSpecRpc;
|
|
75
77
|
/**
|
|
76
78
|
* @description Based on the chain and runtimeVersion, get the applicable runtime definitions (ready for registration)
|
|
77
79
|
*/
|
|
@@ -81,7 +83,6 @@ function getSpecRuntime({ knownTypes }, chainName, specName) {
|
|
|
81
83
|
...(knownTypes.typesBundle?.chain?.[c]?.runtime ?? {})
|
|
82
84
|
}));
|
|
83
85
|
}
|
|
84
|
-
exports.getSpecRuntime = getSpecRuntime;
|
|
85
86
|
/**
|
|
86
87
|
* @description Based on the chain and runtimeVersion, get the applicable alias definitions (ready for registration)
|
|
87
88
|
*/
|
|
@@ -93,7 +94,6 @@ function getSpecAlias({ knownTypes }, chainName, specName) {
|
|
|
93
94
|
...(knownTypes.typesAlias ?? {})
|
|
94
95
|
}));
|
|
95
96
|
}
|
|
96
|
-
exports.getSpecAlias = getSpecAlias;
|
|
97
97
|
/**
|
|
98
98
|
* @description Returns a version record for known chains where upgrades are being tracked
|
|
99
99
|
*/
|
|
@@ -110,4 +110,3 @@ function getUpgradeVersion(genesisHash, blockNumber) {
|
|
|
110
110
|
]
|
|
111
111
|
: [undefined, undefined];
|
|
112
112
|
}
|
|
113
|
-
exports.getUpgradeVersion = getUpgradeVersion;
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "
|
|
21
|
+
"version": "13.1.1",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -205,11 +205,11 @@
|
|
|
205
205
|
}
|
|
206
206
|
},
|
|
207
207
|
"dependencies": {
|
|
208
|
-
"@polkadot/networks": "^13.
|
|
209
|
-
"@polkadot/types": "
|
|
210
|
-
"@polkadot/types-codec": "
|
|
211
|
-
"@polkadot/types-create": "
|
|
212
|
-
"@polkadot/util": "^13.
|
|
213
|
-
"tslib": "^2.
|
|
208
|
+
"@polkadot/networks": "^13.1.1",
|
|
209
|
+
"@polkadot/types": "13.1.1",
|
|
210
|
+
"@polkadot/types-codec": "13.1.1",
|
|
211
|
+
"@polkadot/types-create": "13.1.1",
|
|
212
|
+
"@polkadot/util": "^13.1.1",
|
|
213
|
+
"tslib": "^2.7.0"
|
|
214
214
|
}
|
|
215
215
|
}
|
package/packageInfo.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageInfo = { name: '@polkadot/types-known', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '
|
|
1
|
+
export const packageInfo = { name: '@polkadot/types-known', path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto', type: 'esm', version: '13.1.1' };
|
package/upgrades/e2e/kusama.js
CHANGED
|
@@ -5262,5 +5262,103 @@ export const upgrades = [
|
|
|
5262
5262
|
1
|
|
5263
5263
|
]
|
|
5264
5264
|
]
|
|
5265
|
+
],
|
|
5266
|
+
[
|
|
5267
|
+
24786390,
|
|
5268
|
+
1003000,
|
|
5269
|
+
[
|
|
5270
|
+
[
|
|
5271
|
+
"0xc51ff1fa3f5d0cca",
|
|
5272
|
+
1
|
|
5273
|
+
],
|
|
5274
|
+
[
|
|
5275
|
+
"0xdf6acb689907609b",
|
|
5276
|
+
5
|
|
5277
|
+
],
|
|
5278
|
+
[
|
|
5279
|
+
"0x37e397fc7c91f5e4",
|
|
5280
|
+
2
|
|
5281
|
+
],
|
|
5282
|
+
[
|
|
5283
|
+
"0x40fe3ad401f8959a",
|
|
5284
|
+
6
|
|
5285
|
+
],
|
|
5286
|
+
[
|
|
5287
|
+
"0xd2bc9897eed08f15",
|
|
5288
|
+
3
|
|
5289
|
+
],
|
|
5290
|
+
[
|
|
5291
|
+
"0xf78b278be53f454c",
|
|
5292
|
+
2
|
|
5293
|
+
],
|
|
5294
|
+
[
|
|
5295
|
+
"0xaf2c0297a23e6d3d",
|
|
5296
|
+
11
|
|
5297
|
+
],
|
|
5298
|
+
[
|
|
5299
|
+
"0x49eaaf1b548a0cb0",
|
|
5300
|
+
3
|
|
5301
|
+
],
|
|
5302
|
+
[
|
|
5303
|
+
"0x91d5df18b0d2cf58",
|
|
5304
|
+
2
|
|
5305
|
+
],
|
|
5306
|
+
[
|
|
5307
|
+
"0x2a5e924655399e60",
|
|
5308
|
+
1
|
|
5309
|
+
],
|
|
5310
|
+
[
|
|
5311
|
+
"0xed99c5acb25eedf5",
|
|
5312
|
+
3
|
|
5313
|
+
],
|
|
5314
|
+
[
|
|
5315
|
+
"0xcbca25e39f142387",
|
|
5316
|
+
2
|
|
5317
|
+
],
|
|
5318
|
+
[
|
|
5319
|
+
"0x687ad44ad37f03c2",
|
|
5320
|
+
1
|
|
5321
|
+
],
|
|
5322
|
+
[
|
|
5323
|
+
"0xab3c0572291feb8b",
|
|
5324
|
+
1
|
|
5325
|
+
],
|
|
5326
|
+
[
|
|
5327
|
+
"0xbc9d89904f5b923f",
|
|
5328
|
+
1
|
|
5329
|
+
],
|
|
5330
|
+
[
|
|
5331
|
+
"0x37c8bb1350a9a2a8",
|
|
5332
|
+
4
|
|
5333
|
+
],
|
|
5334
|
+
[
|
|
5335
|
+
"0xf3ff14d5ab527059",
|
|
5336
|
+
3
|
|
5337
|
+
],
|
|
5338
|
+
[
|
|
5339
|
+
"0x6ff52ee858e6c5bd",
|
|
5340
|
+
1
|
|
5341
|
+
],
|
|
5342
|
+
[
|
|
5343
|
+
"0x91b1c8b16328eb92",
|
|
5344
|
+
1
|
|
5345
|
+
],
|
|
5346
|
+
[
|
|
5347
|
+
"0x9ffb505aa738d69c",
|
|
5348
|
+
1
|
|
5349
|
+
],
|
|
5350
|
+
[
|
|
5351
|
+
"0x17a6bc0d0062aeb3",
|
|
5352
|
+
1
|
|
5353
|
+
],
|
|
5354
|
+
[
|
|
5355
|
+
"0x18ef58a3b67ba770",
|
|
5356
|
+
1
|
|
5357
|
+
],
|
|
5358
|
+
[
|
|
5359
|
+
"0xfbc577b9d747efd6",
|
|
5360
|
+
1
|
|
5361
|
+
]
|
|
5362
|
+
]
|
|
5265
5363
|
]
|
|
5266
5364
|
];
|
|
@@ -17,5 +17,5 @@ export const upgrades = [
|
|
|
17
17
|
[15680713, 9340], [15756296, 9350], [15912007, 9360], [16356547, 9370], [17335450, 9381],
|
|
18
18
|
[18062739, 9420], [18625000, 9430], [20465806, 1000000], [21570000, 1001000], [21786291, 1001002],
|
|
19
19
|
[22515962, 1001003], [22790000, 1002000], [23176015, 1002001], [23450253, 1002004], [23565293, 1002005],
|
|
20
|
-
[23780224, 1002006]
|
|
20
|
+
[23780224, 1002006], [24786390, 1003000]
|
|
21
21
|
];
|
package/util.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="bn.js" />
|
|
2
1
|
import type { ExtDef } from '@polkadot/types/extrinsic/signedExtensions/types';
|
|
3
2
|
import type { Hash } from '@polkadot/types/interfaces';
|
|
4
3
|
import type { ChainUpgradeVersion, CodecHasher, DefinitionRpc, DefinitionRpcSub, DefinitionsCall, OverrideModuleType, Registry, RegistryTypes } from '@polkadot/types/types';
|