@curvefi/api 2.42.1 → 2.42.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/router.js +4 -1
  2. package/package.json +1 -1
package/lib/router.js CHANGED
@@ -136,7 +136,10 @@ var _findAllRoutes = function (inputCoinAddress, outputCoinAddress) { return __a
136
136
  case 0:
137
137
  inputCoinAddress = inputCoinAddress.toLowerCase();
138
138
  outputCoinAddress = outputCoinAddress.toLowerCase();
139
- ALL_POOLS = Object.entries(curve.getPoolsData());
139
+ ALL_POOLS = Object.entries(curve.getPoolsData()).filter(function (_a) {
140
+ var id = _a[0], _ = _a[1];
141
+ return id !== "crveth";
142
+ });
140
143
  return [4 /*yield*/, _getAmplificationCoefficientsFromApi()];
141
144
  case 1:
142
145
  amplificationCoefficientDict = _s.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.42.1",
3
+ "version": "2.42.2",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",