@paraspell/sdk 11.0.1 → 11.1.1
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 +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -478,7 +478,7 @@ CHAINS
|
|
|
478
478
|
For full documentation with examples on this feature head over to [official documentation](https://paraspell.github.io/docs/sdk/NodePallets.html).
|
|
479
479
|
|
|
480
480
|
```ts
|
|
481
|
-
import { getDefaultPallet, getSupportedPallets, getPalletIndex SUPPORTED_PALLETS } from '@paraspell/sdk';
|
|
481
|
+
import { getDefaultPallet, getSupportedPallets, getPalletIndex, getNativeAssetsPallet, getOtherAssetsPallets, SUPPORTED_PALLETS } from '@paraspell/sdk';
|
|
482
482
|
|
|
483
483
|
//Retrieve default pallet for specific Parachain
|
|
484
484
|
getDefaultPallet(CHAIN)
|
|
@@ -489,6 +489,12 @@ getSupportedPallets(CHAIN)
|
|
|
489
489
|
//Returns index of XCM Pallet used by Parachain
|
|
490
490
|
getPalletIndex(CHAIN)
|
|
491
491
|
|
|
492
|
+
//Returns all pallets for local transfers of native assets for specific chain.
|
|
493
|
+
getNativeAssetsPallet(chain: TChain)
|
|
494
|
+
|
|
495
|
+
//Returns all pallets for local transfers of foreign assets for specific chain.
|
|
496
|
+
getOtherAssetsPallets(CHAIN)
|
|
497
|
+
|
|
492
498
|
// Print all pallets that are currently supported
|
|
493
499
|
console.log(SUPPORTED_PALLETS)
|
|
494
500
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"description": "SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@noble/hashes": "^1.8.0",
|
|
27
27
|
"viem": "^2.33.2",
|
|
28
|
-
"@paraspell/sdk-core": "11.
|
|
28
|
+
"@paraspell/sdk-core": "11.1.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
31
|
"polkadot-api": ">= 1.15.2 < 2"
|