@paraspell/sdk 2.0.2 → 2.0.3
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5232,7 +5232,7 @@ var getAssetBySymbolOrId = function getAssetBySymbolOrId(node, symbolOrId) {
|
|
|
5232
5232
|
otherAssets = _getAssetsObject.otherAssets,
|
|
5233
5233
|
nativeAssets = _getAssetsObject.nativeAssets,
|
|
5234
5234
|
relayChainAssetSymbol = _getAssetsObject.relayChainAssetSymbol;
|
|
5235
|
-
var asset = [].concat(_toConsumableArray(
|
|
5235
|
+
var asset = [].concat(_toConsumableArray(otherAssets), _toConsumableArray(nativeAssets)).find(function (_ref) {
|
|
5236
5236
|
var symbol = _ref.symbol,
|
|
5237
5237
|
assetId = _ref.assetId;
|
|
5238
5238
|
return symbol === symbolOrId || assetId === symbolOrId;
|
package/dist/index.mjs
CHANGED
|
@@ -5230,7 +5230,7 @@ var getAssetBySymbolOrId = function getAssetBySymbolOrId(node, symbolOrId) {
|
|
|
5230
5230
|
otherAssets = _getAssetsObject.otherAssets,
|
|
5231
5231
|
nativeAssets = _getAssetsObject.nativeAssets,
|
|
5232
5232
|
relayChainAssetSymbol = _getAssetsObject.relayChainAssetSymbol;
|
|
5233
|
-
var asset = [].concat(_toConsumableArray(
|
|
5233
|
+
var asset = [].concat(_toConsumableArray(otherAssets), _toConsumableArray(nativeAssets)).find(function (_ref) {
|
|
5234
5234
|
var symbol = _ref.symbol,
|
|
5235
5235
|
assetId = _ref.assetId;
|
|
5236
5236
|
return symbol === symbolOrId || assetId === symbolOrId;
|