socketcluster-client
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "socketcluster-client", | ||
"description": "Client side of SocketCluster", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"homepage": "http://socketcluster.io", | ||
@@ -6,0 +6,0 @@ "contributors": [ |
@@ -349,4 +349,4 @@ /** | ||
Emitter.prototype.emit.call(this, e.event, kickData.message, channelName); | ||
channel.emit('subscriptionDrop', kickData.message, channelName); | ||
Emitter.prototype.emit.call(this, 'subscriptionDrop', kickData.message, channelName); | ||
channel.emit('dropOut', kickData.message, channelName); | ||
Emitter.prototype.emit.call(this, 'dropOut', kickData.message, channelName); | ||
} | ||
@@ -559,4 +559,4 @@ } else { | ||
Emitter.prototype.emit.call(self, 'subscribeFail', err, channelName); | ||
channel.emit('subscriptionDrop', err, channelName); | ||
Emitter.prototype.emit.call(this, 'subscriptionDrop', err, channelName); | ||
channel.emit('dropOut', err, channelName); | ||
Emitter.prototype.emit.call(self, 'dropOut', err, channelName); | ||
} else { | ||
@@ -573,4 +573,4 @@ channel.emit('subscribe', channelName); | ||
if (err) { | ||
channel.emit('subscriptionDrop', err, channelName); | ||
Emitter.prototype.emit.call(this, 'subscriptionDrop', err, channelName); | ||
channel.emit('dropOut', err, channelName); | ||
Emitter.prototype.emit.call(self, 'dropOut', err, channelName); | ||
} | ||
@@ -577,0 +577,0 @@ }); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
217915