@lifi/sdk
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -94,2 +94,6 @@ "use strict"; | ||
step.action.fromAmount = previousStep.execution.toAmount; | ||
if (step.includedSteps?.length) { | ||
step.includedSteps[0].action.fromAmount = | ||
previousStep.execution.toAmount; | ||
} | ||
} | ||
@@ -96,0 +100,0 @@ try { |
export declare const name = "@lifi/sdk"; | ||
export declare const version = "2.5.1"; | ||
export declare const version = "2.5.2"; |
@@ -5,2 +5,2 @@ "use strict"; | ||
exports.name = '@lifi/sdk'; | ||
exports.version = '2.5.1'; | ||
exports.version = '2.5.2'; |
@@ -88,2 +88,6 @@ import ConfigService from '../services/ConfigService'; | ||
step.action.fromAmount = previousStep.execution.toAmount; | ||
if (step.includedSteps?.length) { | ||
step.includedSteps[0].action.fromAmount = | ||
previousStep.execution.toAmount; | ||
} | ||
} | ||
@@ -90,0 +94,0 @@ try { |
export declare const name = "@lifi/sdk"; | ||
export declare const version = "2.5.1"; | ||
export declare const version = "2.5.2"; |
export const name = '@lifi/sdk'; | ||
export const version = '2.5.1'; | ||
export const version = '2.5.2'; |
{ | ||
"name": "@lifi/sdk", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"description": "LI.FI Any-to-Any Cross-Chain-Swap SDK", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
402657
8761