@gearbox-protocol/sdk 3.0.0-next.229 → 3.0.0-next.230

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.
@@ -1625,14 +1625,14 @@ describe("CreditAccount getTimeToLiquidation test", () => {
1625
1625
  healthFactor: 9000,
1626
1626
  totalBorrowRate_debt: 250n,
1627
1627
  });
1628
- (0, chai_1.expect)(result).to.be.eq(0n);
1628
+ (0, chai_1.expect)(result).to.be.eq(null);
1629
1629
  });
1630
1630
  it("should return 0 when br_debt === 0", () => {
1631
1631
  const result = creditAccount_1.CreditAccountData.getTimeToLiquidation({
1632
1632
  healthFactor: 9000,
1633
1633
  totalBorrowRate_debt: 0n,
1634
1634
  });
1635
- (0, chai_1.expect)(result).to.be.eq(0n);
1635
+ (0, chai_1.expect)(result).to.be.eq(null);
1636
1636
  });
1637
1637
  it("should calculate time to liquidation correctly", () => {
1638
1638
  const result = creditAccount_1.CreditAccountData.getTimeToLiquidation({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-next.229",
3
+ "version": "3.0.0-next.230",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",