@paraspell/assets 10.1.7 → 10.2.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.cjs +2 -5
- package/dist/index.mjs +2 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -12442,13 +12442,10 @@ var extractMultiAssetLoc = function extractMultiAssetLoc(multiAsset) {
|
|
|
12442
12442
|
|
|
12443
12443
|
var getAssetMultiLocation = function getAssetMultiLocation(node, currency) {
|
|
12444
12444
|
var asset = findAsset(node, currency, null);
|
|
12445
|
-
if (!asset || !
|
|
12445
|
+
if (!asset || !asset.multiLocation) {
|
|
12446
12446
|
return null;
|
|
12447
12447
|
}
|
|
12448
|
-
|
|
12449
|
-
return asset.multiLocation;
|
|
12450
|
-
}
|
|
12451
|
-
return null;
|
|
12448
|
+
return asset.multiLocation;
|
|
12452
12449
|
};
|
|
12453
12450
|
|
|
12454
12451
|
exports.DuplicateAssetError = DuplicateAssetError;
|
package/dist/index.mjs
CHANGED
|
@@ -12440,13 +12440,10 @@ var extractMultiAssetLoc = function extractMultiAssetLoc(multiAsset) {
|
|
|
12440
12440
|
|
|
12441
12441
|
var getAssetMultiLocation = function getAssetMultiLocation(node, currency) {
|
|
12442
12442
|
var asset = findAsset(node, currency, null);
|
|
12443
|
-
if (!asset || !
|
|
12443
|
+
if (!asset || !asset.multiLocation) {
|
|
12444
12444
|
return null;
|
|
12445
12445
|
}
|
|
12446
|
-
|
|
12447
|
-
return asset.multiLocation;
|
|
12448
|
-
}
|
|
12449
|
-
return null;
|
|
12446
|
+
return asset.multiLocation;
|
|
12450
12447
|
};
|
|
12451
12448
|
|
|
12452
12449
|
export { DuplicateAssetError, DuplicateAssetIdError, Foreign, ForeignAbstract, InvalidCurrencyError, Native, Override, compareMultiLocations, extractMultiAssetLoc, filterEthCompatibleAssets, findAsset, findAssetById, findAssetByMultiLocation, findAssetBySymbol, findAssetForNodeOrThrow, findAssetOnDestOrThrow, findBestMatches, getAllAssetsSymbols, getAssetDecimals, getAssetId, getAssetMultiLocation, getAssets, getAssetsObject, getExistentialDeposit, getFeeAssets, getNativeAssetSymbol, getNativeAssets, getOtherAssets, getRelayChainSymbol, getSupportedAssets, hasDryRunSupport, hasSupportForAsset, hasXcmPaymentApiSupport, isAssetEqual, isForeignAsset, isNodeEvm, isOverrideMultiLocationSpecifier, isSymbolSpecifier, isTMultiAsset, normalizeSymbol };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/assets",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.2.0",
|
|
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": "10.
|
|
26
|
+
"@paraspell/sdk-common": "10.2.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@babel/plugin-syntax-import-attributes": "^7.27.1",
|