@haven-fi/solauto-sdk 1.0.669 → 1.0.670
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.
@@ -250,7 +250,7 @@ class PositionRebalanceHelper {
|
|
250
250
|
return "repay";
|
251
251
|
}
|
252
252
|
else if (realtimeLiqUtilRateBps - this.pos.boostFromBps <= bpsDistanceThreshold &&
|
253
|
-
(
|
253
|
+
(skipExtraChecks ||
|
254
254
|
(this.validBoostFromHere() && this.sufficientLiquidityToBoost()))) {
|
255
255
|
return "boost";
|
256
256
|
}
|
package/package.json
CHANGED
@@ -503,7 +503,7 @@ class PositionRebalanceHelper {
|
|
503
503
|
return "repay";
|
504
504
|
} else if (
|
505
505
|
realtimeLiqUtilRateBps - this.pos.boostFromBps <= bpsDistanceThreshold &&
|
506
|
-
(
|
506
|
+
(skipExtraChecks ||
|
507
507
|
(this.validBoostFromHere() && this.sufficientLiquidityToBoost()))
|
508
508
|
) {
|
509
509
|
return "boost";
|