websocket-stream
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -30,3 +30,4 @@ var through = require('through') | ||
} | ||
this.stream.destroy = this.destroy.bind(this) | ||
return this.stream | ||
@@ -38,2 +39,6 @@ } | ||
WebsocketStream.prototype.destroy = function() { | ||
this.ws.close() | ||
} | ||
WebsocketStream.prototype.onMessage = function(e) { | ||
@@ -40,0 +45,0 @@ var data = e |
{ | ||
"name": "websocket-stream", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"description": "websockets with the node stream api. works in browser and node", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
12160
13
222