rpc-websockets
Advanced tools
Comparing version 3.6.2 to 3.6.3
@@ -130,2 +130,4 @@ /** | ||
_this.wss.on("connection", function (socket) { | ||
_this.emit("connection", socket); | ||
var ns = _url2.default.parse(socket.upgradeReq.url).pathname; | ||
@@ -132,0 +134,0 @@ socket._id = _uuid2.default.v1(); |
{ | ||
"name": "rpc-websockets", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"description": "JSON-RPC 2.0 implementation over WebSockets for Node.js", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -272,2 +272,8 @@ <div align="center"> | ||
### Event: 'connection' | ||
* `socket` <ws.WebSocket> | ||
Emits when the client has connected. | ||
### Event: 'error' | ||
@@ -274,0 +280,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
322
299075
14
7436