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

finvasia-extra

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

finvasia-extra - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

3

dist/src/WebSocket.js

@@ -54,3 +54,2 @@ "use strict";

const strMsg = JSON.stringify(msg);
this.logger.debug(`Sending message: ${strMsg}`);
this.socket.send(strMsg);

@@ -63,3 +62,2 @@ // TODO: handle error in socket.send call

const heartBeatMsg = '{"t":"h"}';
this.logger.debug(`sending message: ${heartBeatMsg}`);
if (this.socket && this.socket.readyState === this.socket.OPEN) {

@@ -118,3 +116,2 @@ this.socket.send(heartBeatMsg);

const strMsg = JSON.stringify(msg);
this.logger.debug(`sending message: ${strMsg}`);
this.socket.send(strMsg);

@@ -121,0 +118,0 @@ }

2

package.json

@@ -40,3 +40,3 @@ {

"types": "dist/index.d.ts",
"version": "1.2.3"
"version": "1.2.4"
}

@@ -73,3 +73,2 @@ import EventEmitter from 'events';

const strMsg = JSON.stringify(msg);
this.logger.debug(`Sending message: ${strMsg}`);
this.socket.send(strMsg);

@@ -83,3 +82,2 @@ // TODO: handle error in socket.send call

const heartBeatMsg = '{"t":"h"}';
this.logger.debug(`sending message: ${heartBeatMsg}`);
if (this.socket && this.socket.readyState === this.socket.OPEN) {

@@ -148,3 +146,2 @@ this.socket.send(heartBeatMsg);

const strMsg = JSON.stringify(msg);
this.logger.debug(`sending message: ${strMsg}`);
this.socket.send(strMsg);

@@ -151,0 +148,0 @@ }

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