@paraspell/swap 13.8.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 +14 -14
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createChainClient as createChainClient$1, registerSwapExtension } from '@paraspell/sdk';
|
|
2
|
-
import { UnsupportedOperationError, assertCurrencyCore, dryRun, getFailureInfo, DryRunFailedError, isConfig, getNativeAssets, RoutingResolutionError, findAssetInfoById, getOtherAssets, getChainProviders, parseUnits, getNativeAssetSymbol, padValueBy, formatUnits as formatUnits$1, AmountTooLowError, getBalance, localizeLocation, getAssets, Parents, isSymbolMatch, getParaId, UnableToComputeError, getAssetDecimals, findNativeAssetInfoOrThrow, InvalidCurrencyError, findAssetInfoOrThrow, isOverrideLocationSpecifier, findAssetInfoByLoc, isSymbolSpecifier, findBestMatches, findAssetInfoBySymbol, deepEqual, normalizeExchange, EXCHANGE_CHAINS, reverseTransformLocation, getAssetsImpl, isAssetEqual, isExternalChain, isSystemAsset,
|
|
2
|
+
import { UnsupportedOperationError, assertCurrencyCore, dryRun, getFailureInfo, DryRunFailedError, isConfig, getNativeAssets, RoutingResolutionError, findAssetInfoById, getOtherAssets, getChainProviders, parseUnits, getNativeAssetSymbol, padValueBy, formatUnits as formatUnits$1, AmountTooLowError, getBalance, localizeLocation, getAssets, Parents, isSymbolMatch, getParaId, UnableToComputeError, getAssetDecimals, findNativeAssetInfoOrThrow, InvalidCurrencyError, findAssetInfoOrThrow, isOverrideLocationSpecifier, findAssetInfoByLoc, isSymbolSpecifier, findBestMatches, findAssetInfoBySymbol, deepEqual, normalizeExchange, EXCHANGE_CHAINS, reverseTransformLocation, getAssetsImpl, isAssetEqual, isExternalChain, isSystemAsset, ScenarioNotSupportedError, applyDecimalAbstraction, findAssetInfo, getRelayChainOf, hasSupportForAsset, Builder, isChainEvm, convertBuilderConfig, handleSwapExecuteTransfer, getXcmFee, getOriginXcmFee as getOriginXcmFee$1, InvalidAddressError, MissingParameterError, BatchMode, createChainClient as createChainClient$2, getExistentialDepositOrThrow, buildHopInfo, getRelayChainSymbol, aggregateHopFees, buildDestInfo, buildOriginInfo } from '@paraspell/sdk-core';
|
|
3
3
|
import { toHex } from 'polkadot-api/utils';
|
|
4
4
|
import 'polkadot-api';
|
|
5
5
|
import { Wallet } from '@acala-network/sdk';
|
|
@@ -9958,7 +9958,7 @@ var canBuildToExchangeTx = /*#__PURE__*/function () {
|
|
|
9958
9958
|
case 5:
|
|
9959
9959
|
_context.p = 5;
|
|
9960
9960
|
_t2 = _context.v;
|
|
9961
|
-
if (!(_t2 instanceof
|
|
9961
|
+
if (!(_t2 instanceof ScenarioNotSupportedError)) {
|
|
9962
9962
|
_context.n = 6;
|
|
9963
9963
|
break;
|
|
9964
9964
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/swap",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.10.0",
|
|
4
4
|
"description": "Tool for XCM cross-chain asset exchanging across Polkadot and Kusama ecosystems",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@crypto-dex-sdk/math": "^0.1.5",
|
|
34
34
|
"@crypto-dex-sdk/parachains-bifrost": "^0.1.5",
|
|
35
35
|
"@crypto-dex-sdk/token-lists": "^0.1.4",
|
|
36
|
-
"@galacticcouncil/descriptors": "^2.
|
|
36
|
+
"@galacticcouncil/descriptors": "^2.4.0",
|
|
37
37
|
"@galacticcouncil/sdk-next": "^1.3.0",
|
|
38
38
|
"@polkadot/api": "^16.5.6",
|
|
39
39
|
"@polkadot/api-base": "^16.5.6",
|
|
@@ -41,30 +41,30 @@
|
|
|
41
41
|
"@polkadot/types-codec": "^16.5.6",
|
|
42
42
|
"@polkadot/util": "^14.0.3",
|
|
43
43
|
"@zenlink-types/bifrost": "^1.7.7",
|
|
44
|
-
"axios": "^1.
|
|
44
|
+
"axios": "^1.18.1",
|
|
45
45
|
"ethers": "^5.8.0",
|
|
46
|
-
"ethers-v6": "npm:ethers
|
|
46
|
+
"ethers-v6": "npm:ethers@6.16.0",
|
|
47
47
|
"jsbi": "^4.3.2",
|
|
48
48
|
"lodash-es": "^4.18.1",
|
|
49
|
-
"polkadot-api": "^2.1.
|
|
50
|
-
"postcss": "^8.5.
|
|
51
|
-
"react": "^19.2.
|
|
49
|
+
"polkadot-api": "^2.1.7",
|
|
50
|
+
"postcss": "^8.5.16",
|
|
51
|
+
"react": "^19.2.7",
|
|
52
52
|
"rxjs": "^7.8.2",
|
|
53
|
-
"@paraspell/sdk": "13.
|
|
54
|
-
"@paraspell/sdk-
|
|
55
|
-
"@paraspell/sdk-
|
|
56
|
-
"@paraspell/sdk-
|
|
53
|
+
"@paraspell/sdk": "13.10.0",
|
|
54
|
+
"@paraspell/sdk-core": "13.10.0",
|
|
55
|
+
"@paraspell/sdk-pjs": "13.10.0",
|
|
56
|
+
"@paraspell/sdk-common": "13.10.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@babel/plugin-syntax-import-attributes": "^7.29.7",
|
|
60
60
|
"@babel/preset-env": "^7.29.7",
|
|
61
61
|
"@codecov/rollup-plugin": "^2.0.1",
|
|
62
|
-
"@rollup/plugin-babel": "^7.
|
|
62
|
+
"@rollup/plugin-babel": "^7.1.0",
|
|
63
63
|
"@rollup/plugin-json": "^6.1.0",
|
|
64
64
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
65
|
-
"@vitest/coverage-v8": "^4.1.
|
|
65
|
+
"@vitest/coverage-v8": "^4.1.9",
|
|
66
66
|
"dotenv": "^17.4.2",
|
|
67
|
-
"rollup": "^4.
|
|
67
|
+
"rollup": "^4.62.2",
|
|
68
68
|
"rollup-plugin-dts": "^6.4.1",
|
|
69
69
|
"tsx": "^4.22.4"
|
|
70
70
|
},
|