@lifi/sdk 2.5.1 → 2.5.2
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.
|
@@ -91,6 +91,10 @@ class RouteExecutionManager {
|
|
|
91
91
|
// Update amount using output of previous execution. In the future this should be handled by calling `updateRoute`
|
|
92
92
|
if (previousStep?.execution?.toAmount) {
|
|
93
93
|
step.action.fromAmount = previousStep.execution.toAmount;
|
|
94
|
+
if (step.includedSteps?.length) {
|
|
95
|
+
step.includedSteps[0].action.fromAmount =
|
|
96
|
+
previousStep.execution.toAmount;
|
|
97
|
+
}
|
|
94
98
|
}
|
|
95
99
|
try {
|
|
96
100
|
const stepExecutor = new StepExecutor_1.StepExecutor(statusManager, execution.settings);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/sdk";
|
|
2
|
-
export declare const version = "2.5.
|
|
2
|
+
export declare const version = "2.5.2";
|
package/dist/cjs/version.js
CHANGED
|
@@ -85,6 +85,10 @@ export class RouteExecutionManager {
|
|
|
85
85
|
// Update amount using output of previous execution. In the future this should be handled by calling `updateRoute`
|
|
86
86
|
if (previousStep?.execution?.toAmount) {
|
|
87
87
|
step.action.fromAmount = previousStep.execution.toAmount;
|
|
88
|
+
if (step.includedSteps?.length) {
|
|
89
|
+
step.includedSteps[0].action.fromAmount =
|
|
90
|
+
previousStep.execution.toAmount;
|
|
91
|
+
}
|
|
88
92
|
}
|
|
89
93
|
try {
|
|
90
94
|
const stepExecutor = new StepExecutor(statusManager, execution.settings);
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const name = "@lifi/sdk";
|
|
2
|
-
export declare const version = "2.5.
|
|
2
|
+
export declare const version = "2.5.2";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = '@lifi/sdk';
|
|
2
|
-
export const version = '2.5.
|
|
2
|
+
export const version = '2.5.2';
|