@bulletxyz/bullet-sdk 0.23.1-rc.0 → 0.23.1-rc.1
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/dist/node/index.js
CHANGED
|
@@ -7041,7 +7041,6 @@ var Orderbook = class _Orderbook {
|
|
|
7041
7041
|
}
|
|
7042
7042
|
// Insert or update an ask
|
|
7043
7043
|
updateAsk(price, size) {
|
|
7044
|
-
console.log("Updating ask: ", price);
|
|
7045
7044
|
if (size.eq(0)) {
|
|
7046
7045
|
this.asks.delete(price);
|
|
7047
7046
|
} else {
|
|
@@ -7050,7 +7049,6 @@ var Orderbook = class _Orderbook {
|
|
|
7050
7049
|
}
|
|
7051
7050
|
// Apply a delta update to the orderbook
|
|
7052
7051
|
applyDelta(delta) {
|
|
7053
|
-
console.log("Applying delta: ", delta);
|
|
7054
7052
|
for (const [price, size] of delta.b) {
|
|
7055
7053
|
this.updateBid(price, size);
|
|
7056
7054
|
}
|