@curvefi/api 2.66.28 → 2.66.29

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.
@@ -108,7 +108,7 @@ export class StatsPool {
108
108
  poolType = this.pool.id.replace(/-\d+$/, '');
109
109
  poolType = poolType.replace(/-v2$/, '');
110
110
  }
111
- const poolsData = (yield _getPoolsFromApi(network, poolType)).poolData;
111
+ const poolsData = (yield _getPoolsFromApi(network, poolType, curve.isLiteChain)).poolData;
112
112
  try {
113
113
  const totalLiquidity = poolsData.filter((data) => data.address.toLowerCase() === this.pool.address.toLowerCase())[0].usdTotal;
114
114
  return String(totalLiquidity);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.66.28",
3
+ "version": "2.66.29",
4
4
  "description": "JavaScript library for curve.finance",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",