impermax-sdk 2.1.49 → 2.1.50

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.
@@ -129,6 +129,12 @@ class OffchainVault extends offchainPoolToken_1.default {
129
129
  }
130
130
  isStable() {
131
131
  return __awaiter(this, void 0, void 0, function* () {
132
+ const [stables, token] = yield Promise.all([
133
+ this.getOffchain().getAPRHelper().getAllStablecoins(),
134
+ this.getSymbol()
135
+ ]);
136
+ if (stables.includes(token))
137
+ return true;
132
138
  return false;
133
139
  });
134
140
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.49",
3
+ "version": "2.1.50",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",