@ex-master/core
Advanced tools
Comparing version 0.1.37 to 0.1.38
@@ -71,4 +71,12 @@ "use strict"; | ||
if (active) { | ||
activeOrder = { ...activeOrder, filledSize, filledValue, paidFee }; | ||
activeOrderMap.set(id, activeOrder); | ||
let newActiveOrder = { | ||
...activeOrder, | ||
filledSize, | ||
filledValue, | ||
paidFee, | ||
}; | ||
if (!object_1.isEqual(activeOrder, newActiveOrder)) { | ||
activeOrderMap.set(id, newActiveOrder); | ||
this.orderUpdate$.next(order); | ||
} | ||
} | ||
@@ -78,4 +86,4 @@ else { | ||
activeOrderMap.delete(id); | ||
this.orderUpdate$.next(order); | ||
} | ||
this.orderUpdate$.next(order); | ||
} | ||
@@ -82,0 +90,0 @@ }); |
{ | ||
"name": "@ex-master/core", | ||
"version": "0.1.37", | ||
"version": "0.1.38", | ||
"main": "bld/index.js", | ||
@@ -5,0 +5,0 @@ "types": "bld/index.d.ts", |
55167
1568