@haven-fi/solauto-sdk 1.0.681 → 1.0.682

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.
@@ -66,7 +66,7 @@ class RebalanceTxBuilder {
66
66
  }
67
67
  async flashLoanRequirements(attemptNum) {
68
68
  const intermediaryLiqUtilizationRateBps = this.intermediaryLiqUtilizationRateBps();
69
- const maxLtvRateBps = (0, utils_1.getMaxLiqUtilizationRateBps)(this.client.pos.state.maxLtvBps, this.client.pos.state.liqThresholdBps, 0.005);
69
+ const maxLtvRateBps = (0, utils_1.getMaxLiqUtilizationRateBps)(this.client.pos.state.maxLtvBps, this.client.pos.state.liqThresholdBps, 0.01);
70
70
  if (intermediaryLiqUtilizationRateBps < maxLtvRateBps) {
71
71
  return undefined;
72
72
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.681",
3
+ "version": "1.0.682",
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",
@@ -162,7 +162,7 @@ export class RebalanceTxBuilder {
162
162
  const maxLtvRateBps = getMaxLiqUtilizationRateBps(
163
163
  this.client.pos.state.maxLtvBps,
164
164
  this.client.pos.state.liqThresholdBps,
165
- 0.005
165
+ 0.01
166
166
  );
167
167
  if (intermediaryLiqUtilizationRateBps < maxLtvRateBps) {
168
168
  return undefined;