@paraspell/swap 14.1.0-rc.1 → 14.1.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.
- package/dist/index.mjs +193 -72
- package/package.json +19 -22
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createChainClient as createChainClient$1,
|
|
1
|
+
import { createChainClient as createChainClient$1, registerSwapExtension } from '@paraspell/sdk';
|
|
2
2
|
import { UnsupportedOperationError, assertCurrencyCore, dryRun, getDryRunError, DryRunFailedError, isConfig, getNativeAssets, RoutingResolutionError, findAssetInfoById, getOtherAssets, getChainProviders, parseUnits, getNativeAssetSymbol, padValueBy, formatUnits as formatUnits$1, AmountTooLowError, getBalance, localizeLocation, getAssets, Parents, isSymbolMatch, getParaId, UnableToComputeError, findNativeAssetInfoOrThrow, InvalidCurrencyError, findAssetInfoOrThrow, findAssetInfoByLoc, isSymbolSpecifier, findBestMatches, findAssetInfoBySymbol, deepEqual, normalizeExchange, EXCHANGE_CHAINS, reverseTransformLocation, getAssetsImpl, isAssetEqual, isExternalChain, isSystemAsset, ScenarioNotSupportedError, applyDecimalAbstraction, findAssetInfo, getRelayChainOf, 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';
|
|
@@ -451,7 +451,7 @@ var calculateTxFeePjs = /*#__PURE__*/function () {
|
|
|
451
451
|
}();
|
|
452
452
|
|
|
453
453
|
var isPapiTransaction = function isPapiTransaction(tx) {
|
|
454
|
-
return _typeof(tx) === 'object' && tx !== null && 'getEncodedData' in tx && typeof tx.getEncodedData === 'function' && '
|
|
454
|
+
return _typeof(tx) === 'object' && tx !== null && 'getEncodedData' in tx && typeof tx.getEncodedData === 'function' && 'signSubmitAndWatch' in tx && typeof tx.signSubmitAndWatch === 'function';
|
|
455
455
|
};
|
|
456
456
|
|
|
457
457
|
var isPjsExtrinsic = function isPjsExtrinsic(tx) {
|
|
@@ -928,6 +928,19 @@ var AssetHubPolkadot = {
|
|
|
928
928
|
]
|
|
929
929
|
}
|
|
930
930
|
},
|
|
931
|
+
{
|
|
932
|
+
parents: 1,
|
|
933
|
+
interior: {
|
|
934
|
+
X2: [
|
|
935
|
+
{
|
|
936
|
+
Parachain: 2034
|
|
937
|
+
},
|
|
938
|
+
{
|
|
939
|
+
GeneralIndex: 222
|
|
940
|
+
}
|
|
941
|
+
]
|
|
942
|
+
}
|
|
943
|
+
},
|
|
931
944
|
{
|
|
932
945
|
parents: 2,
|
|
933
946
|
interior: {
|
|
@@ -1144,6 +1157,16 @@ var AssetHubPolkadot = {
|
|
|
1144
1157
|
]
|
|
1145
1158
|
}
|
|
1146
1159
|
},
|
|
1160
|
+
{
|
|
1161
|
+
parents: 1,
|
|
1162
|
+
interior: {
|
|
1163
|
+
X1: [
|
|
1164
|
+
{
|
|
1165
|
+
Parachain: 3388
|
|
1166
|
+
}
|
|
1167
|
+
]
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1147
1170
|
{
|
|
1148
1171
|
parents: 1,
|
|
1149
1172
|
interior: {
|
|
@@ -1759,17 +1782,23 @@ var Hydration = {
|
|
|
1759
1782
|
{
|
|
1760
1783
|
parents: 1,
|
|
1761
1784
|
interior: {
|
|
1762
|
-
|
|
1785
|
+
X4: [
|
|
1763
1786
|
{
|
|
1764
|
-
Parachain:
|
|
1787
|
+
Parachain: 2034
|
|
1765
1788
|
},
|
|
1766
1789
|
{
|
|
1767
|
-
|
|
1790
|
+
GeneralKey: {
|
|
1791
|
+
length: 2,
|
|
1792
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
1793
|
+
}
|
|
1768
1794
|
},
|
|
1769
1795
|
{
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1796
|
+
GeneralIndex: 2
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
GeneralKey: {
|
|
1800
|
+
length: 32,
|
|
1801
|
+
data: "0x000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
|
|
1773
1802
|
}
|
|
1774
1803
|
}
|
|
1775
1804
|
]
|
|
@@ -1804,17 +1833,23 @@ var Hydration = {
|
|
|
1804
1833
|
{
|
|
1805
1834
|
parents: 1,
|
|
1806
1835
|
interior: {
|
|
1807
|
-
|
|
1836
|
+
X4: [
|
|
1808
1837
|
{
|
|
1809
|
-
Parachain:
|
|
1838
|
+
Parachain: 2034
|
|
1810
1839
|
},
|
|
1811
1840
|
{
|
|
1812
|
-
|
|
1841
|
+
GeneralKey: {
|
|
1842
|
+
length: 2,
|
|
1843
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
1844
|
+
}
|
|
1813
1845
|
},
|
|
1814
1846
|
{
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1847
|
+
GeneralIndex: 2
|
|
1848
|
+
},
|
|
1849
|
+
{
|
|
1850
|
+
GeneralKey: {
|
|
1851
|
+
length: 32,
|
|
1852
|
+
data: "0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
|
|
1818
1853
|
}
|
|
1819
1854
|
}
|
|
1820
1855
|
]
|
|
@@ -2088,17 +2123,23 @@ var Hydration = {
|
|
|
2088
2123
|
{
|
|
2089
2124
|
parents: 1,
|
|
2090
2125
|
interior: {
|
|
2091
|
-
|
|
2126
|
+
X4: [
|
|
2092
2127
|
{
|
|
2093
|
-
Parachain:
|
|
2128
|
+
Parachain: 2034
|
|
2094
2129
|
},
|
|
2095
2130
|
{
|
|
2096
|
-
|
|
2131
|
+
GeneralKey: {
|
|
2132
|
+
length: 2,
|
|
2133
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2134
|
+
}
|
|
2097
2135
|
},
|
|
2098
2136
|
{
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2137
|
+
GeneralIndex: 2
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
GeneralKey: {
|
|
2141
|
+
length: 32,
|
|
2142
|
+
data: "0x0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599"
|
|
2102
2143
|
}
|
|
2103
2144
|
}
|
|
2104
2145
|
]
|
|
@@ -2225,17 +2266,23 @@ var Hydration = {
|
|
|
2225
2266
|
{
|
|
2226
2267
|
parents: 1,
|
|
2227
2268
|
interior: {
|
|
2228
|
-
|
|
2269
|
+
X4: [
|
|
2229
2270
|
{
|
|
2230
|
-
Parachain:
|
|
2271
|
+
Parachain: 2034
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
GeneralKey: {
|
|
2275
|
+
length: 2,
|
|
2276
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2277
|
+
}
|
|
2231
2278
|
},
|
|
2232
2279
|
{
|
|
2233
|
-
|
|
2280
|
+
GeneralIndex: 30
|
|
2234
2281
|
},
|
|
2235
2282
|
{
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2283
|
+
GeneralKey: {
|
|
2284
|
+
length: 32,
|
|
2285
|
+
data: "0x00000000000000000000000060a3e35cc302bfa44cb288bc5a4f316fdb1adb42"
|
|
2239
2286
|
}
|
|
2240
2287
|
}
|
|
2241
2288
|
]
|
|
@@ -2296,17 +2343,23 @@ var Hydration = {
|
|
|
2296
2343
|
{
|
|
2297
2344
|
parents: 1,
|
|
2298
2345
|
interior: {
|
|
2299
|
-
|
|
2346
|
+
X4: [
|
|
2300
2347
|
{
|
|
2301
|
-
Parachain:
|
|
2348
|
+
Parachain: 2034
|
|
2302
2349
|
},
|
|
2303
2350
|
{
|
|
2304
|
-
|
|
2351
|
+
GeneralKey: {
|
|
2352
|
+
length: 2,
|
|
2353
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2354
|
+
}
|
|
2305
2355
|
},
|
|
2306
2356
|
{
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2357
|
+
GeneralIndex: 1
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
GeneralKey: {
|
|
2361
|
+
length: 32,
|
|
2362
|
+
data: "0xfcd141e9832caf10ad917495ca0f271b5b293cd47027ea737007ed40eb39a0bd"
|
|
2310
2363
|
}
|
|
2311
2364
|
}
|
|
2312
2365
|
]
|
|
@@ -2392,17 +2445,23 @@ var Hydration = {
|
|
|
2392
2445
|
{
|
|
2393
2446
|
parents: 1,
|
|
2394
2447
|
interior: {
|
|
2395
|
-
|
|
2448
|
+
X4: [
|
|
2396
2449
|
{
|
|
2397
|
-
Parachain:
|
|
2450
|
+
Parachain: 2034
|
|
2398
2451
|
},
|
|
2399
2452
|
{
|
|
2400
|
-
|
|
2453
|
+
GeneralKey: {
|
|
2454
|
+
length: 2,
|
|
2455
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2456
|
+
}
|
|
2401
2457
|
},
|
|
2402
2458
|
{
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2459
|
+
GeneralIndex: 2
|
|
2460
|
+
},
|
|
2461
|
+
{
|
|
2462
|
+
GeneralKey: {
|
|
2463
|
+
length: 32,
|
|
2464
|
+
data: "0x000000000000000000000000a3931d71877c0e7a3148cb7eb4463524fec27fbd"
|
|
2406
2465
|
}
|
|
2407
2466
|
}
|
|
2408
2467
|
]
|
|
@@ -2438,6 +2497,22 @@ var Hydration = {
|
|
|
2438
2497
|
]
|
|
2439
2498
|
}
|
|
2440
2499
|
},
|
|
2500
|
+
{
|
|
2501
|
+
parents: 1,
|
|
2502
|
+
interior: {
|
|
2503
|
+
X2: [
|
|
2504
|
+
{
|
|
2505
|
+
Parachain: 2034
|
|
2506
|
+
},
|
|
2507
|
+
{
|
|
2508
|
+
AccountKey20: {
|
|
2509
|
+
network: null,
|
|
2510
|
+
key: "0x6a21891db0940491603f3cca0a9f4dba4c6e810c"
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
]
|
|
2514
|
+
}
|
|
2515
|
+
},
|
|
2441
2516
|
{
|
|
2442
2517
|
parents: 1,
|
|
2443
2518
|
interior: {
|
|
@@ -2471,17 +2546,23 @@ var Hydration = {
|
|
|
2471
2546
|
{
|
|
2472
2547
|
parents: 1,
|
|
2473
2548
|
interior: {
|
|
2474
|
-
|
|
2549
|
+
X4: [
|
|
2475
2550
|
{
|
|
2476
|
-
Parachain:
|
|
2551
|
+
Parachain: 2034
|
|
2552
|
+
},
|
|
2553
|
+
{
|
|
2554
|
+
GeneralKey: {
|
|
2555
|
+
length: 2,
|
|
2556
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2557
|
+
}
|
|
2477
2558
|
},
|
|
2478
2559
|
{
|
|
2479
|
-
|
|
2560
|
+
GeneralIndex: 21
|
|
2480
2561
|
},
|
|
2481
2562
|
{
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2563
|
+
GeneralKey: {
|
|
2564
|
+
length: 32,
|
|
2565
|
+
data: "0x9258181f5ceac8dbffb7030890243caed69a9599d2886d957a9cb7656af3bdb3"
|
|
2485
2566
|
}
|
|
2486
2567
|
}
|
|
2487
2568
|
]
|
|
@@ -2490,17 +2571,23 @@ var Hydration = {
|
|
|
2490
2571
|
{
|
|
2491
2572
|
parents: 1,
|
|
2492
2573
|
interior: {
|
|
2493
|
-
|
|
2574
|
+
X4: [
|
|
2494
2575
|
{
|
|
2495
|
-
Parachain:
|
|
2576
|
+
Parachain: 2034
|
|
2496
2577
|
},
|
|
2497
2578
|
{
|
|
2498
|
-
|
|
2579
|
+
GeneralKey: {
|
|
2580
|
+
length: 2,
|
|
2581
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2582
|
+
}
|
|
2499
2583
|
},
|
|
2500
2584
|
{
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2585
|
+
GeneralIndex: 1
|
|
2586
|
+
},
|
|
2587
|
+
{
|
|
2588
|
+
GeneralKey: {
|
|
2589
|
+
length: 32,
|
|
2590
|
+
data: "0x26759f460ee5f743ed66d27c8f2a5623bf39d53ed575955320661e6e13e0e3da"
|
|
2504
2591
|
}
|
|
2505
2592
|
}
|
|
2506
2593
|
]
|
|
@@ -2515,17 +2602,23 @@ var Hydration = {
|
|
|
2515
2602
|
{
|
|
2516
2603
|
parents: 1,
|
|
2517
2604
|
interior: {
|
|
2518
|
-
|
|
2605
|
+
X4: [
|
|
2519
2606
|
{
|
|
2520
|
-
Parachain:
|
|
2607
|
+
Parachain: 2034
|
|
2608
|
+
},
|
|
2609
|
+
{
|
|
2610
|
+
GeneralKey: {
|
|
2611
|
+
length: 2,
|
|
2612
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
2613
|
+
}
|
|
2521
2614
|
},
|
|
2522
2615
|
{
|
|
2523
|
-
|
|
2616
|
+
GeneralIndex: 2
|
|
2524
2617
|
},
|
|
2525
2618
|
{
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2619
|
+
GeneralKey: {
|
|
2620
|
+
length: 32,
|
|
2621
|
+
data: "0x0000000000000000000000006b175474e89094c44da98b954eedeac495271d0f"
|
|
2529
2622
|
}
|
|
2530
2623
|
}
|
|
2531
2624
|
]
|
|
@@ -2913,6 +3006,22 @@ var Hydration = {
|
|
|
2913
3006
|
]
|
|
2914
3007
|
}
|
|
2915
3008
|
},
|
|
3009
|
+
{
|
|
3010
|
+
parents: 1,
|
|
3011
|
+
interior: {
|
|
3012
|
+
X2: [
|
|
3013
|
+
{
|
|
3014
|
+
Parachain: 2034
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
AccountKey20: {
|
|
3018
|
+
network: null,
|
|
3019
|
+
key: "0x8184e2f7c477d165772c21f7a2dbbb61a76e7fc4"
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
]
|
|
3023
|
+
}
|
|
3024
|
+
},
|
|
2916
3025
|
{
|
|
2917
3026
|
parents: 1,
|
|
2918
3027
|
interior: {
|
|
@@ -2986,17 +3095,23 @@ var Hydration = {
|
|
|
2986
3095
|
{
|
|
2987
3096
|
parents: 1,
|
|
2988
3097
|
interior: {
|
|
2989
|
-
|
|
3098
|
+
X4: [
|
|
2990
3099
|
{
|
|
2991
|
-
Parachain:
|
|
3100
|
+
Parachain: 2034
|
|
2992
3101
|
},
|
|
2993
3102
|
{
|
|
2994
|
-
|
|
3103
|
+
GeneralKey: {
|
|
3104
|
+
length: 2,
|
|
3105
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
3106
|
+
}
|
|
2995
3107
|
},
|
|
2996
3108
|
{
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3109
|
+
GeneralIndex: 2
|
|
3110
|
+
},
|
|
3111
|
+
{
|
|
3112
|
+
GeneralKey: {
|
|
3113
|
+
length: 32,
|
|
3114
|
+
data: "0x000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7"
|
|
3000
3115
|
}
|
|
3001
3116
|
}
|
|
3002
3117
|
]
|
|
@@ -3083,17 +3198,23 @@ var Hydration = {
|
|
|
3083
3198
|
{
|
|
3084
3199
|
parents: 1,
|
|
3085
3200
|
interior: {
|
|
3086
|
-
|
|
3201
|
+
X4: [
|
|
3087
3202
|
{
|
|
3088
|
-
Parachain:
|
|
3203
|
+
Parachain: 2034
|
|
3204
|
+
},
|
|
3205
|
+
{
|
|
3206
|
+
GeneralKey: {
|
|
3207
|
+
length: 2,
|
|
3208
|
+
data: "0x7768000000000000000000000000000000000000000000000000000000000000"
|
|
3209
|
+
}
|
|
3089
3210
|
},
|
|
3090
3211
|
{
|
|
3091
|
-
|
|
3212
|
+
GeneralIndex: 1
|
|
3092
3213
|
},
|
|
3093
3214
|
{
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
|
|
3215
|
+
GeneralKey: {
|
|
3216
|
+
length: 32,
|
|
3217
|
+
data: "0x069b8857feab8184fb687f634618c035dac439dc1aeb3b5598a0f00000000001"
|
|
3097
3218
|
}
|
|
3098
3219
|
}
|
|
3099
3220
|
]
|
|
@@ -9301,7 +9422,7 @@ var BifrostExchange = /*#__PURE__*/function (_ExchangeChain) {
|
|
|
9301
9422
|
|
|
9302
9423
|
var calculateFee = /*#__PURE__*/function () {
|
|
9303
9424
|
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(_ref, tradeRouter, txBuilderFactory, currencyFromInfo, currencyToInfo, currencyFromDecimals, chain, toDestTransactionFee) {
|
|
9304
|
-
var amount, slippagePct, feeCalcAddress, sender, trade, nativeAsset, substrateTx, tx, _yield$
|
|
9425
|
+
var amount, slippagePct, feeCalcAddress, sender, trade, nativeAsset, substrateTx, tx, _yield$tx$getPaymentI, swapFee, feeNative, currencyFromPriceInfo, currencyFromPrice, feeInCurrencyFrom, finalFee;
|
|
9305
9426
|
return _regenerator().w(function (_context) {
|
|
9306
9427
|
while (1) switch (_context.n) {
|
|
9307
9428
|
case 0:
|
|
@@ -9317,10 +9438,10 @@ var calculateFee = /*#__PURE__*/function () {
|
|
|
9317
9438
|
substrateTx = _context.v;
|
|
9318
9439
|
tx = substrateTx.get();
|
|
9319
9440
|
_context.n = 3;
|
|
9320
|
-
return getPaymentInfo(
|
|
9441
|
+
return tx.getPaymentInfo(feeCalcAddress);
|
|
9321
9442
|
case 3:
|
|
9322
|
-
_yield$
|
|
9323
|
-
swapFee = _yield$
|
|
9443
|
+
_yield$tx$getPaymentI = _context.v;
|
|
9444
|
+
swapFee = _yield$tx$getPaymentI.partial_fee;
|
|
9324
9445
|
feeNative = swapFee + toDestTransactionFee + toDestTransactionFee;
|
|
9325
9446
|
Logger.log('XCM to exch. fee:', toDestTransactionFee, nativeAsset.symbol);
|
|
9326
9447
|
Logger.log('XCM to dest. fee:', toDestTransactionFee, nativeAsset.symbol);
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/swap",
|
|
3
|
-
"version": "14.1.
|
|
3
|
+
"version": "14.1.1",
|
|
4
4
|
"description": "Tool for XCM cross-chain asset exchanging across Polkadot and Kusama ecosystems",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/paraspell/xcm-tools.git",
|
|
8
|
+
"directory": "packages/swap"
|
|
9
|
+
},
|
|
5
10
|
"type": "module",
|
|
6
11
|
"exports": {
|
|
7
12
|
".": {
|
|
@@ -20,12 +25,10 @@
|
|
|
20
25
|
"license": "MIT",
|
|
21
26
|
"dependencies": {
|
|
22
27
|
"@acala-network/api": "^6.3.0",
|
|
23
|
-
"@acala-network/app-util": "^4.1.8-14",
|
|
24
28
|
"@acala-network/eth-providers": "^2.10.0",
|
|
25
29
|
"@acala-network/sdk": "4.1.15",
|
|
26
30
|
"@acala-network/sdk-core": "4.1.15",
|
|
27
31
|
"@acala-network/sdk-swap": "4.1.15",
|
|
28
|
-
"@acala-network/sdk-wallet": "4.1.8-14",
|
|
29
32
|
"@crypto-dex-sdk/amm": "^0.1.5",
|
|
30
33
|
"@crypto-dex-sdk/chain": "^0.1.4",
|
|
31
34
|
"@crypto-dex-sdk/currency": "^0.1.5",
|
|
@@ -33,27 +36,21 @@
|
|
|
33
36
|
"@crypto-dex-sdk/math": "^0.1.5",
|
|
34
37
|
"@crypto-dex-sdk/parachains-bifrost": "^0.1.5",
|
|
35
38
|
"@crypto-dex-sdk/token-lists": "^0.1.4",
|
|
36
|
-
"@galacticcouncil/descriptors": "^2.
|
|
37
|
-
"@galacticcouncil/sdk-next": "^1.
|
|
39
|
+
"@galacticcouncil/descriptors": "^2.6.0",
|
|
40
|
+
"@galacticcouncil/sdk-next": "^1.5.1",
|
|
38
41
|
"@polkadot/api": "^16.5.6",
|
|
39
|
-
"@polkadot/api-base": "^16.5.6",
|
|
40
42
|
"@polkadot/types": "^16.5.6",
|
|
41
|
-
"@polkadot/types-codec": "^16.5.6",
|
|
42
43
|
"@polkadot/util": "^14.0.3",
|
|
43
44
|
"@zenlink-types/bifrost": "^1.7.7",
|
|
44
|
-
"
|
|
45
|
-
"ethers": "
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"lodash-es": "^4.18.1",
|
|
49
|
-
"polkadot-api": "3.0.0-rc.5",
|
|
50
|
-
"postcss": "^8.5.16",
|
|
51
|
-
"react": "^19.2.7",
|
|
45
|
+
"ethers": "~5.7.0",
|
|
46
|
+
"ethers-v6": "npm:ethers@6.17.0",
|
|
47
|
+
"polkadot-api": "^2.2.1",
|
|
48
|
+
"react": "^19.2.8",
|
|
52
49
|
"rxjs": "^7.8.2",
|
|
53
|
-
"@paraspell/sdk": "14.1.
|
|
54
|
-
"@paraspell/sdk
|
|
55
|
-
"@paraspell/sdk-
|
|
56
|
-
"@paraspell/sdk-
|
|
50
|
+
"@paraspell/sdk-common": "14.1.1",
|
|
51
|
+
"@paraspell/sdk": "14.1.1",
|
|
52
|
+
"@paraspell/sdk-pjs": "14.1.1",
|
|
53
|
+
"@paraspell/sdk-core": "14.1.1"
|
|
57
54
|
},
|
|
58
55
|
"devDependencies": {
|
|
59
56
|
"@babel/plugin-syntax-import-attributes": "^7.29.7",
|
|
@@ -62,11 +59,11 @@
|
|
|
62
59
|
"@rollup/plugin-babel": "^7.1.0",
|
|
63
60
|
"@rollup/plugin-json": "^6.1.0",
|
|
64
61
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
65
|
-
"@vitest/coverage-v8": "^4.1.
|
|
62
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
66
63
|
"dotenv": "^17.4.2",
|
|
67
|
-
"rollup": "^4.62.
|
|
64
|
+
"rollup": "^4.62.3",
|
|
68
65
|
"rollup-plugin-dts": "^6.4.1",
|
|
69
|
-
"tsx": "^4.
|
|
66
|
+
"tsx": "^4.23.1"
|
|
70
67
|
},
|
|
71
68
|
"scripts": {
|
|
72
69
|
"compile": "tsc --noEmit",
|