@paraspell/sdk 3.0.9 → 3.0.11

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
@@ -10,7 +10,7 @@
10
10
 
11
11
  SDK For XCM & XCMP handling made with ❤️ by ParaSpell✨. It is no longer necessary to construct calls manually. @paraspell/sdk handles this for you. Feel free to become a magician and try your paraSPELLS 🧙✨.
12
12
 
13
- ##### Currently supporting 48 Polkadot & Kusama nodes list [here](https://github.com/paraspell/sdk/blob/main/docs/supportedNodes.md).
13
+ ##### Currently supporting 47 Polkadot & Kusama nodes list [here](https://github.com/paraspell/sdk/blob/main/docs/supportedNodes.md).
14
14
 
15
15
  ### Check out our brand new Wiki documentation! [Wiki docs](https://paraspell.github.io/docs/)
16
16
 
@@ -28,7 +28,7 @@ Our SDK introduced all Polkadot libraries as peer dependencies. The reason for t
28
28
  //npm
29
29
  npm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
30
30
  //yarn
31
- yarn install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
31
+ yarn add @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
32
32
  //pnpm
33
33
  pnpm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-config @polkadot/util
34
34
  ```
@@ -39,7 +39,7 @@ pnpm install @polkadot/api @polkadot/types @polkadot/api-base @polkadot/apps-con
39
39
  //npm
40
40
  npm install @paraspell/sdk
41
41
  //yarn
42
- yarn install @paraspell/sdk
42
+ yarn add @paraspell/sdk
43
43
  //pnpm
44
44
  pnpm install @paraspell/sdk
45
45
  ```
@@ -70,7 +70,8 @@ Builder pattern XCM & HRMP construction
70
70
 
71
71
  ```ts
72
72
  //Transfer tokens from Parachain to Parachain
73
- //**NOTE** If you wish to transfer from Parachain that uses long IDs for example Moonbeam you have to add character 'n' the end of currencyID. Eg: .currency(42259045809535163221576417993425387648n) will mean you transfer xcDOT.
73
+ //**NOTE** If you wish to transfer from Parachain that uses long IDs for example Moonbeam you have to add the character 'n' the end of currencyID. Eg: .currency(42259045809535163221576417993425387648n) will mean you transfer xcDOT.
74
+ //**NOTE2** You can now use custom ParachainIDs if you wish to test in TestNet. Just add parachainID as an additional parameter eg: .to('Basilisk', 2948)
74
75
 
75
76
  Builder(api).from(NODE).to(NODE).currency(CurrencyString||CurrencyID).amount(amount).address(address).build()
76
77