@paraspell/sdk-pjs 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.d.ts +42 -3
- package/package.json +11 -11
package/dist/index.d.ts
CHANGED
|
@@ -100,7 +100,37 @@ declare const assets_hasSupportForAsset: typeof hasSupportForAsset;
|
|
|
100
100
|
declare const assets_isNodeEvm: typeof isNodeEvm;
|
|
101
101
|
declare const assets_verifyEdOnDestination: typeof verifyEdOnDestination;
|
|
102
102
|
declare namespace assets {
|
|
103
|
-
export {
|
|
103
|
+
export {
|
|
104
|
+
assets_Foreign as Foreign,
|
|
105
|
+
assets_ForeignAbstract as ForeignAbstract,
|
|
106
|
+
assets_Native as Native,
|
|
107
|
+
assets_Override as Override,
|
|
108
|
+
assets_claimAssets as claimAssets,
|
|
109
|
+
assets_findAsset as findAsset,
|
|
110
|
+
assets_getAllAssetsSymbols as getAllAssetsSymbols,
|
|
111
|
+
assets_getAssetBalance as getAssetBalance,
|
|
112
|
+
assets_getAssetDecimals as getAssetDecimals,
|
|
113
|
+
assets_getAssetId as getAssetId,
|
|
114
|
+
assets_getAssets as getAssets,
|
|
115
|
+
assets_getAssetsObject as getAssetsObject,
|
|
116
|
+
assets_getBalanceForeign as getBalanceForeign,
|
|
117
|
+
assets_getBalanceNative as getBalanceNative,
|
|
118
|
+
assets_getExistentialDeposit as getExistentialDeposit,
|
|
119
|
+
assets_getMaxForeignTransferableAmount as getMaxForeignTransferableAmount,
|
|
120
|
+
assets_getMaxNativeTransferableAmount as getMaxNativeTransferableAmount,
|
|
121
|
+
assets_getNativeAssetSymbol as getNativeAssetSymbol,
|
|
122
|
+
assets_getNativeAssets as getNativeAssets,
|
|
123
|
+
assets_getOriginFeeDetails as getOriginFeeDetails,
|
|
124
|
+
assets_getOtherAssets as getOtherAssets,
|
|
125
|
+
assets_getRelayChainSymbol as getRelayChainSymbol,
|
|
126
|
+
assets_getSupportedAssets as getSupportedAssets,
|
|
127
|
+
assets_getTNode as getTNode,
|
|
128
|
+
assets_getTransferInfo as getTransferInfo,
|
|
129
|
+
assets_getTransferableAmount as getTransferableAmount,
|
|
130
|
+
assets_hasSupportForAsset as hasSupportForAsset,
|
|
131
|
+
assets_isNodeEvm as isNodeEvm,
|
|
132
|
+
assets_verifyEdOnDestination as verifyEdOnDestination,
|
|
133
|
+
};
|
|
104
134
|
}
|
|
105
135
|
|
|
106
136
|
/**
|
|
@@ -206,9 +236,18 @@ declare const transfer_getTokenBalance: typeof getTokenBalance;
|
|
|
206
236
|
declare const transfer_send: typeof send;
|
|
207
237
|
declare const transfer_transferEthToPolkadot: typeof transferEthToPolkadot;
|
|
208
238
|
declare namespace transfer {
|
|
209
|
-
export {
|
|
239
|
+
export {
|
|
240
|
+
transfer_approveToken as approveToken,
|
|
241
|
+
transfer_depositToken as depositToken,
|
|
242
|
+
transfer_getDryRun as getDryRun,
|
|
243
|
+
transfer_getParaEthTransferFees as getParaEthTransferFees,
|
|
244
|
+
transfer_getTokenBalance as getTokenBalance,
|
|
245
|
+
transfer_send as send,
|
|
246
|
+
transfer_transferEthToPolkadot as transferEthToPolkadot,
|
|
247
|
+
};
|
|
210
248
|
}
|
|
211
249
|
|
|
212
250
|
declare const createApiInstanceForNode: (node: TNodeDotKsmWithRelayChains) => Promise<_polkadot_api.ApiPromise>;
|
|
213
251
|
|
|
214
|
-
export { Builder, EvmBuilder,
|
|
252
|
+
export { Builder, EvmBuilder, approveToken, assets, claimAssets, createApiInstanceForNode, depositToken, getAssetBalance, getBalanceForeign, getBalanceNative, getDryRun, getMaxForeignTransferableAmount, getMaxNativeTransferableAmount, getOriginFeeDetails, getParaEthTransferFees, getTokenBalance, getTransferInfo, getTransferableAmount, send, transferEthToPolkadot, verifyEdOnDestination, transfer as xcmPallet };
|
|
253
|
+
export type { Extrinsic, GeneralBuilder, TPjsApi, TPjsApiOrUrl };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-pjs",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.2",
|
|
4
4
|
"description": "Polkadot.js based SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dist"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@snowbridge/api": "0.1.
|
|
27
|
-
"@snowbridge/contract-types": "0.1.
|
|
26
|
+
"@snowbridge/api": "0.1.45",
|
|
27
|
+
"@snowbridge/contract-types": "0.1.45",
|
|
28
28
|
"ethers": "^6.13.5",
|
|
29
|
-
"viem": "^2.23.
|
|
30
|
-
"@paraspell/sdk-core": "8.9.
|
|
29
|
+
"viem": "^2.23.15",
|
|
30
|
+
"@paraspell/sdk-core": "8.9.2"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@polkadot/api": ">= 15.0 < 16",
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"@rollup/plugin-babel": "^6.0.4",
|
|
44
44
|
"@rollup/plugin-json": "^6.1.0",
|
|
45
45
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
46
|
-
"@vitest/coverage-v8": "^3.0.
|
|
47
|
-
"axios": "^1.8.
|
|
46
|
+
"@vitest/coverage-v8": "^3.0.9",
|
|
47
|
+
"axios": "^1.8.4",
|
|
48
48
|
"dotenv": "^16.4.7",
|
|
49
|
-
"prettier": "^3.5.
|
|
50
|
-
"rollup": "^4.
|
|
51
|
-
"rollup-plugin-dts": "^6.
|
|
49
|
+
"prettier": "^3.5.3",
|
|
50
|
+
"rollup": "^4.37.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",
|