@haven-fi/solauto-sdk 1.0.166 → 1.0.167

Sign up to get free protection for your applications and to get access to all the features.
@@ -191,7 +191,7 @@ class SolautoClient extends txHandler_1.TxHandler {
191
191
  }
192
192
  async maxLtvAndLiqThreshold() {
193
193
  if (this.maxLtvBps !== undefined && this.liqThresholdBps !== undefined) {
194
- return [0, 0];
194
+ return [this.maxLtvBps, this.liqThresholdBps];
195
195
  }
196
196
  return undefined;
197
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.166",
3
+ "version": "1.0.167",
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",
@@ -363,7 +363,7 @@ export abstract class SolautoClient extends TxHandler {
363
363
 
364
364
  async maxLtvAndLiqThreshold(): Promise<[number, number] | undefined> {
365
365
  if (this.maxLtvBps !== undefined && this.liqThresholdBps !== undefined) {
366
- return [0, 0];
366
+ return [this.maxLtvBps, this.liqThresholdBps];
367
367
  }
368
368
  return undefined;
369
369
  }