@polkadot/types-known 16.4.5 → 16.4.7
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/statemint.js +5 -1
- package/package.json +6 -6
- package/packageInfo.js +1 -1
- package/spec/statemint.js +5 -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: '16.4.
|
|
4
|
+
exports.packageInfo = { name: '@polkadot/types-known', path: typeof __dirname === 'string' ? __dirname : 'auto', type: 'cjs', version: '16.4.7' };
|
package/cjs/spec/statemint.js
CHANGED
|
@@ -46,10 +46,14 @@ exports.versioned = [
|
|
|
46
46
|
TAssetConversion: 'Option<AssetId>'
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
+
// ref: https://github.com/polkadot-js/api/pull/6208
|
|
50
|
+
// The following patches an issue where polkadot asset hub block 9686187, can't be decoding using xcm v5
|
|
51
|
+
// mappings.
|
|
49
52
|
{
|
|
50
53
|
minmax: [1002000, undefined],
|
|
51
54
|
types: {
|
|
52
|
-
Weight: 'WeightV1'
|
|
55
|
+
Weight: 'WeightV1',
|
|
56
|
+
...(0, types_create_1.mapXcmTypes)('V4')
|
|
53
57
|
}
|
|
54
58
|
}
|
|
55
59
|
// ,
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./cjs/packageDetect.js"
|
|
19
19
|
],
|
|
20
20
|
"type": "module",
|
|
21
|
-
"version": "16.4.
|
|
21
|
+
"version": "16.4.7",
|
|
22
22
|
"main": "./cjs/index.js",
|
|
23
23
|
"module": "./index.js",
|
|
24
24
|
"types": "./index.d.ts",
|
|
@@ -437,11 +437,11 @@
|
|
|
437
437
|
}
|
|
438
438
|
},
|
|
439
439
|
"dependencies": {
|
|
440
|
-
"@polkadot/networks": "^13.5.
|
|
441
|
-
"@polkadot/types": "16.4.
|
|
442
|
-
"@polkadot/types-codec": "16.4.
|
|
443
|
-
"@polkadot/types-create": "16.4.
|
|
444
|
-
"@polkadot/util": "^13.5.
|
|
440
|
+
"@polkadot/networks": "^13.5.6",
|
|
441
|
+
"@polkadot/types": "16.4.7",
|
|
442
|
+
"@polkadot/types-codec": "16.4.7",
|
|
443
|
+
"@polkadot/types-create": "16.4.7",
|
|
444
|
+
"@polkadot/util": "^13.5.6",
|
|
445
445
|
"tslib": "^2.8.1"
|
|
446
446
|
}
|
|
447
447
|
}
|
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: '16.4.
|
|
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: '16.4.7' };
|
package/spec/statemint.js
CHANGED
|
@@ -43,10 +43,14 @@ export const versioned = [
|
|
|
43
43
|
TAssetConversion: 'Option<AssetId>'
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
+
// ref: https://github.com/polkadot-js/api/pull/6208
|
|
47
|
+
// The following patches an issue where polkadot asset hub block 9686187, can't be decoding using xcm v5
|
|
48
|
+
// mappings.
|
|
46
49
|
{
|
|
47
50
|
minmax: [1002000, undefined],
|
|
48
51
|
types: {
|
|
49
|
-
Weight: 'WeightV1'
|
|
52
|
+
Weight: 'WeightV1',
|
|
53
|
+
...mapXcmTypes('V4')
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
// ,
|