From 26710c3b206b125773a4be78d637ba04b032b3ea Mon Sep 17 00:00:00 2001 From: fedorovdg Date: Wed, 20 Nov 2024 20:46:24 +0400 Subject: [PATCH 1/2] fix: fixed tvl for curve lite --- src/utils.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 4a19b2a4..074a0435 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -624,10 +624,6 @@ const _getNetworkName = (network: INetworkName | IChainId = curve.chainId): INet } export const getTVL = async (network: INetworkName | IChainId = curve.chainId): Promise => { - if(curve.isLiteChain) { - throw Error('This method is not supported for the lite version') - } - network = _getNetworkName(network); const allTypesExtendedPoolData = await _getAllPoolsFromApi(network); From a91d0f5e9c974320b9d7e7c791588690930282b2 Mon Sep 17 00:00:00 2001 From: fedorovdg Date: Wed, 20 Nov 2024 20:47:00 +0400 Subject: [PATCH 2/2] build: v2.65.11 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c8ab0b01..6dbf030b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@curvefi/api", - "version": "2.65.10", + "version": "2.65.11", "description": "JavaScript library for curve.fi", "main": "lib/index.js", "author": "Macket",