faye-websocket
Advanced tools
Comparing version 0.7.2 to 0.7.3
@@ -0,1 +1,6 @@ | ||
### 0.7.3 / 2014-10-04 | ||
* Allow sockets to be closed when they are in any state other than `CLOSED` | ||
### 0.7.2 / 2013-12-29 | ||
@@ -95,2 +100,1 @@ | ||
* Initial release, based on WebSocket components from Faye | ||
@@ -38,2 +38,1 @@ var WebSocket = require('../lib/faye/websocket'), | ||
}; | ||
@@ -24,2 +24,1 @@ var WebSocket = require('../lib/faye/websocket'), | ||
}; | ||
@@ -68,2 +68,1 @@ var WebSocket = require('../lib/faye/websocket'), | ||
server.listen(port); | ||
@@ -132,2 +132,1 @@ var Stream = require('stream').Stream, | ||
module.exports = EventSource; | ||
@@ -41,2 +41,1 @@ // API references: | ||
module.exports = WebSocket; | ||
@@ -101,3 +101,3 @@ var Stream = require('stream').Stream, | ||
close: function() { | ||
if (this.readyState === API.OPEN) this.readyState = API.CLOSING; | ||
if (this.readyState !== API.CLOSED) this.readyState = API.CLOSING; | ||
this._driver.close(); | ||
@@ -147,2 +147,1 @@ }, | ||
module.exports = API; | ||
@@ -29,2 +29,1 @@ var Event = require('./event'); | ||
module.exports = EventTarget; | ||
@@ -21,2 +21,1 @@ var Event = function(eventType, options) { | ||
module.exports = Event; | ||
@@ -41,2 +41,1 @@ var util = require('util'), | ||
module.exports = Client; | ||
@@ -8,6 +8,6 @@ { "name" : "faye-websocket" | ||
, "version" : "0.7.2" | ||
, "version" : "0.7.3" | ||
, "engines" : {"node": ">=0.4.0"} | ||
, "main" : "./lib/faye/websocket" | ||
, "dependencies" : {"websocket-driver": ">=0.3.1"} | ||
, "dependencies" : {"websocket-driver": ">=0.3.6"} | ||
, "devDependencies" : {"jstest": "", "pace": ""} | ||
@@ -23,2 +23,1 @@ | ||
} | ||
# faye-websocket | ||
* Travis CI build: [![Build | ||
status](https://secure.travis-ci.org/faye/faye-websocket-node.png)](http://travis-ci.org/faye/faye-websocket-node) | ||
status](https://secure.travis-ci.org/faye/faye-websocket-node.svg)](http://travis-ci.org/faye/faye-websocket-node) | ||
* Autobahn tests: [server](http://faye.jcoglan.com/autobahn/servers/), | ||
@@ -295,2 +295,1 @@ [client](http://faye.jcoglan.com/autobahn/clients/) | ||
SOFTWARE. | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30769
295
Updatedwebsocket-driver@>=0.3.6