bybit-api
Advanced tools
Comparing version 3.3.8 to 3.3.9
@@ -64,5 +64,3 @@ "use strict"; | ||
closeOrder(params) { | ||
return this.postPrivate('/contract/v3/private/copytrading/order/close', { | ||
params, | ||
}); | ||
return this.postPrivate('/contract/v3/private/copytrading/order/close', params); | ||
} | ||
@@ -69,0 +67,0 @@ /** -> Positions API */ |
@@ -524,3 +524,6 @@ "use strict"; | ||
if (wsKey !== util_1.WS_KEY_MAP.spotPublic && wsKey !== util_1.WS_KEY_MAP.spotPrivate) { | ||
this.requestSubscribeTopics(wsKey, [...this.wsStore.getTopics(wsKey)]); | ||
const topics = [...this.wsStore.getTopics(wsKey)]; | ||
this.logger.info('Subscribing to topics', Object.assign(Object.assign({}, loggerCategory), { wsKey, | ||
topics })); | ||
this.requestSubscribeTopics(wsKey, topics); | ||
} | ||
@@ -527,0 +530,0 @@ this.wsStore.get(wsKey, true).activePingTimer = setInterval(() => this.ping(wsKey), this.options.pingInterval); |
{ | ||
"name": "bybit-api", | ||
"version": "3.3.8", | ||
"version": "3.3.9", | ||
"description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
380842
6872