@haven-fi/solauto-sdk 1.0.149 → 1.0.150

Sign up to get free protection for your applications and to get access to all the features.
@@ -177,7 +177,7 @@ function getJupSwapRebalanceDetails(client, values, targetLiqUtilizationRateBps,
177
177
  BigInt(Math.round(Number(client.solautoPositionState.debt.amountUsed.baseUnit) *
178
178
  // Add this small percentage to account for the APR on the debt between now and the transaction
179
179
  0.0001))
180
- : BigInt(Math.round(Number(inputAmount) * 1.05)),
180
+ : inputAmount,
181
181
  exactOut: exactOut,
182
182
  };
183
183
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.149",
3
+ "version": "1.0.150",
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",
@@ -358,7 +358,7 @@ export function getJupSwapRebalanceDetails(
358
358
  0.0001
359
359
  )
360
360
  )
361
- : BigInt(Math.round(Number(inputAmount) * 1.05)),
361
+ : inputAmount,
362
362
  exactOut: exactOut,
363
363
  };
364
364
  }