@paraspell/sdk-pjs 10.4.10 → 10.5.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.
Files changed (2) hide show
  1. package/README.md +4 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -396,7 +396,10 @@ let result = convertSs58(address, node) // returns converted address in string
396
396
  For full documentation with examples on this feature head over to [official documentation](https://paraspell.github.io/docs/sdk/AssetPallet.html).
397
397
 
398
398
  ```ts
399
- import { getFeeAssets, getAssetsObject, getAssetId, getRelayChainSymbol, getNativeAssets, getNativeAssets, getOtherAssets, getAllAssetsSymbols, hasSupportForAsset, getAssetDecimals, getParaId, getTNode, getAssetMultiLocation, NODE_NAMES } from '@paraspell/sdk-pjs'
399
+ import { getSupportedDestinations, getFeeAssets, getAssetsObject, getAssetId, getRelayChainSymbol, getNativeAssets, getNativeAssets, getOtherAssets, getAllAssetsSymbols, hasSupportForAsset, getAssetDecimals, getParaId, getTNode, getAssetMultiLocation, NODE_NAMES } from '@paraspell/sdk-pjs'
400
+
401
+ //Get chains that support the specific asset related to origin
402
+ getSupportedDestinations(NODE, CURRENCY)
400
403
 
401
404
  // Retrieve Fee asset queries (Assets accepted as XCM Fee on specific node)
402
405
  getFeeAssets(NODE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk-pjs",
3
- "version": "10.4.10",
3
+ "version": "10.5.0",
4
4
  "description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,7 +27,7 @@
27
27
  "@snowbridge/contract-types": "0.1.55",
28
28
  "ethers": "^6.14.3",
29
29
  "viem": "^2.30.5",
30
- "@paraspell/sdk-core": "10.4.10"
30
+ "@paraspell/sdk-core": "10.5.0"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@polkadot/api": ">= 16.0 < 17",