websocket-stream
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -22,2 +22,3 @@ var stream = require('stream') | ||
this.ws = new WebSocket(server, this.options.protocol) | ||
this.ws.binaryType = this.options.binaryType || 'arraybuffer' | ||
this.ws.onmessage = this.onMessage.bind(this) | ||
@@ -24,0 +25,0 @@ this.ws.onerror = this.onError.bind(this) |
{ | ||
"name": "websocket-stream", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "websockets with the node stream api. works in browser and node", | ||
@@ -5,0 +5,0 @@ "scripts": { |
7091
114