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",
|
"name": "bybit-api",
|
||||||
"version": "2.0.0",
|
"version": "2.0.1",
|
||||||
"description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets",
|
"description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export class InverseClient extends SharedEndpoints {
|
|||||||
this.requestWrapper = new RequestWrapper(
|
this.requestWrapper = new RequestWrapper(
|
||||||
key,
|
key,
|
||||||
secret,
|
secret,
|
||||||
getRestBaseUrl(useLivenet),
|
getRestBaseUrl(useLivenet, restInverseOptions),
|
||||||
restInverseOptions,
|
restInverseOptions,
|
||||||
requestOptions
|
requestOptions
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export class LinearClient extends SharedEndpoints {
|
|||||||
this.requestWrapper = new RequestWrapper(
|
this.requestWrapper = new RequestWrapper(
|
||||||
key,
|
key,
|
||||||
secret,
|
secret,
|
||||||
getRestBaseUrl(useLivenet),
|
getRestBaseUrl(useLivenet, restInverseOptions),
|
||||||
restInverseOptions,
|
restInverseOptions,
|
||||||
requestOptions
|
requestOptions
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user