laravel-echo
Advanced tools
Comparing version 1.15.3 to 1.16.0
# Release Notes | ||
## [Unreleased](https://github.com/laravel/echo/compare/v1.15.2...master) | ||
## [Unreleased](https://github.com/laravel/echo/compare/v1.15.3...master) | ||
## [v1.15.3](https://github.com/laravel/echo/compare/v1.15.2...v1.15.3) - 2023-08-29 | ||
- Export `Connector` and `EventFormatter` to provide full extensibility by [@slavarazum](https://github.com/slavarazum) in https://github.com/laravel/echo/pull/383 | ||
## [v1.15.2](https://github.com/laravel/echo/compare/v1.15.1...v1.15.2) - 2023-07-11 | ||
@@ -6,0 +10,0 @@ |
@@ -1490,3 +1490,7 @@ 'use strict'; | ||
value: function connect() { | ||
if (this.options.broadcaster == 'pusher') { | ||
if (this.options.broadcaster == 'reverb') { | ||
this.connector = new PusherConnector(_extends(_extends({}, this.options), { | ||
cluster: '' | ||
})); | ||
} else if (this.options.broadcaster == 'pusher') { | ||
this.connector = new PusherConnector(this.options); | ||
@@ -1493,0 +1497,0 @@ } else if (this.options.broadcaster == 'socket.io') { |
@@ -1489,3 +1489,7 @@ var Echo = (function () { | ||
value: function connect() { | ||
if (this.options.broadcaster == 'pusher') { | ||
if (this.options.broadcaster == 'reverb') { | ||
this.connector = new PusherConnector(_extends(_extends({}, this.options), { | ||
cluster: '' | ||
})); | ||
} else if (this.options.broadcaster == 'pusher') { | ||
this.connector = new PusherConnector(this.options); | ||
@@ -1492,0 +1496,0 @@ } else if (this.options.broadcaster == 'socket.io') { |
@@ -1486,3 +1486,7 @@ function _typeof(obj) { | ||
value: function connect() { | ||
if (this.options.broadcaster == 'pusher') { | ||
if (this.options.broadcaster == 'reverb') { | ||
this.connector = new PusherConnector(_extends(_extends({}, this.options), { | ||
cluster: '' | ||
})); | ||
} else if (this.options.broadcaster == 'pusher') { | ||
this.connector = new PusherConnector(this.options); | ||
@@ -1489,0 +1493,0 @@ } else if (this.options.broadcaster == 'socket.io') { |
{ | ||
"name": "laravel-echo", | ||
"version": "1.15.3", | ||
"version": "1.16.0", | ||
"description": "Laravel Echo library for beautiful Pusher and Socket.IO integration", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -41,3 +41,5 @@ import { Channel, PresenceChannel } from './channel'; | ||
connect(): void { | ||
if (this.options.broadcaster == 'pusher') { | ||
if (this.options.broadcaster == 'reverb') { | ||
this.connector = new PusherConnector({ ...this.options, cluster: '' }); | ||
} else if (this.options.broadcaster == 'pusher') { | ||
this.connector = new PusherConnector(this.options); | ||
@@ -44,0 +46,0 @@ } else if (this.options.broadcaster == 'socket.io') { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
209350
6228