@paraspell/sdk 2.0.1 → 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 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(nativeAssets), _toConsumableArray(otherAssets)).find(function (_ref) {
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(nativeAssets), _toConsumableArray(otherAssets)).find(function (_ref) {
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": "@paraspell/sdk",
6
6
  "license": "MIT",