@paraspell/assets 8.9.4 → 8.9.5
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.cjs +3 -19
- package/dist/index.mjs +3 -19
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -5319,12 +5319,6 @@ var AssetHubPolkadot = {
|
|
|
5319
5319
|
}
|
|
5320
5320
|
},
|
|
5321
5321
|
existentialDeposit: "100000000"
|
|
5322
|
-
},
|
|
5323
|
-
{
|
|
5324
|
-
symbol: "KSM",
|
|
5325
|
-
decimals: 12,
|
|
5326
|
-
isNative: true,
|
|
5327
|
-
manuallyAdded: true
|
|
5328
5322
|
}
|
|
5329
5323
|
],
|
|
5330
5324
|
otherAssets: [
|
|
@@ -8885,12 +8879,6 @@ var AssetHubKusama = {
|
|
|
8885
8879
|
}
|
|
8886
8880
|
},
|
|
8887
8881
|
existentialDeposit: "3333333"
|
|
8888
|
-
},
|
|
8889
|
-
{
|
|
8890
|
-
symbol: "DOT",
|
|
8891
|
-
decimals: 12,
|
|
8892
|
-
isNative: true,
|
|
8893
|
-
manuallyAdded: true
|
|
8894
8882
|
}
|
|
8895
8883
|
],
|
|
8896
8884
|
otherAssets: [
|
|
@@ -11518,13 +11506,9 @@ var getSupportedAssets = function getSupportedAssets(origin, destination) {
|
|
|
11518
11506
|
return [].concat(_toConsumableArray(ethereumCompatibleAssets), _toConsumableArray(ethereumAssets));
|
|
11519
11507
|
}
|
|
11520
11508
|
if (origin === 'AssetHubPolkadot' && destination === 'AssetHubKusama' || origin === 'AssetHubKusama' && destination === 'AssetHubPolkadot') {
|
|
11521
|
-
|
|
11522
|
-
symbol
|
|
11523
|
-
}
|
|
11524
|
-
var kusamaAsset = findAsset('Kusama', {
|
|
11525
|
-
symbol: 'KSM'
|
|
11526
|
-
}, null);
|
|
11527
|
-
return [].concat(_toConsumableArray(polkadotAsset ? [polkadotAsset] : []), _toConsumableArray(kusamaAsset ? [kusamaAsset] : []));
|
|
11509
|
+
return originAssets.filter(function (asset) {
|
|
11510
|
+
return asset.symbol === 'KSM' || asset.symbol === 'DOT';
|
|
11511
|
+
});
|
|
11528
11512
|
}
|
|
11529
11513
|
var supportedAssets = originAssets.filter(function (asset) {
|
|
11530
11514
|
return destinationAssets.some(function (a) {
|
package/dist/index.mjs
CHANGED
|
@@ -5317,12 +5317,6 @@ var AssetHubPolkadot = {
|
|
|
5317
5317
|
}
|
|
5318
5318
|
},
|
|
5319
5319
|
existentialDeposit: "100000000"
|
|
5320
|
-
},
|
|
5321
|
-
{
|
|
5322
|
-
symbol: "KSM",
|
|
5323
|
-
decimals: 12,
|
|
5324
|
-
isNative: true,
|
|
5325
|
-
manuallyAdded: true
|
|
5326
5320
|
}
|
|
5327
5321
|
],
|
|
5328
5322
|
otherAssets: [
|
|
@@ -8883,12 +8877,6 @@ var AssetHubKusama = {
|
|
|
8883
8877
|
}
|
|
8884
8878
|
},
|
|
8885
8879
|
existentialDeposit: "3333333"
|
|
8886
|
-
},
|
|
8887
|
-
{
|
|
8888
|
-
symbol: "DOT",
|
|
8889
|
-
decimals: 12,
|
|
8890
|
-
isNative: true,
|
|
8891
|
-
manuallyAdded: true
|
|
8892
8880
|
}
|
|
8893
8881
|
],
|
|
8894
8882
|
otherAssets: [
|
|
@@ -11516,13 +11504,9 @@ var getSupportedAssets = function getSupportedAssets(origin, destination) {
|
|
|
11516
11504
|
return [].concat(_toConsumableArray(ethereumCompatibleAssets), _toConsumableArray(ethereumAssets));
|
|
11517
11505
|
}
|
|
11518
11506
|
if (origin === 'AssetHubPolkadot' && destination === 'AssetHubKusama' || origin === 'AssetHubKusama' && destination === 'AssetHubPolkadot') {
|
|
11519
|
-
|
|
11520
|
-
symbol
|
|
11521
|
-
}
|
|
11522
|
-
var kusamaAsset = findAsset('Kusama', {
|
|
11523
|
-
symbol: 'KSM'
|
|
11524
|
-
}, null);
|
|
11525
|
-
return [].concat(_toConsumableArray(polkadotAsset ? [polkadotAsset] : []), _toConsumableArray(kusamaAsset ? [kusamaAsset] : []));
|
|
11507
|
+
return originAssets.filter(function (asset) {
|
|
11508
|
+
return asset.symbol === 'KSM' || asset.symbol === 'DOT';
|
|
11509
|
+
});
|
|
11526
11510
|
}
|
|
11527
11511
|
var supportedAssets = originAssets.filter(function (asset) {
|
|
11528
11512
|
return destinationAssets.some(function (a) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/assets",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.5",
|
|
4
4
|
"description": "Assets for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@paraspell/sdk-common": "8.9.
|
|
26
|
+
"@paraspell/sdk-common": "8.9.5"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-syntax-import-attributes": "^7.26.0",
|