laravel-echo
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -1132,3 +1132,3 @@ 'use strict'; | ||
/** | ||
* Leave the given channel. | ||
* Leave the given channel, as well as its private and presence variants. | ||
*/ | ||
@@ -1142,2 +1142,11 @@ | ||
/** | ||
* Leave the given channel. | ||
*/ | ||
}, { | ||
key: 'leaveChannel', | ||
value: function leaveChannel(channel) { | ||
this.connector.leaveChannel(channel); | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -1144,0 +1153,0 @@ */ |
@@ -35,6 +35,10 @@ import { Channel, PresenceChannel } from './channel'; | ||
/** | ||
* Leave the given channel. | ||
* Leave the given channel, as well as its private and presence variants. | ||
*/ | ||
leave(channel: string): void; | ||
/** | ||
* Leave the given channel. | ||
*/ | ||
leaveChannel(channel: string): void; | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -41,0 +45,0 @@ */ |
@@ -1133,3 +1133,3 @@ var Echo = (function () { | ||
/** | ||
* Leave the given channel. | ||
* Leave the given channel, as well as its private and presence variants. | ||
*/ | ||
@@ -1143,2 +1143,11 @@ | ||
/** | ||
* Leave the given channel. | ||
*/ | ||
}, { | ||
key: 'leaveChannel', | ||
value: function leaveChannel(channel) { | ||
this.connector.leaveChannel(channel); | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -1145,0 +1154,0 @@ */ |
@@ -1130,3 +1130,3 @@ var classCallCheck = function (instance, Constructor) { | ||
/** | ||
* Leave the given channel. | ||
* Leave the given channel, as well as its private and presence variants. | ||
*/ | ||
@@ -1140,2 +1140,11 @@ | ||
/** | ||
* Leave the given channel. | ||
*/ | ||
}, { | ||
key: 'leaveChannel', | ||
value: function leaveChannel(channel) { | ||
this.connector.leaveChannel(channel); | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -1142,0 +1151,0 @@ */ |
{ | ||
"name": "laravel-echo", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "Laravel Echo library for beautiful Pusher and Socket.IO integration", | ||
"main": "dist/echo.common.js", | ||
"types": "dist/echo.d.ts", | ||
"module": "dist/echo.js", | ||
@@ -7,0 +8,0 @@ "scripts": { |
@@ -62,3 +62,3 @@ import { Channel, PresenceChannel } from './channel' | ||
/** | ||
* Leave the given channel. | ||
* Leave the given channel, as well as its private and presence variants. | ||
*/ | ||
@@ -70,2 +70,9 @@ leave(channel: string): void { | ||
/** | ||
* Leave the given channel. | ||
*/ | ||
leaveChannel(channel: string): void { | ||
this.connector.leaveChannel(channel); | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -72,0 +79,0 @@ */ |
Sorry, the diff of this file is not supported yet
150488
4894