@curvefi/api 2.66.6 → 2.66.7

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.
@@ -155,7 +155,7 @@ export class StatsPool {
155
155
  });
156
156
  this.tokenApy = (...args_1) => __awaiter(this, [...args_1], void 0, function* (useApi = true) {
157
157
  var _a;
158
- if (curve.isLiteChain) {
158
+ if (curve.isLiteChain && curve.chainId !== 146) {
159
159
  throw Error('tokenApy is not supported for the lite version');
160
160
  }
161
161
  if (this.pool.rewardsOnly())
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.66.6",
3
+ "version": "2.66.7",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",