@paraspell/assets 10.0.1 → 10.0.2

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
@@ -12128,8 +12128,6 @@ var findAsset = function findAsset(node, currency, destination) {
12128
12128
  } else {
12129
12129
  asset = findAssetById(otherAssets, currency.id);
12130
12130
  }
12131
- } else {
12132
- throw new Error('Invalid currency input');
12133
12131
  }
12134
12132
  return asset !== null && asset !== void 0 ? asset : null;
12135
12133
  };
package/dist/index.mjs CHANGED
@@ -12126,8 +12126,6 @@ var findAsset = function findAsset(node, currency, destination) {
12126
12126
  } else {
12127
12127
  asset = findAssetById(otherAssets, currency.id);
12128
12128
  }
12129
- } else {
12130
- throw new Error('Invalid currency input');
12131
12129
  }
12132
12130
  return asset !== null && asset !== void 0 ? asset : null;
12133
12131
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/assets",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
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.0.1"
26
+ "@paraspell/sdk-common": "10.0.2"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/plugin-syntax-import-attributes": "^7.27.1",