@paraspell/sdk-core 12.9.6 → 12.9.7
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 -10
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -4109,9 +4109,7 @@ var GeneralBuilder = /*#__PURE__*/function () {
|
|
|
4109
4109
|
return _context8.a(2, executeWithRouter(_objectSpread2(_objectSpread2({}, this._options), {}, {
|
|
4110
4110
|
api: this.api,
|
|
4111
4111
|
swapOptions: swapOptions
|
|
4112
|
-
}),
|
|
4113
|
-
// Temporarily use type cast till the swap pkg dep is released and updated
|
|
4114
|
-
function (builder) {
|
|
4112
|
+
}), function (builder) {
|
|
4115
4113
|
return builder.dryRun();
|
|
4116
4114
|
}));
|
|
4117
4115
|
case 1:
|
|
@@ -9717,13 +9715,7 @@ var createRouterBuilder = function createRouterBuilder(options) {
|
|
|
9717
9715
|
}
|
|
9718
9716
|
var config = api.getConfig();
|
|
9719
9717
|
var routerConfig = convertBuilderConfig(config);
|
|
9720
|
-
var builder = RouterBuilder(routerConfig)
|
|
9721
|
-
// Temporarily use type cast till the swap pkg dep is released and updated
|
|
9722
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
|
|
9723
|
-
.from(from).exchange(exchange)
|
|
9724
|
-
// Temporarily use type cast till the swap pkg dep is released and updated
|
|
9725
|
-
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
|
|
9726
|
-
.to(to).currencyFrom(currency).currencyTo(currencyTo).amount(currency.amount).senderAddress(senderAddress).evmSenderAddress(evmSenderAddress).recipientAddress(address).slippagePct((_slippage$toString = slippage === null || slippage === void 0 ? void 0 : slippage.toString()) !== null && _slippage$toString !== void 0 ? _slippage$toString : DEFAULT_SWAP_SLIPPAGE.toString());
|
|
9718
|
+
var builder = RouterBuilder(routerConfig).from(from).exchange(exchange).to(to).currencyFrom(currency).currencyTo(currencyTo).amount(currency.amount).senderAddress(senderAddress).evmSenderAddress(evmSenderAddress).recipientAddress(address).slippagePct((_slippage$toString = slippage === null || slippage === void 0 ? void 0 : slippage.toString()) !== null && _slippage$toString !== void 0 ? _slippage$toString : DEFAULT_SWAP_SLIPPAGE.toString());
|
|
9727
9719
|
if (onStatusChange) {
|
|
9728
9720
|
// We cast because router types are bind to specific PAPI types
|
|
9729
9721
|
// Will be resolved when we make RouterBuilder generic
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paraspell/sdk-core",
|
|
3
|
-
"version": "12.9.
|
|
3
|
+
"version": "12.9.7",
|
|
4
4
|
"description": "SDK core for ParaSpell XCM/XCMP tool for developers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@noble/hashes": "^2.0.1",
|
|
27
27
|
"@scure/base": "^2.0.0",
|
|
28
28
|
"viem": "2.47.1",
|
|
29
|
-
"@paraspell/assets": "12.9.
|
|
30
|
-
"@paraspell/pallets": "12.9.
|
|
31
|
-
"@paraspell/sdk-common": "12.9.
|
|
29
|
+
"@paraspell/assets": "12.9.7",
|
|
30
|
+
"@paraspell/pallets": "12.9.7",
|
|
31
|
+
"@paraspell/sdk-common": "12.9.7"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@paraspell/swap": "^12.0.0"
|