@curvefi/api 2.26.4 → 2.27.0

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.
@@ -1187,7 +1187,7 @@ var PoolTemplate = /** @class */ (function () {
1187
1187
  };
1188
1188
  }
1189
1189
  PoolTemplate.prototype.rewardsOnly = function () {
1190
- if (curve_1.curve.chainId === 2222 || curve_1.curve.chainId === 42220)
1190
+ if (curve_1.curve.chainId === 2222)
1191
1191
  return true; // TODO remove this for Kava and Celo
1192
1192
  if (this.gauge === ethers_1.ethers.constants.AddressZero)
1193
1193
  throw Error("".concat(this.name, " doesn't have gauge"));
@@ -182,7 +182,7 @@ var _getUserClaimable = function (pools, address, useCache) { return __awaiter(v
182
182
  for (_i = 0, poolsToFetch_3 = poolsToFetch; _i < poolsToFetch_3.length; _i++) {
183
183
  poolId = poolsToFetch_3[_i];
184
184
  pool = (0, poolConstructor_1.getPool)(poolId);
185
- if (curve_1.curve.chainId === 2222 || curve_1.curve.chainId === 42220 || pool.gauge === ethers_1.ethers.constants.AddressZero) { // TODO remove this for Kava and Celo
185
+ if (curve_1.curve.chainId === 2222 || pool.gauge === ethers_1.ethers.constants.AddressZero) { // TODO remove this for Kava
186
186
  hasCrvReward.push(false);
187
187
  continue;
188
188
  }
@@ -324,7 +324,7 @@ var _getUserClaimableUseApi = function (pools, address, useCache) { return __awa
324
324
  for (_i = 0, poolsToFetch_5 = poolsToFetch; _i < poolsToFetch_5.length; _i++) {
325
325
  poolId = poolsToFetch_5[_i];
326
326
  pool = (0, poolConstructor_1.getPool)(poolId);
327
- if (curve_1.curve.chainId === 2222 || curve_1.curve.chainId === 42220 || pool.gauge === ethers_1.ethers.constants.AddressZero) { // TODO remove this for Kava and Celo
327
+ if (curve_1.curve.chainId === 2222 || pool.gauge === ethers_1.ethers.constants.AddressZero) { // TODO remove this for Kava
328
328
  hasCrvReward.push(false);
329
329
  continue;
330
330
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.26.4",
3
+ "version": "2.27.0",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",