@haven-fi/solauto-sdk 1.0.478 → 1.0.479

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.
@@ -193,7 +193,7 @@ function getJupSwapRebalanceDetails(client, values, targetLiqUtilizationRateBps,
193
193
  const { requiresFlashLoan, useDebtLiquidity } = rebalanceRequiresFlashLoan(client, values);
194
194
  const flashLoanRepayFromDebt = repaying && requiresFlashLoan && useDebtLiquidity;
195
195
  const exactOut = targetLiqUtilizationRateBps === 0 ||
196
- values.repayingCloseToMaxLtv ||
196
+ // values.repayingCloseToMaxLtv ||
197
197
  flashLoanRepayFromDebt;
198
198
  const exactIn = !exactOut;
199
199
  const addPadding = exactOut;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.478",
3
+ "version": "1.0.479",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Typescript SDK for the Solauto program on the Solana blockchain",
@@ -415,7 +415,7 @@ export function getJupSwapRebalanceDetails(
415
415
 
416
416
  const exactOut =
417
417
  targetLiqUtilizationRateBps === 0 ||
418
- values.repayingCloseToMaxLtv ||
418
+ // values.repayingCloseToMaxLtv ||
419
419
  flashLoanRepayFromDebt;
420
420
  const exactIn = !exactOut;
421
421