@icgio/icg-exchanges-wrapper 1.14.251 → 1.14.252

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.
@@ -741,7 +741,7 @@ module.exports = class Orders {
741
741
  // If CANCELING orders are no longer in open_orders, infer they are canceled.
742
742
  const open_orders_ids_set = new Set(open_orders[exchange][pair].open_orders.map((o) => o.order_id))
743
743
  this.get_order_info_status_all(exchange, pair, 'both', 'CANCELING').map((order_info) => {
744
- if (!open_orders_ids_set.has(order_info.order_id)) {
744
+ if (order_info.order_id && !open_orders_ids_set.has(order_info.order_id)) {
745
745
  this.update_order_info(
746
746
  exchange,
747
747
  pair,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icgio/icg-exchanges-wrapper",
3
- "version": "1.14.251",
3
+ "version": "1.14.252",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {