From d42cf8d1e0574d388bf95c2f7262291b3cf6ef31 Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Thu, 11 Nov 2021 11:10:39 +0530 Subject: [PATCH 1/3] Added .history/ to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index ff17cf3..33326b4 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ node_modules/ .cache lib bundleReport.html +.history/ \ No newline at end of file From fa7d7e0cecbc3af03727c2cbadaf03f2714e2afc Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Wed, 29 Dec 2021 18:24:43 +0530 Subject: [PATCH 2/3] Added API key info to inverse client Other APIs have duplicate implementation so adding just to inverse client --- src/inverse-client.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 6eb6a0b..1120ca4 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -386,4 +386,10 @@ export class InverseClient extends SharedEndpoints { }): GenericAPIResponse { return this.requestWrapper.get('v2/private/account/lcp', params); } + + //API Key Info + getAPIKeyInfo(): GenericAPIResponse { + return this.requestWrapper.get('v2/private/account/api-key'); + } + }; From 80be903b29967daf0cba452388c78f5c46292c7d Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Wed, 29 Dec 2021 18:25:25 +0530 Subject: [PATCH 3/3] Version bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ebbd8c3..e8dcdc2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "2.1.5", + "version": "2.1.6", "description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", "main": "lib/index.js", "types": "lib/index.d.ts",