@curvefi/api 2.66.29 → 2.66.30
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.
- package/lib/cached.js +2 -2
- package/package.json +1 -1
package/lib/cached.js
CHANGED
|
@@ -35,11 +35,11 @@ export const _getAllPoolsFromApi = (network_1, ...args_1) => __awaiter(void 0, [
|
|
|
35
35
|
});
|
|
36
36
|
export const _getUsdPricesFromApi = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
37
37
|
const network = curve.constants.NETWORK_NAME;
|
|
38
|
-
const { usdPrices } = yield _getCachedData(network,
|
|
38
|
+
const { usdPrices } = yield _getCachedData(network, curve.isLiteChain);
|
|
39
39
|
return usdPrices;
|
|
40
40
|
});
|
|
41
41
|
export const _getCrvApyFromApi = () => __awaiter(void 0, void 0, void 0, function* () {
|
|
42
42
|
const network = curve.constants.NETWORK_NAME;
|
|
43
|
-
const { crvApy } = yield _getCachedData(network,
|
|
43
|
+
const { crvApy } = yield _getCachedData(network, curve.isLiteChain);
|
|
44
44
|
return crvApy;
|
|
45
45
|
});
|