diff --git a/package-lock.json b/package-lock.json index 34c5f81..e9c6d34 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "license": "MIT", "dependencies": { "axios": "^1.7.9", diff --git a/package.json b/package.json index 83b6a1f..53cf797 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "4.0.0-beta.1", + "version": "4.0.0-beta.2", "description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/websocket-client.ts b/src/websocket-client.ts index d26df78..c19de74 100644 --- a/src/websocket-client.ts +++ b/src/websocket-client.ts @@ -555,7 +555,7 @@ export class WebsocketClient extends BaseWebsocketClient< // Previously used to track topics in a request. Keeping this for subscribe/unsubscribe requests, no need for incremental values const req_id = ['subscribe', 'unsubscribe'].includes(operation) && topics.length - ? topics.join('_') + ? topics.join(',') : this.getNewRequestId(); const wsEvent: WsRequestOperationBybit = {