impermax-sdk 1.2.22 → 1.2.23

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.
@@ -57,7 +57,8 @@ class OffchainBorrowable extends offchainPoolToken_1.default {
57
57
  // Borrow tracker
58
58
  getBorrowTracker() {
59
59
  return __awaiter(this, void 0, void 0, function* () {
60
- return this.getPoolTokenParam("borrowTracker");
60
+ const borrowTracker = yield this.getPoolTokenParam("borrowTracker");
61
+ return borrowTracker !== null && borrowTracker !== void 0 ? borrowTracker : "0x0000000000000000000000000000000000000000";
61
62
  });
62
63
  }
63
64
  // Borrow Index
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",