tardis-dev
Advanced tools
Comparing version 13.29.13 to 13.29.14
@@ -24,3 +24,3 @@ "use strict"; | ||
this._receivedMessagesCount = 0; | ||
this._connectionId = connectionCounter++; | ||
this._connectionId = -1; | ||
this.originHeader = undefined; | ||
@@ -46,3 +46,3 @@ this.sendCustomPing = undefined; | ||
} | ||
this.debug('(connection id: %d) estabilished connection', this._connectionId); | ||
this.debug('(connection id: %d) established connection', this._connectionId); | ||
//wait before fetching snapshots until we're sure we've got proper connection estabilished (received some messages) | ||
@@ -92,2 +92,3 @@ while (this._receivedMessagesCount < symbolsCount * 2) { | ||
try { | ||
this._connectionId = connectionCounter++; | ||
const subscribeMessages = this.mapToSubscribeMessages(this._filters); | ||
@@ -94,0 +95,0 @@ const finalWssUrl = await this.getWebSocketUrl(); |
{ | ||
"name": "tardis-dev", | ||
"version": "13.29.13", | ||
"version": "13.29.14", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=12" |
@@ -34,3 +34,3 @@ import dbg from 'debug' | ||
private _ws?: WebSocket | ||
private _connectionId = connectionCounter++ | ||
private _connectionId = -1 | ||
private _wsClientOptions: WebSocket.ClientOptions | ClientRequestArgs | ||
@@ -77,2 +77,3 @@ protected readonly originHeader: string | undefined = undefined | ||
try { | ||
this._connectionId = connectionCounter++ | ||
const subscribeMessages = this.mapToSubscribeMessages(this._filters) | ||
@@ -299,3 +300,3 @@ const finalWssUrl = await this.getWebSocketUrl() | ||
this.debug('(connection id: %d) estabilished connection', this._connectionId) | ||
this.debug('(connection id: %d) established connection', this._connectionId) | ||
@@ -302,0 +303,0 @@ //wait before fetching snapshots until we're sure we've got proper connection estabilished (received some messages) |
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
1933684
35725