@haven-fi/solauto-sdk 1.0.643 → 1.0.644
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.
@@ -90,7 +90,7 @@ class RebalanceSwapManager {
|
|
90
90
|
const flashLoanRepayFromDebt = !this.isBoost() &&
|
91
91
|
this.flRequirements &&
|
92
92
|
this.flRequirements.liquiditySource === generated_1.TokenType.Debt;
|
93
|
-
const exactOut = flashLoanRepayFromDebt
|
93
|
+
const exactOut = flashLoanRepayFromDebt;
|
94
94
|
const exactIn = !exactOut;
|
95
95
|
if (exactIn && (rebalanceToZero || this.values.repayingCloseToMaxLtv)) {
|
96
96
|
inputAmount = this.bigIntWithIncrement(inputAmount, 0.005);
|
package/package.json
CHANGED
@@ -148,7 +148,7 @@ export class RebalanceSwapManager {
|
|
148
148
|
this.flRequirements &&
|
149
149
|
this.flRequirements.liquiditySource === TokenType.Debt;
|
150
150
|
|
151
|
-
const exactOut = flashLoanRepayFromDebt
|
151
|
+
const exactOut = flashLoanRepayFromDebt;
|
152
152
|
const exactIn = !exactOut;
|
153
153
|
|
154
154
|
if (exactIn && (rebalanceToZero || this.values.repayingCloseToMaxLtv)) {
|