@curvefi/api 2.34.1 → 2.34.2

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.
Files changed (2) hide show
  1. package/lib/curve.js +1 -1
  2. package/package.json +1 -1
package/lib/curve.js CHANGED
@@ -390,7 +390,7 @@ var Curve = /** @class */ (function () {
390
390
  case 0:
391
391
  if (this.chainId === 1313161554)
392
392
  return [2 /*return*/, []];
393
- currentPoolIds = Object.keys(this.constants.FACTORY_POOLS_DATA);
393
+ currentPoolIds = Object.keys(this.constants.FACTORY_POOLS_DATA).filter(function (id) { return !id.includes('crvusd'); });
394
394
  lastPoolIdx = Number(currentPoolIds[currentPoolIds.length - 1].split("-")[2]);
395
395
  _a = lowerCasePoolDataAddresses;
396
396
  return [4 /*yield*/, getFactoryPoolData.call(this, lastPoolIdx + 1)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.34.1",
3
+ "version": "2.34.2",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",