From b7ac45e63e614ce98ff83602db0bf0644612fefc Mon Sep 17 00:00:00 2001 From: CryptoCompiler <72892531+peepopoggers@users.noreply.github.com> Date: Fri, 22 Jan 2021 09:30:22 +0000 Subject: [PATCH] Market Data Endpoints Moved to Shared --- src/inverse-client.ts | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 0767feb..cd8c481 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -39,12 +39,6 @@ export class InverseClient extends SharedEndpoints { * */ - getOrderBook(params: { - symbol: string; - }): GenericAPIResponse { - return this.requestWrapper.get('v2/public/orderBook/L2', params); - } - getKline(params: { symbol: string; interval: string; @@ -53,20 +47,7 @@ export class InverseClient extends SharedEndpoints { }): GenericAPIResponse { return this.requestWrapper.get('v2/public/kline/list', params); } - - /** - * @deprecated use getTickers() instead - */ - getLatestInformation(params?: { - symbol?: string; - }): GenericAPIResponse { - return this.getTickers(params); - } - - getTickers(params?: { - symbol?: string; - }): GenericAPIResponse { - return this.requestWrapper.get('v2/public/tickers', params); +rn this.requestWrapper.get('v2/public/tickers', params); } /**