@paraspell/swap 14.1.1 → 14.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/README.md CHANGED
@@ -15,7 +15,7 @@
15
15
  </a>
16
16
  </p>
17
17
  <p>How to swap <a href = "https://paraspell.github.io/docs/xcm-sdk/send-xcm.html#swap" \>[here]</p>
18
- <p>XCM SDK starter template project <a href = "https://github.com/paraspell/xcm-sdk-template" \>[here]</p>
18
+ <p>Generate XCM SDK starter project <a href="https://paraspell.github.io/docs/paraspell-cli/getting-started.html">[here]</a></p>
19
19
  </div>
20
20
 
21
21
  <br /><br />
package/dist/index.mjs CHANGED
@@ -9790,7 +9790,7 @@ var getExchangeAsset = function getExchangeAsset(exchange, currency) {
9790
9790
  }
9791
9791
  asset = findAssetInfoBySymbol(otherAssets, nativeAssets, currency.symbol);
9792
9792
  } else if ('id' in currency) {
9793
- asset = findAssetInfoById(otherAssets, currency.id);
9793
+ asset = findAssetInfoById(assets, currency.id);
9794
9794
  } else {
9795
9795
  throw new RoutingResolutionError('Invalid currency input');
9796
9796
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/swap",
3
- "version": "14.1.1",
3
+ "version": "14.2.0",
4
4
  "description": "Tool for XCM cross-chain asset exchanging across Polkadot and Kusama ecosystems",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,10 +47,10 @@
47
47
  "polkadot-api": "^2.2.1",
48
48
  "react": "^19.2.8",
49
49
  "rxjs": "^7.8.2",
50
- "@paraspell/sdk-common": "14.1.1",
51
- "@paraspell/sdk": "14.1.1",
52
- "@paraspell/sdk-pjs": "14.1.1",
53
- "@paraspell/sdk-core": "14.1.1"
50
+ "@paraspell/sdk-common": "14.2.0",
51
+ "@paraspell/sdk": "14.2.0",
52
+ "@paraspell/sdk-core": "14.2.0",
53
+ "@paraspell/sdk-pjs": "14.2.0"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@babel/plugin-syntax-import-attributes": "^7.29.7",