@paraspell/sdk 13.9.0 → 13.10.0
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.mjs +2 -2
- package/package.json +8 -8
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getNativeAssetSymbol, getOtherAssets, isSenderSigner, getEvmPrivateKeyHex, NumberFormatError, createClientCache, MAX_CLIENTS, EXTENSION_MS, createClientPoolHelpers, InvalidAddressError, BatchMode, isConfig, findNativeAssetInfoOrThrowImpl, isCustomChain, getChainProvidersImpl, PolkadotApi, Parents, findAssetInfoOrThrowImpl, hasXcmPaymentApiSupportImpl, replaceBigInt, hasDryRunSupportImpl, RuntimeApiUnavailableError, wrapTxBypass, RuntimeApiError, localizeLocation,
|
|
1
|
+
import { getNativeAssetSymbol, getOtherAssets, isSenderSigner, getEvmPrivateKeyHex, NumberFormatError, createClientCache, MAX_CLIENTS, EXTENSION_MS, createClientPoolHelpers, InvalidAddressError, BatchMode, isConfig, findNativeAssetInfoOrThrowImpl, isCustomChain, getChainProvidersImpl, PolkadotApi, Parents, findAssetInfoOrThrowImpl, hasXcmPaymentApiSupportImpl, replaceBigInt, hasDryRunSupportImpl, RuntimeApiUnavailableError, wrapTxBypass, RuntimeApiError, localizeLocation, isAssetEqual, createAssetId, addXcmVersionHeader, RELAY_LOCATION, getRelayChainOfImpl, isRelayChain, padValueBy, SubmitTransactionError, createChainClient as createChainClient$1, getBalance as getBalance$1, Foreign, ForeignAbstract, Native, Override, findAssetInfo, getAllAssetsSymbols, getAssetDecimals, getAssetId, getAssets, getAssetsObject, getExistentialDeposit, getNativeAssets, getRelayChainSymbol, getSupportedAssets, getTChain, hasSupportForAsset, isChainEvm, convertSs58 as convertSs58$1, transferMoonbeamEvm, validateAddress, transferMoonbeamToEth, Builder as Builder$1, CustomChainInvalidError, handleSwapExecuteTransfer as handleSwapExecuteTransfer$1, getBridgeStatus as getBridgeStatus$1, getParaEthTransferFees as getParaEthTransferFees$1, getXcmFee as getXcmFee$1, dryRun as dryRun$1, dryRunOrigin as dryRunOrigin$1, getOriginXcmFee as getOriginXcmFee$1 } from '@paraspell/sdk-core';
|
|
2
2
|
export * from '@paraspell/sdk-core';
|
|
3
3
|
import { secp256k1 } from '@noble/curves/secp256k1.js';
|
|
4
4
|
import { keccak_256 } from '@noble/hashes/sha3.js';
|
|
@@ -1499,7 +1499,7 @@ var PapiApi = /*#__PURE__*/function (_PolkadotApi) {
|
|
|
1499
1499
|
case 7:
|
|
1500
1500
|
deliveryFeeResolved = ((_deliveryFeeRes2 = deliveryFeeRes) === null || _deliveryFeeRes2 === void 0 || (_deliveryFeeRes2 = _deliveryFeeRes2.value) === null || _deliveryFeeRes2 === void 0 ? void 0 : _deliveryFeeRes2.value.length) > 0 ? (_deliveryFeeRes3 = deliveryFeeRes) === null || _deliveryFeeRes3 === void 0 || (_deliveryFeeRes3 = _deliveryFeeRes3.value) === null || _deliveryFeeRes3 === void 0 ? void 0 : _deliveryFeeRes3.value[0].fun.value : 0n;
|
|
1501
1501
|
nativeAsset = findNativeAssetInfoOrThrowImpl(chain, this._customCtx);
|
|
1502
|
-
if (!(
|
|
1502
|
+
if (!(isAssetEqual(asset, nativeAsset) || usedThirdParam)) {
|
|
1503
1503
|
_context12.n = 8;
|
|
1504
1504
|
break;
|
|
1505
1505
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.10.0",
|
|
4
4
|
"description": "SDK for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,26 +26,26 @@
|
|
|
26
26
|
"@polkadot-api/substrate-bindings": "^0.20.3",
|
|
27
27
|
"@polkadot-labs/hdkd": "^0.0.28",
|
|
28
28
|
"@polkadot-labs/hdkd-helpers": "^0.0.30",
|
|
29
|
-
"viem": "^2.
|
|
30
|
-
"@paraspell/sdk-core": "13.
|
|
29
|
+
"viem": "^2.53.1",
|
|
30
|
+
"@paraspell/sdk-core": "13.10.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"polkadot-api": "
|
|
33
|
+
"polkadot-api": "2.1.7"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@acala-network/chopsticks": "^1.
|
|
36
|
+
"@acala-network/chopsticks": "^1.5.0",
|
|
37
37
|
"@babel/plugin-syntax-import-attributes": "^7.29.7",
|
|
38
38
|
"@babel/preset-env": "^7.29.7",
|
|
39
39
|
"@codecov/rollup-plugin": "^2.0.1",
|
|
40
40
|
"@noble/curves": "^2.2.0",
|
|
41
|
-
"@rollup/plugin-babel": "^7.
|
|
41
|
+
"@rollup/plugin-babel": "^7.1.0",
|
|
42
42
|
"@rollup/plugin-json": "^6.1.0",
|
|
43
43
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
44
44
|
"@scure/bip32": "^2.2.0",
|
|
45
45
|
"@scure/bip39": "^2.2.0",
|
|
46
|
-
"@vitest/coverage-v8": "^4.1.
|
|
46
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
47
47
|
"dotenv": "^17.4.2",
|
|
48
|
-
"rollup": "^4.
|
|
48
|
+
"rollup": "^4.62.2",
|
|
49
49
|
"rollup-plugin-dts": "^6.4.1"
|
|
50
50
|
},
|
|
51
51
|
"scripts": {
|