@paraspell/assets 11.8.3 → 11.8.4

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
@@ -19475,7 +19475,7 @@ var findAssetInfo = function findAssetInfo(chain, currency, destination) {
19475
19475
 
19476
19476
  var findAssetInfoOrThrow = function findAssetInfoOrThrow(chain, currency, destination) {
19477
19477
  var _findAssetInfo;
19478
- var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' ? findAssetInfo('Ethereum', currency, null) : null;
19478
+ var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' || chain === 'Mythos' ? findAssetInfo('Ethereum', currency, null) : null;
19479
19479
  if (!asset) {
19480
19480
  throw new InvalidCurrencyError("Asset ".concat(JSON.stringify(currency, sdkCommon.replaceBigInt), " not found on ").concat(chain));
19481
19481
  }
package/dist/index.mjs CHANGED
@@ -19473,7 +19473,7 @@ var findAssetInfo = function findAssetInfo(chain, currency, destination) {
19473
19473
 
19474
19474
  var findAssetInfoOrThrow = function findAssetInfoOrThrow(chain, currency, destination) {
19475
19475
  var _findAssetInfo;
19476
- var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' ? findAssetInfo('Ethereum', currency, null) : null;
19476
+ var asset = (_findAssetInfo = findAssetInfo(chain, currency, destination)) !== null && _findAssetInfo !== void 0 ? _findAssetInfo : chain === 'AssetHubPolkadot' || chain === 'Mythos' ? findAssetInfo('Ethereum', currency, null) : null;
19477
19477
  if (!asset) {
19478
19478
  throw new InvalidCurrencyError("Asset ".concat(JSON.stringify(currency, replaceBigInt), " not found on ").concat(chain));
19479
19479
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/assets",
3
- "version": "11.8.3",
3
+ "version": "11.8.4",
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": "11.8.3"
26
+ "@paraspell/sdk-common": "11.8.4"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/plugin-syntax-import-attributes": "^7.27.1",