@paraspell/sdk 8.9.0 → 8.9.2

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/dist/index.cjs CHANGED
@@ -638,7 +638,7 @@ var _transform = function transform(obj) {
638
638
  }
639
639
  };
640
640
 
641
- var unsupportedNodes = ['ComposableFinance', 'Interlay', 'Parallel', 'CrustShadow', 'Kintsugi', 'ParallelHeiko', 'Picasso', 'RobonomicsKusama', 'Turing', 'Pendulum', 'Subsocial'];
641
+ var unsupportedNodes = ['ComposableFinance', 'Interlay', 'CrustShadow', 'Kintsugi', 'RobonomicsKusama', 'Turing', 'Pendulum', 'Subsocial'];
642
642
  var isHex = function isHex(str) {
643
643
  return typeof str === 'string' && /^0x[0-9a-fA-F]+$/.test(str);
644
644
  };
package/dist/index.d.ts CHANGED
@@ -98,7 +98,37 @@ declare const assets_hasSupportForAsset: typeof hasSupportForAsset;
98
98
  declare const assets_isNodeEvm: typeof isNodeEvm;
99
99
  declare const assets_verifyEdOnDestination: typeof verifyEdOnDestination;
100
100
  declare namespace assets {
101
- export { assets_Foreign as Foreign, assets_ForeignAbstract as ForeignAbstract, assets_Native as Native, assets_Override as Override, assets_claimAssets as claimAssets, assets_findAsset as findAsset, assets_getAllAssetsSymbols as getAllAssetsSymbols, assets_getAssetBalance as getAssetBalance, assets_getAssetDecimals as getAssetDecimals, assets_getAssetId as getAssetId, assets_getAssets as getAssets, assets_getAssetsObject as getAssetsObject, assets_getBalanceForeign as getBalanceForeign, assets_getBalanceNative as getBalanceNative, assets_getExistentialDeposit as getExistentialDeposit, assets_getMaxForeignTransferableAmount as getMaxForeignTransferableAmount, assets_getMaxNativeTransferableAmount as getMaxNativeTransferableAmount, assets_getNativeAssetSymbol as getNativeAssetSymbol, assets_getNativeAssets as getNativeAssets, assets_getOriginFeeDetails as getOriginFeeDetails, assets_getOtherAssets as getOtherAssets, assets_getRelayChainSymbol as getRelayChainSymbol, assets_getSupportedAssets as getSupportedAssets, assets_getTNode as getTNode, assets_getTransferInfo as getTransferInfo, assets_getTransferableAmount as getTransferableAmount, assets_hasSupportForAsset as hasSupportForAsset, assets_isNodeEvm as isNodeEvm, assets_verifyEdOnDestination as verifyEdOnDestination };
101
+ export {
102
+ assets_Foreign as Foreign,
103
+ assets_ForeignAbstract as ForeignAbstract,
104
+ assets_Native as Native,
105
+ assets_Override as Override,
106
+ assets_claimAssets as claimAssets,
107
+ assets_findAsset as findAsset,
108
+ assets_getAllAssetsSymbols as getAllAssetsSymbols,
109
+ assets_getAssetBalance as getAssetBalance,
110
+ assets_getAssetDecimals as getAssetDecimals,
111
+ assets_getAssetId as getAssetId,
112
+ assets_getAssets as getAssets,
113
+ assets_getAssetsObject as getAssetsObject,
114
+ assets_getBalanceForeign as getBalanceForeign,
115
+ assets_getBalanceNative as getBalanceNative,
116
+ assets_getExistentialDeposit as getExistentialDeposit,
117
+ assets_getMaxForeignTransferableAmount as getMaxForeignTransferableAmount,
118
+ assets_getMaxNativeTransferableAmount as getMaxNativeTransferableAmount,
119
+ assets_getNativeAssetSymbol as getNativeAssetSymbol,
120
+ assets_getNativeAssets as getNativeAssets,
121
+ assets_getOriginFeeDetails as getOriginFeeDetails,
122
+ assets_getOtherAssets as getOtherAssets,
123
+ assets_getRelayChainSymbol as getRelayChainSymbol,
124
+ assets_getSupportedAssets as getSupportedAssets,
125
+ assets_getTNode as getTNode,
126
+ assets_getTransferInfo as getTransferInfo,
127
+ assets_getTransferableAmount as getTransferableAmount,
128
+ assets_hasSupportForAsset as hasSupportForAsset,
129
+ assets_isNodeEvm as isNodeEvm,
130
+ assets_verifyEdOnDestination as verifyEdOnDestination,
131
+ };
102
132
  }
103
133
 
104
134
  /**
@@ -183,9 +213,14 @@ declare const transfer_getDryRun: typeof getDryRun;
183
213
  declare const transfer_getParaEthTransferFees: typeof getParaEthTransferFees;
184
214
  declare const transfer_send: typeof send;
185
215
  declare namespace transfer {
186
- export { transfer_getDryRun as getDryRun, transfer_getParaEthTransferFees as getParaEthTransferFees, transfer_send as send };
216
+ export {
217
+ transfer_getDryRun as getDryRun,
218
+ transfer_getParaEthTransferFees as getParaEthTransferFees,
219
+ transfer_send as send,
220
+ };
187
221
  }
188
222
 
189
223
  declare const createApiInstanceForNode: (node: TNodeDotKsmWithRelayChains) => Promise<polkadot_api.PolkadotClient>;
190
224
 
191
- export { Builder, EvmBuilder, type GeneralBuilder, type TEvmNodeFromPapi, type TPapiApi, type TPapiApiOrUrl, type TPapiTransaction, assets, claimAssets, createApiInstanceForNode, getAssetBalance, getBalanceForeign, getBalanceNative, getDryRun, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getOriginFeeDetails, getParaEthTransferFees, getTransferInfo, getTransferableAmount, send, verifyEdOnDestination, transfer as xcmPallet };
225
+ export { Builder, EvmBuilder, assets, claimAssets, createApiInstanceForNode, getAssetBalance, getBalanceForeign, getBalanceNative, getDryRun, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getOriginFeeDetails, getParaEthTransferFees, getTransferInfo, getTransferableAmount, send, verifyEdOnDestination, transfer as xcmPallet };
226
+ export type { GeneralBuilder, TEvmNodeFromPapi, TPapiApi, TPapiApiOrUrl, TPapiTransaction };
package/dist/index.mjs CHANGED
@@ -637,7 +637,7 @@ var _transform = function transform(obj) {
637
637
  }
638
638
  };
639
639
 
640
- var unsupportedNodes = ['ComposableFinance', 'Interlay', 'Parallel', 'CrustShadow', 'Kintsugi', 'ParallelHeiko', 'Picasso', 'RobonomicsKusama', 'Turing', 'Pendulum', 'Subsocial'];
640
+ var unsupportedNodes = ['ComposableFinance', 'Interlay', 'CrustShadow', 'Kintsugi', 'RobonomicsKusama', 'Turing', 'Pendulum', 'Subsocial'];
641
641
  var isHex = function isHex(str) {
642
642
  return typeof str === 'string' && /^0x[0-9a-fA-F]+$/.test(str);
643
643
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraspell/sdk",
3
- "version": "8.9.0",
3
+ "version": "8.9.2",
4
4
  "description": "SDK for ParaSpell XCM/XCMP tool for developers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -24,38 +24,38 @@
24
24
  ],
25
25
  "dependencies": {
26
26
  "ethers": "^6.13.5",
27
- "viem": "^2.23.5",
27
+ "viem": "^2.23.15",
28
28
  "@noble/hashes": "^1.7.1",
29
- "@paraspell/sdk-core": "8.9.0"
29
+ "@paraspell/sdk-core": "8.9.2"
30
30
  },
31
31
  "peerDependencies": {
32
- "polkadot-api": ">= 1.9.3 < 2"
32
+ "polkadot-api": ">= 1.9.7 < 2"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@babel/plugin-syntax-import-attributes": "^7.26.0",
36
36
  "@babel/preset-env": "^7.26.9",
37
37
  "@codecov/rollup-plugin": "^1.9.0",
38
38
  "@noble/curves": "^1.8.1",
39
- "@polkadot-labs/hdkd": "^0.0.12",
40
- "@polkadot-labs/hdkd-helpers": "^0.0.12",
39
+ "@polkadot-labs/hdkd": "^0.0.13",
40
+ "@polkadot-labs/hdkd-helpers": "^0.0.13",
41
41
  "@rollup/plugin-babel": "^6.0.4",
42
42
  "@rollup/plugin-json": "^6.1.0",
43
43
  "@rollup/plugin-typescript": "^12.1.2",
44
44
  "@scure/bip32": "^1.6.2",
45
45
  "@scure/bip39": "^1.5.4",
46
- "@vitest/coverage-v8": "^3.0.7",
47
- "axios": "^1.8.2",
46
+ "@vitest/coverage-v8": "^3.0.9",
47
+ "axios": "^1.8.4",
48
48
  "dotenv": "^16.4.7",
49
- "prettier": "^3.5.2",
50
- "rollup": "^4.34.8",
51
- "rollup-plugin-dts": "^6.1.1",
49
+ "prettier": "^3.5.3",
50
+ "rollup": "^4.7.0",
51
+ "rollup-plugin-dts": "^6.2.1",
52
52
  "tslib": "^2.8.1"
53
53
  },
54
54
  "scripts": {
55
55
  "compile": "tsc --noEmit",
56
56
  "build": "rollup -c",
57
57
  "lint:check": "eslint src",
58
- "lint": "eslint --fix .",
58
+ "lint": "eslint --fix src",
59
59
  "format:check": "prettier --check src",
60
60
  "format:write": "prettier --write src",
61
61
  "test": "vitest run",