@paraspell/sdk 8.5.0 → 8.5.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.
Files changed (2) hide show
  1. package/README.md +4 -5
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  <img alt="downloads" src="https://img.shields.io/npm/dm/@paraspell/sdk?style=flat-square" />
12
12
  </a>
13
13
  <a href="https://github.com/paraspell/xcm-sdk/actions">
14
- <img alt="build" src="https://github.com/paraspell/xcm-sdk/actions/workflows/release.yml/badge.svg" />
14
+ <img alt="build" src="https://github.com/paraspell/xcm-tools/actions/workflows/ci.yml/badge.svg" />
15
15
  </a>
16
16
  <a href="https://snyk.io/test/github/paraspell/sdk">
17
17
  <img alt="snyk" src="https://snyk.io/test/github/paraspell/sdk/badge.svg" />
@@ -225,7 +225,7 @@ const result = await Builder(API /*optional*/)
225
225
  .dryRun(SENDER_ADDRESS)
226
226
 
227
227
  //Function pattern
228
- getDryRun({api /*optional*/, node, address /*sender address*/, tx /* Extrinsic object */})
228
+ await getDryRun({api /*optional*/, node, address /*sender address*/, tx /* Extrinsic object */})
229
229
  ```
230
230
 
231
231
  ### Asset claim:
@@ -334,9 +334,8 @@ await getTransferableAmount({address, node, currency /*- {id: currencyID} | {sym
334
334
  //Get all the information about XCM transfer
335
335
  await getTransferInfo({from, to, address, destinationAddress, currency /*- {id: currencyID} | {symbol: currencySymbol} | {symbol: Native('currencySymbol')} | {symbol: Foreign('currencySymbol')} | {symbol: ForeignAbstract('currencySymbol')} | {multilocation: AssetMultilocationString | AssetMultilocationJson}*/, amount, api /* api/ws_url_string optional */})
336
336
 
337
- //Get bridge and execution fee for transfer from Parachain to Ethereum. Returns as an object of 2 values
338
- await getParaEthTransferFees(/*api - optional (Can also be WS port string or array o WS ports. Must be AssetHubPolkadot WS!)*/): [bridgeFee, executionFee]
339
-
337
+ //Get bridge and execution fee for transfer from Parachain to Ethereum. Returns as an object of 2 values - [bridgeFee, executionFee]
338
+ await getParaEthTransferFees(/*api - optional (Can also be WS port string or array o WS ports. Must be AssetHubPolkadot WS!)*/)
340
339
  ```
341
340
 
342
341
  ## 💻 Tests
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "8.5.0",
3
+ "version": "8.5.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
  "ethers": "^6.13.5",
27
27
  "viem": "^2.22.22",
28
- "@paraspell/sdk-core": "8.5.0"
28
+ "@paraspell/sdk-core": "8.5.1"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "polkadot-api": ">= 1.8.4 < 2"