Skip to content

Commit

Permalink
v4.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jondubois committed May 31, 2016
1 parent 8c7b728 commit 4e8a101
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "socketcluster-client",
"main": "socketcluster.js",
"version": "4.3.17",
"version": "4.3.18",
"homepage": "https://github.com/SocketCluster/socketcluster-client",
"description": "SocketCluster JavaScript client",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ module.exports.destroy = function (options) {
return SCSocketCreator.destroy(options);
};

module.exports.version = '4.3.17';
module.exports.version = '4.3.18';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "socketcluster-client",
"description": "SocketCluster JavaScript client",
"version": "4.3.17",
"version": "4.3.18",
"homepage": "http://socketcluster.io",
"contributors": [
{
Expand Down
6 changes: 3 additions & 3 deletions socketcluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports.destroy = function (options) {
return SCSocketCreator.destroy(options);
};

module.exports.version = '4.3.17';
module.exports.version = '4.3.18';

},{"./lib/scsocket":4,"./lib/scsocketcreator":5,"sc-emitter":12}],2:[function(require,module,exports){
(function (global){
Expand Down Expand Up @@ -434,10 +434,10 @@ SCSocket.prototype.disconnect = function (code, data) {
data: data
};
this.transport.emit('#disconnect', packet);
this.transport.close(code);
this.transport.close(code, data);

} else if (this.state == this.CONNECTING) {
this.transport.close(code);
this.transport.close(code, data);
} else {
this.pendingReconnect = false;
this.pendingReconnectTimeout = null;
Expand Down
2 changes: 1 addition & 1 deletion socketcluster.min.js

Large diffs are not rendered by default.

0 comments on commit 4e8a101

Please sign in to comment.