@haven-fi/solauto-sdk 1.0.499 → 1.0.500
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.
@@ -192,7 +192,7 @@ function getJupSwapRebalanceDetails(client, values, targetLiqUtilizationRateBps,
|
|
192
192
|
// tokenInfo(client.supplyMint).isMajor || tokenInfo(client.debtMint).isMajor;
|
193
193
|
const inputPadding = targetLiqUtilizationRateBps === 0
|
194
194
|
// && !usingMajor && highLiquidity
|
195
|
-
? 0.
|
195
|
+
? 0.05
|
196
196
|
: 0;
|
197
197
|
if (inputPadding) {
|
198
198
|
inputAmount += BigInt(Math.round(Number(inputAmount) * inputPadding));
|
package/package.json
CHANGED
@@ -404,7 +404,7 @@ export function getJupSwapRebalanceDetails(
|
|
404
404
|
const inputPadding =
|
405
405
|
targetLiqUtilizationRateBps === 0
|
406
406
|
// && !usingMajor && highLiquidity
|
407
|
-
? 0.
|
407
|
+
? 0.05
|
408
408
|
: 0;
|
409
409
|
if (inputPadding) {
|
410
410
|
inputAmount += BigInt(Math.round(Number(inputAmount) * inputPadding));
|