impermax-sdk 2.1.369 → 2.1.370

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.
@@ -139,7 +139,7 @@ class OffchainAPRHelper {
139
139
  try {
140
140
  const response = await fetch("https://yields.llama.fi/poolsBorrow").then((i) => i.json());
141
141
  // TODO: V3 yields, waiting on merge from llama
142
- const impermaxPools = response.data.filter((i) => i.project === "impermax-v2");
142
+ const impermaxPools = response.data.filter((i) => i.project === "impermax-v2" || i.project === "impermax-v3");
143
143
  this.chainsTotalSupplied = impermaxPools.reduce((acc, pool) => {
144
144
  acc[pool.chain.toLowerCase()] =
145
145
  (acc[pool.chain.toLowerCase()] || 0) + pool.totalSupplyUsd;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impermax-sdk",
3
- "version": "2.1.369",
3
+ "version": "2.1.370",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",