@curvefi/api 2.26.1 → 2.26.3

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.
@@ -112,7 +112,7 @@ exports.POOLS_DATA_XDAI = (0, utils_1.lowerCasePoolDataAddresses)({
112
112
  reference_asset: 'CRYPTO',
113
113
  swap_address: '0x056C6C5e684CeC248635eD86033378Cc444459B0',
114
114
  token_address: '0x0CA1C1eC4EBf3CC67a9f545fF90a3795b318cA4a',
115
- gauge_address: '0x0000000000000000000000000000000000000000',
115
+ gauge_address: '0xd91770E868c7471a9585d1819143063A40c54D00',
116
116
  deposit_address: '0xE3FFF29d4DC930EBb787FeCd49Ee5963DADf60b6',
117
117
  is_meta: true,
118
118
  is_crypto: true,
@@ -165,7 +165,9 @@ function getFactoryPoolsDataFromApi(isCrypto) {
165
165
  return [4 /*yield*/, (0, external_api_1._getPoolsFromApi)(network, factoryType)];
166
166
  case 1:
167
167
  rawPoolList = _a.apply(void 0, [(_b.sent()).poolData]);
168
- rawPoolList = rawPoolList.filter(function (p) { return p.implementationAddress in constants_1.FACTORY_CONSTANTS[_this.chainId].implementationABIDict; });
168
+ if (!isCrypto) {
169
+ rawPoolList = rawPoolList.filter(function (p) { return p.implementationAddress in constants_1.FACTORY_CONSTANTS[_this.chainId].implementationABIDict; });
170
+ }
169
171
  mainAddresses = Object.values(this.constants.POOLS_DATA).map(function (pool) { return pool.swap_address; });
170
172
  rawPoolList = rawPoolList.filter(function (p) { return !mainAddresses.includes(p.address); });
171
173
  setFactorySwapContracts.call(this, rawPoolList, isCrypto);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curvefi/api",
3
- "version": "2.26.1",
3
+ "version": "2.26.3",
4
4
  "description": "JavaScript library for curve.fi",
5
5
  "main": "lib/index.js",
6
6
  "author": "Macket",