@curvefi/api 2.40.1 → 2.40.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.
@@ -187,7 +187,7 @@ var PoolTemplate = /** @class */ (function () {
187
187
  if (this.id.startsWith("factory")) {
188
188
  poolType = "factory";
189
189
  factoryType = this.id.split("-")[1];
190
- if (factoryType)
190
+ if (factoryType !== "v2")
191
191
  poolType += "-" + factoryType;
192
192
  }
193
193
  return [4 /*yield*/, _getPoolsFromApi(network, poolType)];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.40.1",
3
+ "version": "2.40.2",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",