fix(v4.0.0-beta.2): separator for req_id topic list

This commit is contained in:
tiagosiebler
2025-01-24 16:26:24 +00:00
parent 8a692140e0
commit 1d358e0896
3 changed files with 4 additions and 4 deletions

View File

@@ -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<WsTopic> = {