serum-vial
Advanced tools
Comparing version 1.2.9 to 1.2.10
@@ -73,3 +73,3 @@ "use strict"; | ||
} | ||
if (this._initialized && l3Diff.length > 0) { | ||
if (this._initialized) { | ||
const diffIsValid = this._validateL3DiffCorrectness(l3Diff); | ||
@@ -82,3 +82,4 @@ if (diffIsValid === false) { | ||
eventQueueAccountExists: accountsData.eventQueue !== undefined, | ||
slot | ||
slot, | ||
l3DiffLength: l3Diff.length | ||
}); | ||
@@ -219,2 +220,6 @@ this._options.onPartitionDetected(); | ||
market: this._options.symbol, | ||
asksAccountExists: accountsData.asks !== undefined, | ||
bidsAccountExists: accountsData.bids !== undefined, | ||
eventQueueAccountExists: accountsData.eventQueue !== undefined, | ||
slot, | ||
asksDiff, | ||
@@ -221,0 +226,0 @@ bidsDiff |
@@ -65,3 +65,3 @@ "use strict"; | ||
this._tid = setInterval(() => { | ||
logger_1.logger.log('info', `Open WS client connections count: ${this._openConnectionsCount}`, meta); | ||
logger_1.logger.log('debug', `Open WS client connections count: ${this._openConnectionsCount}`, meta); | ||
}, 60 * 1000); | ||
@@ -68,0 +68,0 @@ } |
{ | ||
"name": "serum-vial", | ||
"version": "1.2.9", | ||
"version": "1.2.10", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=15" |
@@ -128,3 +128,3 @@ import { EVENT_QUEUE_LAYOUT, Market, Orderbook, getLayoutVersion } from '@project-serum/serum' | ||
if (this._initialized && l3Diff.length > 0) { | ||
if (this._initialized) { | ||
const diffIsValid = this._validateL3DiffCorrectness(l3Diff) | ||
@@ -138,3 +138,4 @@ | ||
eventQueueAccountExists: accountsData.eventQueue !== undefined, | ||
slot | ||
slot, | ||
l3DiffLength: l3Diff.length | ||
}) | ||
@@ -319,2 +320,6 @@ | ||
market: this._options.symbol, | ||
asksAccountExists: accountsData.asks !== undefined, | ||
bidsAccountExists: accountsData.bids !== undefined, | ||
eventQueueAccountExists: accountsData.eventQueue !== undefined, | ||
slot, | ||
asksDiff, | ||
@@ -321,0 +326,0 @@ bidsDiff |
@@ -82,3 +82,3 @@ import { getLayoutVersion, Market } from '@project-serum/serum' | ||
this._tid = setInterval(() => { | ||
logger.log('info', `Open WS client connections count: ${this._openConnectionsCount}`, meta) | ||
logger.log('debug', `Open WS client connections count: ${this._openConnectionsCount}`, meta) | ||
}, 60 * 1000) | ||
@@ -85,0 +85,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
290637
5
4298