Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tardis-dev

Package Overview
Dependencies
Maintainers
1
Versions
272
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tardis-dev - npm Package Compare versions

Comparing version 9.0.1 to 9.0.2

8

dist/realtimefeeds/realtimefeed.js

@@ -31,3 +31,3 @@ "use strict";

}
this.debug('estabilished connection');
this.debug('(connection id: %d) estabilished connection', RealTimeFeedBase._connectionId);
this.onConnected();

@@ -46,3 +46,3 @@ //wait before fetching snapshots until we're sure we've got proper connection estabilished (received some messages)

catch (e) {
this.debug('providing manual snapshots error: %o', e);
this.debug('(connection id: %d) providing manual snapshots error: %o', RealTimeFeedBase._connectionId, e);
this._ws.emit('error', e);

@@ -52,3 +52,3 @@ }

this._onConnectionClosed = () => {
this.debug('connection closed');
this.debug('(connection id: %d) connection closed', RealTimeFeedBase._connectionId);
};

@@ -167,3 +167,3 @@ this.debug = debug_1.default(`tardis-dev:realtime:${exchange}`);

if (this._receivedMessagesCount === 0) {
this.debug('did not received any messages within %d ms timeout, terminating connection...', this._timeoutIntervalMS);
this.debug('(connection id: %d) did not received any messages within %d ms timeout, terminating connection...', RealTimeFeedBase._connectionId, this._timeoutIntervalMS);
this._ws.terminate();

@@ -170,0 +170,0 @@ }

{
"name": "tardis-dev",
"version": "9.0.1",
"version": "9.0.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=12"

@@ -194,3 +194,7 @@ import dbg from 'debug'

if (this._receivedMessagesCount === 0) {
this.debug('did not received any messages within %d ms timeout, terminating connection...', this._timeoutIntervalMS)
this.debug(
'(connection id: %d) did not received any messages within %d ms timeout, terminating connection...',
RealTimeFeedBase._connectionId,
this._timeoutIntervalMS
)
this._ws!.terminate()

@@ -219,3 +223,3 @@ }

this.debug('estabilished connection')
this.debug('(connection id: %d) estabilished connection', RealTimeFeedBase._connectionId)

@@ -237,3 +241,3 @@ this.onConnected()

} catch (e) {
this.debug('providing manual snapshots error: %o', e)
this.debug('(connection id: %d) providing manual snapshots error: %o', RealTimeFeedBase._connectionId, e)
this._ws!.emit('error', e)

@@ -244,4 +248,4 @@ }

private _onConnectionClosed = () => {
this.debug('connection closed')
this.debug('(connection id: %d) connection closed', RealTimeFeedBase._connectionId)
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc