Skip to content

Commit

Permalink
Merge pull request #80 from blake41/master
Browse files Browse the repository at this point in the history
change when you initialize the requestwrapper to pass along the restI…
  • Loading branch information
tiagosiebler committed Feb 18, 2021
2 parents 5bf4274 + 66d7120 commit ca05ca0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/inverse-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class InverseClient extends SharedEndpoints {
this.requestWrapper = new RequestWrapper(
key,
secret,
getRestBaseUrl(useLivenet),
getRestBaseUrl(useLivenet, restInverseOptions),
restInverseOptions,
requestOptions
);
Expand Down
2 changes: 1 addition & 1 deletion src/linear-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class LinearClient extends SharedEndpoints {
this.requestWrapper = new RequestWrapper(
key,
secret,
getRestBaseUrl(useLivenet),
getRestBaseUrl(useLivenet, restInverseOptions),
restInverseOptions,
requestOptions
);
Expand Down

0 comments on commit ca05ca0

Please sign in to comment.