@ex-master/core
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -48,3 +48,7 @@ "use strict"; | ||
await v.lock(this.getLockObject(market), async () => { | ||
let orders = await this.client.getOrders(market, this.getActiveOrders(market).map(order => order.id)); | ||
let ids = this.getActiveOrders(market).map(order => order.id); | ||
if (!ids.length) { | ||
return; | ||
} | ||
let orders = await this.client.getOrders(market, ids); | ||
for (let order of orders) { | ||
@@ -51,0 +55,0 @@ this.account.onOrderUpdate(order); |
{ | ||
"name": "@ex-master/core", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"main": "bld/index.js", | ||
@@ -5,0 +5,0 @@ "types": "bld/index.d.ts", |
32820
770