finvasia-extra
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -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 @@ } |
@@ -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 @@ } |
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
72563
2094