bybit-api 4.0.0-beta.1 → 4.0.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/websocket-client.js
CHANGED
|
@@ -320,7 +320,7 @@ class WebsocketClient extends BaseWSClient_1.BaseWebsocketClient {
|
|
|
320
320
|
const topics = requests.map((r) => r.topic);
|
|
321
321
|
// Previously used to track topics in a request. Keeping this for subscribe/unsubscribe requests, no need for incremental values
|
|
322
322
|
const req_id = ['subscribe', 'unsubscribe'].includes(operation) && topics.length
|
|
323
|
-
? topics.join('
|
|
323
|
+
? topics.join(',')
|
|
324
324
|
: this.getNewRequestId();
|
|
325
325
|
const wsEvent = {
|
|
326
326
|
req_id: req_id,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bybit-api",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.3",
|
|
4
4
|
"description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|