Skip to content

Commit 8d011de

Browse files
committed
v9.0.0
1 parent 3a69c66 commit 8d011de

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "socketcluster-client",
33
"main": "socketcluster.js",
4-
"version": "8.0.2",
4+
"version": "9.0.0",
55
"homepage": "https://github.com/SocketCluster/socketcluster-client",
66
"description": "SocketCluster JavaScript client",
77
"authors": [

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ module.exports.destroy = function (options) {
1616

1717
module.exports.connections = SCSocketCreator.connections;
1818

19-
module.exports.version = '8.0.2';
19+
module.exports.version = '9.0.0';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "socketcluster-client",
33
"description": "SocketCluster JavaScript client",
4-
"version": "8.0.2",
4+
"version": "9.0.0",
55
"homepage": "http://socketcluster.io",
66
"contributors": [
77
{

socketcluster.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* SocketCluster JavaScript client v8.0.2
2+
* SocketCluster JavaScript client v9.0.0
33
*/
44
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.socketCluster = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
55
var Emitter = _dereq_('component-emitter');
@@ -257,7 +257,7 @@ module.exports.destroy = function (options) {
257257

258258
module.exports.connections = SCSocketCreator.connections;
259259

260-
module.exports.version = '8.0.2';
260+
module.exports.version = '9.0.0';
261261

262262
},{"./lib/scsocket":6,"./lib/scsocketcreator":7,"component-emitter":14}],4:[function(_dereq_,module,exports){
263263
(function (global){
@@ -441,6 +441,7 @@ var SCSocket = function (opts) {
441441
this._localEvents = {
442442
'connect': 1,
443443
'connectAbort': 1,
444+
'close': 1,
444445
'disconnect': 1,
445446
'message': 1,
446447
'error': 1,
@@ -1000,6 +1001,7 @@ SCSocket.prototype._onSCClose = function (code, data, openAbort) {
10001001
} else {
10011002
Emitter.prototype.emit.call(self, 'disconnect', code, data);
10021003
}
1004+
Emitter.prototype.emit.call(self, 'close', code, data);
10031005

10041006
if (!SCSocket.ignoreStatuses[code]) {
10051007
var failureMessage;

socketcluster.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)