@paraspell/pallets 13.7.1 → 13.8.0
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/dist/index.mjs +0 -2
- package/package.json +4 -7
package/dist/index.mjs
CHANGED
|
@@ -1632,7 +1632,6 @@ var getNativeAssetsPallet = function getNativeAssetsPallet(chain, ctx) {
|
|
|
1632
1632
|
var _ctx$customChainPalle;
|
|
1633
1633
|
var entry = ctx === null || ctx === void 0 || (_ctx$customChainPalle = ctx.customChainPallets) === null || _ctx$customChainPalle === void 0 ? void 0 : _ctx$customChainPalle[chain];
|
|
1634
1634
|
if (!entry) {
|
|
1635
|
-
// TODO: Fix this cast
|
|
1636
1635
|
throw new XcmPalletNotFoundError(chain);
|
|
1637
1636
|
}
|
|
1638
1637
|
return entry.nativeAssets;
|
|
@@ -1644,7 +1643,6 @@ var getOtherAssetsPallets = function getOtherAssetsPallets(chain, ctx) {
|
|
|
1644
1643
|
var _ctx$customChainPalle2;
|
|
1645
1644
|
var entry = ctx === null || ctx === void 0 || (_ctx$customChainPalle2 = ctx.customChainPallets) === null || _ctx$customChainPalle2 === void 0 ? void 0 : _ctx$customChainPalle2[chain];
|
|
1646
1645
|
if (!entry) {
|
|
1647
|
-
// TODO: Fix this cast
|
|
1648
1646
|
throw new XcmPalletNotFoundError(chain);
|
|
1649
1647
|
}
|
|
1650
1648
|
return entry.otherAssets;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/pallets",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.8.0",
|
|
4
4
|
"description": "Pallets for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -22,23 +22,20 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@paraspell/sdk-common": "13.
|
|
25
|
+
"@paraspell/sdk-common": "13.8.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/plugin-syntax-import-attributes": "^7.29.7",
|
|
29
29
|
"@babel/preset-env": "^7.29.7",
|
|
30
30
|
"@codecov/rollup-plugin": "^2.0.1",
|
|
31
|
-
"@polkadot/api": "^16.5.6",
|
|
32
|
-
"@polkadot/types": "^16.5.6",
|
|
33
31
|
"@rollup/plugin-babel": "^7.0.0",
|
|
34
32
|
"@rollup/plugin-json": "^6.1.0",
|
|
35
33
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
36
34
|
"@vitest/coverage-v8": "^4.1.7",
|
|
37
|
-
"axios": "^1.16.1",
|
|
38
35
|
"dotenv": "^17.4.2",
|
|
39
36
|
"rollup": "^4.60.4",
|
|
40
37
|
"rollup-plugin-dts": "^6.4.1",
|
|
41
|
-
"
|
|
38
|
+
"tsx": "^4.22.4"
|
|
42
39
|
},
|
|
43
40
|
"scripts": {
|
|
44
41
|
"compile": "tsc --noEmit",
|
|
@@ -50,6 +47,6 @@
|
|
|
50
47
|
"test": "vitest run",
|
|
51
48
|
"test:cov": "vitest run --coverage",
|
|
52
49
|
"test:watch": "vitest",
|
|
53
|
-
"updatePallets": "
|
|
50
|
+
"updatePallets": "tsx ./scripts/fetchPallets.ts"
|
|
54
51
|
}
|
|
55
52
|
}
|