impermax-sdk 2.1.253 → 2.1.254

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.
@@ -174,13 +174,14 @@ class OffchainLendingPool {
174
174
  // - Both tokens are stables
175
175
  // - factory type is "7" (ie. SOL_STABLE)
176
176
  async isStable() {
177
- const [stables, token0, token1] = await Promise.all([
178
- this.getOffchain().getAPRHelper().getAllStablecoins(),
179
- this.getBorrowableA().getSymbol(),
180
- this.getBorrowableB().getSymbol(),
181
- ]);
182
- const bothStable = stables.includes(token0) && stables.includes(token1);
183
- if (bothStable || this.factory === "7")
177
+ // const [stables, token0, token1] = await Promise.all([
178
+ // this.getOffchain().getAPRHelper().getAllStablecoins(),
179
+ // this.getBorrowableA().getSymbol(),
180
+ // this.getBorrowableB().getSymbol(),
181
+ // ]);
182
+ // const bothStable = stables.includes(token0) && stables.includes(token1);
183
+ // if (bothStable || this.factory === "7") return true;
184
+ if (this.factory === types_1.Factory.SOL_STABLE)
184
185
  return true;
185
186
  return false;
186
187
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.253",
3
+ "version": "2.1.254",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",