rpc-websockets
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -344,4 +344,5 @@ /** | ||
this.socket.on("close", function (code, message) { | ||
if (_this4.ready) _this4.emit("close", code, message); | ||
_this4.ready = false; | ||
_this4.emit("close", code, message); | ||
@@ -348,0 +349,0 @@ if (code === 1000) return; |
@@ -120,3 +120,3 @@ /** | ||
// cleanup after the socket get disconnected | ||
// cleanup after the socket gets disconnected | ||
socket.on("close", function () { | ||
@@ -123,0 +123,0 @@ _this.clients.delete(socket._id); |
{ | ||
"name": "rpc-websockets", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js", | ||
@@ -20,3 +20,3 @@ "main": "./dist/index.js", | ||
"babel-runtime": "^6.11.6", | ||
"uuid": "^2.0.3", | ||
"uuid": "^3.0.0", | ||
"ws": "^1.1.1" | ||
@@ -23,0 +23,0 @@ }, |
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
56175
+ Addeduuid@3.4.0(transitive)
- Removeduuid@2.0.3(transitive)
Updateduuid@^3.0.0