@paraspell/assets 12.8.8 → 12.9.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
@@ -31,7 +31,7 @@ This package serves as a `core` component for both `@paraspell/sdk` and `@parasp
31
31
  ### Install package
32
32
 
33
33
  ```bash
34
- pnpm | npm install || yarn add @paraspell/assets
34
+ npm install | pnpm add | yarn add @paraspell/assets
35
35
  ```
36
36
 
37
37
  ### Import functionality
package/dist/index.mjs CHANGED
@@ -7779,6 +7779,24 @@ var AssetHubPolkadot = {
7779
7779
  },
7780
7780
  existentialDeposit: "1"
7781
7781
  },
7782
+ {
7783
+ symbol: "PEN",
7784
+ decimals: 12,
7785
+ location: {
7786
+ parents: 1,
7787
+ interior: {
7788
+ X2: [
7789
+ {
7790
+ Parachain: 2094
7791
+ },
7792
+ {
7793
+ PalletInstance: 10
7794
+ }
7795
+ ]
7796
+ }
7797
+ },
7798
+ existentialDeposit: "1000"
7799
+ },
7782
7800
  {
7783
7801
  symbol: "TRAC",
7784
7802
  decimals: 18,
@@ -11360,7 +11378,8 @@ var AssetHubKusama = {
11360
11378
  ]
11361
11379
  }
11362
11380
  },
11363
- existentialDeposit: "4200000000"
11381
+ existentialDeposit: "4200000000",
11382
+ alias: "XRT1"
11364
11383
  },
11365
11384
  {
11366
11385
  assetId: "16",
@@ -11902,6 +11921,22 @@ var AssetHubKusama = {
11902
11921
  },
11903
11922
  existentialDeposit: "1"
11904
11923
  },
11924
+ {
11925
+ symbol: "XRT",
11926
+ decimals: 9,
11927
+ location: {
11928
+ parents: 1,
11929
+ interior: {
11930
+ X1: [
11931
+ {
11932
+ Parachain: 2048
11933
+ }
11934
+ ]
11935
+ }
11936
+ },
11937
+ existentialDeposit: "1000",
11938
+ alias: "XRT2"
11939
+ },
11905
11940
  {
11906
11941
  symbol: "USDC",
11907
11942
  decimals: 6,
@@ -19628,7 +19663,7 @@ var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAss
19628
19663
  assetsMatches = findBestMatches(nativeAssets, value, 'symbol');
19629
19664
  } else if (type === 'Foreign') {
19630
19665
  var lowerSymbol = value.toLowerCase();
19631
- var otherAssetsMatches = [];
19666
+ var otherAssetsMatches;
19632
19667
  if (destination && isExternalChain(destination)) {
19633
19668
  return findEthMatch(value, otherAssets);
19634
19669
  }
@@ -19663,8 +19698,8 @@ var findAssetInfoBySymbol = function findAssetInfoBySymbol(destination, otherAss
19663
19698
  }
19664
19699
  } else {
19665
19700
  var _lowerSymbol = symbol.toLowerCase();
19666
- var _otherAssetsMatches = [];
19667
- var nativeAssetsMatches = [];
19701
+ var _otherAssetsMatches;
19702
+ var nativeAssetsMatches;
19668
19703
  if (destination && isExternalChain(destination)) {
19669
19704
  return findEthMatch(symbol, otherAssets);
19670
19705
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/assets",
3
- "version": "12.8.8",
3
+ "version": "12.9.0",
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": "12.8.8"
26
+ "@paraspell/sdk-common": "12.9.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@babel/plugin-syntax-import-attributes": "^7.28.6",
@@ -34,13 +34,13 @@
34
34
  "@rollup/plugin-babel": "^6.1.0",
35
35
  "@rollup/plugin-json": "^6.1.0",
36
36
  "@rollup/plugin-typescript": "^12.3.0",
37
- "@snowbridge/registry": "^0.3.2",
37
+ "@snowbridge/registry": "^0.4.4",
38
38
  "@vitest/coverage-v8": "^4.0.18",
39
39
  "dotenv": "^17.3.1",
40
40
  "rollup": "^4.59.0",
41
41
  "rollup-plugin-dts": "^6.3.0",
42
42
  "ts-node": "^10.9.2",
43
- "viem": "2.46.3"
43
+ "viem": "^2.47.1"
44
44
  },
45
45
  "scripts": {
46
46
  "compile": "tsc --noEmit",