Merge pull request #80 from blake41/master
change when you initialize the requestwrapper to pass along the restI…
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bybit-api",
|
||||
"version": "2.0.0",
|
||||
"version": "2.0.1",
|
||||
"description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets",
|
||||
"main": "lib/index.js",
|
||||
"types": "lib/index.d.ts",
|
||||
|
||||
@@ -26,7 +26,7 @@ export class InverseClient extends SharedEndpoints {
|
||||
this.requestWrapper = new RequestWrapper(
|
||||
key,
|
||||
secret,
|
||||
getRestBaseUrl(useLivenet),
|
||||
getRestBaseUrl(useLivenet, restInverseOptions),
|
||||
restInverseOptions,
|
||||
requestOptions
|
||||
);
|
||||
|
||||
@@ -26,7 +26,7 @@ export class LinearClient extends SharedEndpoints {
|
||||
this.requestWrapper = new RequestWrapper(
|
||||
key,
|
||||
secret,
|
||||
getRestBaseUrl(useLivenet),
|
||||
getRestBaseUrl(useLivenet, restInverseOptions),
|
||||
restInverseOptions,
|
||||
requestOptions
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user