Merge pull request #128 from pranaypratyush/master
Added API info to inverse client
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -21,3 +21,4 @@ node_modules/
|
|||||||
.cache
|
.cache
|
||||||
lib
|
lib
|
||||||
bundleReport.html
|
bundleReport.html
|
||||||
|
.history/
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "bybit-api",
|
"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.",
|
"description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -386,4 +386,10 @@ export class InverseClient extends SharedEndpoints {
|
|||||||
}): GenericAPIResponse {
|
}): GenericAPIResponse {
|
||||||
return this.requestWrapper.get('v2/private/account/lcp', params);
|
return this.requestWrapper.get('v2/private/account/lcp', params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//API Key Info
|
||||||
|
getAPIKeyInfo(): GenericAPIResponse {
|
||||||
|
return this.requestWrapper.get('v2/private/account/api-key');
|
||||||
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user