@polkadot/types-known 9.4.3 → 9.5.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/spec/kusama.js +13 -3
- package/cjs/spec/node-template.js +4 -1
- package/cjs/spec/node.js +4 -1
- package/cjs/spec/polkadot.js +13 -3
- package/cjs/spec/rococo.js +13 -3
- package/cjs/spec/statemint.js +13 -3
- package/cjs/spec/westend.js +13 -3
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/spec/kusama.js +13 -3
- package/spec/node-template.js +4 -1
- package/spec/node.js +4 -1
- package/spec/polkadot.js +13 -3
- package/spec/rococo.js +13 -3
- package/spec/statemint.js +13 -3
- package/spec/westend.js +13 -3
package/cjs/packageInfo.js
CHANGED
package/cjs/spec/kusama.js
CHANGED
|
@@ -21,7 +21,7 @@ const sharedTypes = {
|
|
|
21
21
|
ProxyType: {
|
|
22
22
|
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
|
|
23
23
|
},
|
|
24
|
-
Weight: '
|
|
24
|
+
Weight: 'WeightV1'
|
|
25
25
|
};
|
|
26
26
|
const addrIndicesTypes = {
|
|
27
27
|
AccountInfo: 'AccountInfoWithRefCount',
|
|
@@ -188,7 +188,17 @@ const versioned = [{
|
|
|
188
188
|
}, {
|
|
189
189
|
// metadata v14
|
|
190
190
|
minmax: [9106, undefined],
|
|
191
|
-
types: {
|
|
192
|
-
|
|
191
|
+
types: {
|
|
192
|
+
Weight: 'WeightV1'
|
|
193
|
+
}
|
|
194
|
+
} // ,
|
|
195
|
+
// {
|
|
196
|
+
// // weight v2 introduction
|
|
197
|
+
// minmax: [9300, undefined],
|
|
198
|
+
// types: {
|
|
199
|
+
// Weight: 'WeightV2'
|
|
200
|
+
// }
|
|
201
|
+
// }
|
|
202
|
+
];
|
|
193
203
|
var _default = versioned;
|
|
194
204
|
exports.default = _default;
|
|
@@ -10,7 +10,10 @@ exports.default = void 0;
|
|
|
10
10
|
/* eslint-disable sort-keys */
|
|
11
11
|
const versioned = [{
|
|
12
12
|
minmax: [0, undefined],
|
|
13
|
-
types: {
|
|
13
|
+
types: {
|
|
14
|
+
// nothing, API tracks master
|
|
15
|
+
// (v2 weights are not yet the default)
|
|
16
|
+
Weight: 'WeightV2'
|
|
14
17
|
}
|
|
15
18
|
}];
|
|
16
19
|
var _default = versioned;
|
package/cjs/spec/node.js
CHANGED
|
@@ -10,7 +10,10 @@ exports.default = void 0;
|
|
|
10
10
|
/* eslint-disable sort-keys */
|
|
11
11
|
const versioned = [{
|
|
12
12
|
minmax: [0, undefined],
|
|
13
|
-
types: {
|
|
13
|
+
types: {
|
|
14
|
+
// nothing, API tracks master
|
|
15
|
+
// (v2 weights are not yet the default)
|
|
16
|
+
Weight: 'WeightV2'
|
|
14
17
|
}
|
|
15
18
|
}];
|
|
16
19
|
var _default = versioned;
|
package/cjs/spec/polkadot.js
CHANGED
|
@@ -28,7 +28,7 @@ const sharedTypes = {
|
|
|
28
28
|
Auction: 7
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
Weight: '
|
|
31
|
+
Weight: 'WeightV1'
|
|
32
32
|
};
|
|
33
33
|
const addrAccountIdTypes = {
|
|
34
34
|
AccountInfo: 'AccountInfoWithRefCount',
|
|
@@ -71,7 +71,17 @@ const versioned = [{
|
|
|
71
71
|
}, {
|
|
72
72
|
// metadata v14
|
|
73
73
|
minmax: [9110, undefined],
|
|
74
|
-
types: {
|
|
75
|
-
|
|
74
|
+
types: {
|
|
75
|
+
Weight: 'WeightV1'
|
|
76
|
+
}
|
|
77
|
+
} // ,
|
|
78
|
+
// {
|
|
79
|
+
// // weight v2 introduction
|
|
80
|
+
// minmax: [9300, undefined],
|
|
81
|
+
// types: {
|
|
82
|
+
// Weight: 'WeightV2'
|
|
83
|
+
// }
|
|
84
|
+
// }
|
|
85
|
+
];
|
|
76
86
|
var _default = versioned;
|
|
77
87
|
exports.default = _default;
|
package/cjs/spec/rococo.js
CHANGED
|
@@ -21,7 +21,7 @@ const sharedTypes = {
|
|
|
21
21
|
FullIdentification: '()',
|
|
22
22
|
// No staking, only session (as per config)
|
|
23
23
|
Keys: 'SessionKeys7B',
|
|
24
|
-
Weight: '
|
|
24
|
+
Weight: 'WeightV1'
|
|
25
25
|
};
|
|
26
26
|
const versioned = [{
|
|
27
27
|
minmax: [0, 200],
|
|
@@ -49,7 +49,17 @@ const versioned = [{
|
|
|
49
49
|
}, {
|
|
50
50
|
// metadata v14
|
|
51
51
|
minmax: [9106, undefined],
|
|
52
|
-
types: {
|
|
53
|
-
|
|
52
|
+
types: {
|
|
53
|
+
Weight: 'WeightV1'
|
|
54
|
+
}
|
|
55
|
+
} // ,
|
|
56
|
+
// {
|
|
57
|
+
// // weight v2 introduction
|
|
58
|
+
// minmax: [9300, undefined],
|
|
59
|
+
// types: {
|
|
60
|
+
// Weight: 'WeightV2'
|
|
61
|
+
// }
|
|
62
|
+
// }
|
|
63
|
+
];
|
|
54
64
|
var _default = versioned;
|
|
55
65
|
exports.default = _default;
|
package/cjs/spec/statemint.js
CHANGED
|
@@ -19,7 +19,7 @@ const sharedTypes = {
|
|
|
19
19
|
ProxyType: {
|
|
20
20
|
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Staking']
|
|
21
21
|
},
|
|
22
|
-
Weight: '
|
|
22
|
+
Weight: 'WeightV1'
|
|
23
23
|
}; // these are override types for Statemine, Statemint, Westmint
|
|
24
24
|
|
|
25
25
|
const versioned = [{
|
|
@@ -35,7 +35,17 @@ const versioned = [{
|
|
|
35
35
|
}, {
|
|
36
36
|
// metadata V14
|
|
37
37
|
minmax: [500, undefined],
|
|
38
|
-
types: {
|
|
39
|
-
|
|
38
|
+
types: {
|
|
39
|
+
Weight: 'WeightV1'
|
|
40
|
+
}
|
|
41
|
+
} // ,
|
|
42
|
+
// {
|
|
43
|
+
// // weight v2 introduction
|
|
44
|
+
// minmax: [9300, undefined],
|
|
45
|
+
// types: {
|
|
46
|
+
// Weight: 'WeightV2'
|
|
47
|
+
// }
|
|
48
|
+
// }
|
|
49
|
+
];
|
|
40
50
|
var _default = versioned;
|
|
41
51
|
exports.default = _default;
|
package/cjs/spec/westend.js
CHANGED
|
@@ -23,7 +23,7 @@ const sharedTypes = {
|
|
|
23
23
|
ProxyType: {
|
|
24
24
|
_enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy']
|
|
25
25
|
},
|
|
26
|
-
Weight: '
|
|
26
|
+
Weight: 'WeightV1'
|
|
27
27
|
};
|
|
28
28
|
const addrAccountIdTypes = {
|
|
29
29
|
AccountInfo: 'AccountInfoWithRefCount',
|
|
@@ -87,7 +87,17 @@ const versioned = [{
|
|
|
87
87
|
}, {
|
|
88
88
|
// metadata v14
|
|
89
89
|
minmax: [9106, undefined],
|
|
90
|
-
types: {
|
|
91
|
-
|
|
90
|
+
types: {
|
|
91
|
+
Weight: 'WeightV1'
|
|
92
|
+
}
|
|
93
|
+
} // ,
|
|
94
|
+
// {
|
|
95
|
+
// // weight v2 introduction
|
|
96
|
+
// minmax: [9300, undefined],
|
|
97
|
+
// types: {
|
|
98
|
+
// Weight: 'WeightV2'
|
|
99
|
+
// }
|
|
100
|
+
// }
|
|
101
|
+
];
|
|
92
102
|
var _default = versioned;
|
|
93
103
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./cjs/detectPackage.js"
|
|
21
21
|
],
|
|
22
22
|
"type": "module",
|
|
23
|
-
"version": "9.
|
|
23
|
+
"version": "9.5.1",
|
|
24
24
|
"main": "./cjs/index.js",
|
|
25
25
|
"module": "./index.js",
|
|
26
26
|
"types": "./index.d.ts",
|
|
@@ -171,10 +171,10 @@
|
|
|
171
171
|
},
|
|
172
172
|
"dependencies": {
|
|
173
173
|
"@babel/runtime": "^7.19.0",
|
|
174
|
-
"@polkadot/networks": "^10.1.
|
|
175
|
-
"@polkadot/types": "9.
|
|
176
|
-
"@polkadot/types-codec": "9.
|
|
177
|
-
"@polkadot/types-create": "9.
|
|
178
|
-
"@polkadot/util": "^10.1.
|
|
174
|
+
"@polkadot/networks": "^10.1.10",
|
|
175
|
+
"@polkadot/types": "9.5.1",
|
|
176
|
+
"@polkadot/types-codec": "9.5.1",
|
|
177
|
+
"@polkadot/types-create": "9.5.1",
|
|
178
|
+
"@polkadot/util": "^10.1.10"
|
|
179
179
|
}
|
|
180
180
|
}
|
package/packageInfo.js
CHANGED
|
@@ -5,5 +5,5 @@ export const packageInfo = {
|
|
|
5
5
|
name: '@polkadot/types-known',
|
|
6
6
|
path: (import.meta && import.meta.url) ? new URL(import.meta.url).pathname.substring(0, new URL(import.meta.url).pathname.lastIndexOf('/') + 1) : 'auto',
|
|
7
7
|
type: 'esm',
|
|
8
|
-
version: '9.
|
|
8
|
+
version: '9.5.1'
|
|
9
9
|
};
|
package/spec/kusama.js
CHANGED
|
@@ -12,7 +12,7 @@ const sharedTypes = {
|
|
|
12
12
|
ProxyType: {
|
|
13
13
|
_enum: ['Any', 'NonTransfer', 'Governance', 'Staking', 'IdentityJudgement', 'CancelProxy', 'Auction']
|
|
14
14
|
},
|
|
15
|
-
Weight: '
|
|
15
|
+
Weight: 'WeightV1'
|
|
16
16
|
};
|
|
17
17
|
const addrIndicesTypes = {
|
|
18
18
|
AccountInfo: 'AccountInfoWithRefCount',
|
|
@@ -179,6 +179,16 @@ const versioned = [{
|
|
|
179
179
|
}, {
|
|
180
180
|
// metadata v14
|
|
181
181
|
minmax: [9106, undefined],
|
|
182
|
-
types: {
|
|
183
|
-
|
|
182
|
+
types: {
|
|
183
|
+
Weight: 'WeightV1'
|
|
184
|
+
}
|
|
185
|
+
} // ,
|
|
186
|
+
// {
|
|
187
|
+
// // weight v2 introduction
|
|
188
|
+
// minmax: [9300, undefined],
|
|
189
|
+
// types: {
|
|
190
|
+
// Weight: 'WeightV2'
|
|
191
|
+
// }
|
|
192
|
+
// }
|
|
193
|
+
];
|
|
184
194
|
export default versioned;
|
package/spec/node-template.js
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
/* eslint-disable sort-keys */
|
|
5
5
|
const versioned = [{
|
|
6
6
|
minmax: [0, undefined],
|
|
7
|
-
types: {
|
|
7
|
+
types: {
|
|
8
|
+
// nothing, API tracks master
|
|
9
|
+
// (v2 weights are not yet the default)
|
|
10
|
+
Weight: 'WeightV2'
|
|
8
11
|
}
|
|
9
12
|
}];
|
|
10
13
|
export default versioned;
|
package/spec/node.js
CHANGED
|
@@ -4,7 +4,10 @@
|
|
|
4
4
|
/* eslint-disable sort-keys */
|
|
5
5
|
const versioned = [{
|
|
6
6
|
minmax: [0, undefined],
|
|
7
|
-
types: {
|
|
7
|
+
types: {
|
|
8
|
+
// nothing, API tracks master
|
|
9
|
+
// (v2 weights are not yet the default)
|
|
10
|
+
Weight: 'WeightV2'
|
|
8
11
|
}
|
|
9
12
|
}];
|
|
10
13
|
export default versioned;
|
package/spec/polkadot.js
CHANGED
|
@@ -20,7 +20,7 @@ const sharedTypes = {
|
|
|
20
20
|
Auction: 7
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
Weight: '
|
|
23
|
+
Weight: 'WeightV1'
|
|
24
24
|
};
|
|
25
25
|
const addrAccountIdTypes = {
|
|
26
26
|
AccountInfo: 'AccountInfoWithRefCount',
|
|
@@ -63,6 +63,16 @@ const versioned = [{
|
|
|
63
63
|
}, {
|
|
64
64
|
// metadata v14
|
|
65
65
|
minmax: [9110, undefined],
|
|
66
|
-
types: {
|
|
67
|
-
|
|
66
|
+
types: {
|
|
67
|
+
Weight: 'WeightV1'
|
|
68
|
+
}
|
|
69
|
+
} // ,
|
|
70
|
+
// {
|
|
71
|
+
// // weight v2 introduction
|
|
72
|
+
// minmax: [9300, undefined],
|
|
73
|
+
// types: {
|
|
74
|
+
// Weight: 'WeightV2'
|
|
75
|
+
// }
|
|
76
|
+
// }
|
|
77
|
+
];
|
|
68
78
|
export default versioned;
|
package/spec/rococo.js
CHANGED
|
@@ -12,7 +12,7 @@ const sharedTypes = {
|
|
|
12
12
|
FullIdentification: '()',
|
|
13
13
|
// No staking, only session (as per config)
|
|
14
14
|
Keys: 'SessionKeys7B',
|
|
15
|
-
Weight: '
|
|
15
|
+
Weight: 'WeightV1'
|
|
16
16
|
};
|
|
17
17
|
const versioned = [{
|
|
18
18
|
minmax: [0, 200],
|
|
@@ -40,6 +40,16 @@ const versioned = [{
|
|
|
40
40
|
}, {
|
|
41
41
|
// metadata v14
|
|
42
42
|
minmax: [9106, undefined],
|
|
43
|
-
types: {
|
|
44
|
-
|
|
43
|
+
types: {
|
|
44
|
+
Weight: 'WeightV1'
|
|
45
|
+
}
|
|
46
|
+
} // ,
|
|
47
|
+
// {
|
|
48
|
+
// // weight v2 introduction
|
|
49
|
+
// minmax: [9300, undefined],
|
|
50
|
+
// types: {
|
|
51
|
+
// Weight: 'WeightV2'
|
|
52
|
+
// }
|
|
53
|
+
// }
|
|
54
|
+
];
|
|
45
55
|
export default versioned;
|
package/spec/statemint.js
CHANGED
|
@@ -10,7 +10,7 @@ const sharedTypes = {
|
|
|
10
10
|
ProxyType: {
|
|
11
11
|
_enum: ['Any', 'NonTransfer', 'CancelProxy', 'Assets', 'AssetOwner', 'AssetManager', 'Staking']
|
|
12
12
|
},
|
|
13
|
-
Weight: '
|
|
13
|
+
Weight: 'WeightV1'
|
|
14
14
|
}; // these are override types for Statemine, Statemint, Westmint
|
|
15
15
|
|
|
16
16
|
const versioned = [{
|
|
@@ -26,6 +26,16 @@ const versioned = [{
|
|
|
26
26
|
}, {
|
|
27
27
|
// metadata V14
|
|
28
28
|
minmax: [500, undefined],
|
|
29
|
-
types: {
|
|
30
|
-
|
|
29
|
+
types: {
|
|
30
|
+
Weight: 'WeightV1'
|
|
31
|
+
}
|
|
32
|
+
} // ,
|
|
33
|
+
// {
|
|
34
|
+
// // weight v2 introduction
|
|
35
|
+
// minmax: [9300, undefined],
|
|
36
|
+
// types: {
|
|
37
|
+
// Weight: 'WeightV2'
|
|
38
|
+
// }
|
|
39
|
+
// }
|
|
40
|
+
];
|
|
31
41
|
export default versioned;
|
package/spec/westend.js
CHANGED
|
@@ -14,7 +14,7 @@ const sharedTypes = {
|
|
|
14
14
|
ProxyType: {
|
|
15
15
|
_enum: ['Any', 'NonTransfer', 'Staking', 'SudoBalances', 'IdentityJudgement', 'CancelProxy']
|
|
16
16
|
},
|
|
17
|
-
Weight: '
|
|
17
|
+
Weight: 'WeightV1'
|
|
18
18
|
};
|
|
19
19
|
const addrAccountIdTypes = {
|
|
20
20
|
AccountInfo: 'AccountInfoWithRefCount',
|
|
@@ -78,6 +78,16 @@ const versioned = [{
|
|
|
78
78
|
}, {
|
|
79
79
|
// metadata v14
|
|
80
80
|
minmax: [9106, undefined],
|
|
81
|
-
types: {
|
|
82
|
-
|
|
81
|
+
types: {
|
|
82
|
+
Weight: 'WeightV1'
|
|
83
|
+
}
|
|
84
|
+
} // ,
|
|
85
|
+
// {
|
|
86
|
+
// // weight v2 introduction
|
|
87
|
+
// minmax: [9300, undefined],
|
|
88
|
+
// types: {
|
|
89
|
+
// Weight: 'WeightV2'
|
|
90
|
+
// }
|
|
91
|
+
// }
|
|
92
|
+
];
|
|
83
93
|
export default versioned;
|