@paraspell/sdk-pjs 14.3.0 → 14.3.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +3 -3
package/dist/index.mjs CHANGED
@@ -327,9 +327,9 @@ var getLocationTokenId = function getLocationTokenId(location, chain) {
327
327
  var foreignAssets = getOtherAssets(chain);
328
328
  if (location.interior.X2 && hasJunction(location, 'PalletInstance', '50') && hasJunction(location, 'GeneralIndex')) {
329
329
  var _foreignAssets$find$s, _foreignAssets$find;
330
- var assetId = getJunctionValue(location, 'GeneralIndex');
330
+ var assetId = String(getJunctionValue(location, 'GeneralIndex')).replace(/,/g, '');
331
331
  return (_foreignAssets$find$s = (_foreignAssets$find = foreignAssets.find(function (asset) {
332
- return asset.assetId === String(assetId);
332
+ return asset.assetId === assetId;
333
333
  })) === null || _foreignAssets$find === void 0 ? void 0 : _foreignAssets$find.symbol) !== null && _foreignAssets$find$s !== void 0 ? _foreignAssets$find$s : null;
334
334
  }
335
335
  return null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-pjs",
3
- "version": "14.3.0",
3
+ "version": "14.3.4",
4
4
  "description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,8 +22,8 @@
22
22
  "dist"
23
23
  ],
24
24
  "dependencies": {
25
- "@paraspell/sdk-common": "14.3.0",
26
- "@paraspell/sdk-core": "14.3.0"
25
+ "@paraspell/sdk-common": "14.3.4",
26
+ "@paraspell/sdk-core": "14.3.4"
27
27
  },
28
28
  "peerDependencies": {
29
29
  "@polkadot/api": ">= 16.0 < 17",