laravel-echo
Advanced tools
Comparing version 1.14.2 to 1.15.0
# Release Notes | ||
## [Unreleased](https://github.com/laravel/echo/compare/v1.14.1...master) | ||
## [Unreleased](https://github.com/laravel/echo/compare/v1.14.2...master) | ||
## [v1.14.2](https://github.com/laravel/echo/compare/v1.14.1...v1.14.2) - 2022-11-22 | ||
### Fixed | ||
- Fix node type issue by @timacdonald in https://github.com/laravel/echo/pull/361 | ||
## [v1.14.1](https://github.com/laravel/echo/compare/v1.14.0...v1.14.1) - 2022-10-25 | ||
@@ -6,0 +12,0 @@ |
@@ -19,2 +19,6 @@ import { Channel } from './channel'; | ||
/** | ||
* Listen for all events on the channel instance. | ||
*/ | ||
listenToAll(callback: Function): NullChannel; | ||
/** | ||
* Stop listening for an event on the channel instance. | ||
@@ -21,0 +25,0 @@ */ |
@@ -28,2 +28,6 @@ import { Connector } from './connector'; | ||
/** | ||
* Get a private encrypted channel instance by name. | ||
*/ | ||
encryptedPrivateChannel(name: string): NullPrivateChannel; | ||
/** | ||
* Get a presence channel instance by name. | ||
@@ -30,0 +34,0 @@ */ |
@@ -803,2 +803,11 @@ 'use strict'; | ||
/** | ||
* Listen for all events on the channel instance. | ||
*/ | ||
}, { | ||
key: "listenToAll", | ||
value: function listenToAll(callback) { | ||
return this; | ||
} | ||
/** | ||
* Stop listening for an event on the channel instance. | ||
@@ -1378,2 +1387,11 @@ */ | ||
/** | ||
* Get a private encrypted channel instance by name. | ||
*/ | ||
}, { | ||
key: "encryptedPrivateChannel", | ||
value: function encryptedPrivateChannel(name) { | ||
return new NullPrivateChannel(); | ||
} | ||
/** | ||
* Get a presence channel instance by name. | ||
@@ -1507,2 +1525,13 @@ */ | ||
/** | ||
* Leave all channels. | ||
*/ | ||
}, { | ||
key: "leaveAllChannels", | ||
value: function leaveAllChannels() { | ||
for (var channel in this.connector.channels) { | ||
this.leaveChannel(channel); | ||
} | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -1509,0 +1538,0 @@ */ |
@@ -43,2 +43,6 @@ import { Channel, PresenceChannel } from './channel'; | ||
/** | ||
* Leave all channels. | ||
*/ | ||
leaveAllChannels(): void; | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -45,0 +49,0 @@ */ |
@@ -802,2 +802,11 @@ var Echo = (function () { | ||
/** | ||
* Listen for all events on the channel instance. | ||
*/ | ||
}, { | ||
key: "listenToAll", | ||
value: function listenToAll(callback) { | ||
return this; | ||
} | ||
/** | ||
* Stop listening for an event on the channel instance. | ||
@@ -1377,2 +1386,11 @@ */ | ||
/** | ||
* Get a private encrypted channel instance by name. | ||
*/ | ||
}, { | ||
key: "encryptedPrivateChannel", | ||
value: function encryptedPrivateChannel(name) { | ||
return new NullPrivateChannel(); | ||
} | ||
/** | ||
* Get a presence channel instance by name. | ||
@@ -1506,2 +1524,13 @@ */ | ||
/** | ||
* Leave all channels. | ||
*/ | ||
}, { | ||
key: "leaveAllChannels", | ||
value: function leaveAllChannels() { | ||
for (var channel in this.connector.channels) { | ||
this.leaveChannel(channel); | ||
} | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -1508,0 +1537,0 @@ */ |
@@ -799,2 +799,11 @@ function _typeof(obj) { | ||
/** | ||
* Listen for all events on the channel instance. | ||
*/ | ||
}, { | ||
key: "listenToAll", | ||
value: function listenToAll(callback) { | ||
return this; | ||
} | ||
/** | ||
* Stop listening for an event on the channel instance. | ||
@@ -1374,2 +1383,11 @@ */ | ||
/** | ||
* Get a private encrypted channel instance by name. | ||
*/ | ||
}, { | ||
key: "encryptedPrivateChannel", | ||
value: function encryptedPrivateChannel(name) { | ||
return new NullPrivateChannel(); | ||
} | ||
/** | ||
* Get a presence channel instance by name. | ||
@@ -1503,2 +1521,13 @@ */ | ||
/** | ||
* Leave all channels. | ||
*/ | ||
}, { | ||
key: "leaveAllChannels", | ||
value: function leaveAllChannels() { | ||
for (var channel in this.connector.channels) { | ||
this.leaveChannel(channel); | ||
} | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -1505,0 +1534,0 @@ */ |
{ | ||
"name": "laravel-echo", | ||
"version": "1.14.2", | ||
"version": "1.15.0", | ||
"description": "Laravel Echo library for beautiful Pusher and Socket.IO integration", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -29,2 +29,9 @@ import { Channel } from './channel'; | ||
/** | ||
* Listen for all events on the channel instance. | ||
*/ | ||
listenToAll(callback: Function): NullChannel { | ||
return this; | ||
} | ||
/** | ||
* Stop listening for an event on the channel instance. | ||
@@ -31,0 +38,0 @@ */ |
@@ -42,2 +42,9 @@ import { Connector } from './connector'; | ||
/** | ||
* Get a private encrypted channel instance by name. | ||
*/ | ||
encryptedPrivateChannel(name: string): NullPrivateChannel { | ||
return new NullPrivateChannel(); | ||
} | ||
/** | ||
* Get a presence channel instance by name. | ||
@@ -44,0 +51,0 @@ */ |
@@ -81,2 +81,11 @@ import { Channel, PresenceChannel } from './channel'; | ||
/** | ||
* Leave all channels. | ||
*/ | ||
leaveAllChannels(): void { | ||
for (const channel in this.connector.channels) { | ||
this.leaveChannel(channel); | ||
} | ||
} | ||
/** | ||
* Listen for an event on a channel instance. | ||
@@ -83,0 +92,0 @@ */ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
203593
76
6154