diff --git a/package.json b/package.json index 0dd0b4ff..9944d18b 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 405c4b15..30f3ab9d 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -26,7 +26,7 @@ export class InverseClient extends SharedEndpoints { this.requestWrapper = new RequestWrapper( key, secret, - getRestBaseUrl(useLivenet), + getRestBaseUrl(useLivenet, restInverseOptions), restInverseOptions, requestOptions ); diff --git a/src/linear-client.ts b/src/linear-client.ts index d44d6ad2..b6239023 100644 --- a/src/linear-client.ts +++ b/src/linear-client.ts @@ -26,7 +26,7 @@ export class LinearClient extends SharedEndpoints { this.requestWrapper = new RequestWrapper( key, secret, - getRestBaseUrl(useLivenet), + getRestBaseUrl(useLivenet, restInverseOptions), restInverseOptions, requestOptions );