New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

laravel-echo

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

laravel-echo - npm Package Compare versions

Comparing version 1.17.1 to 1.18.0

6

CHANGELOG.md
# Release Notes
## [Unreleased](https://github.com/laravel/echo/compare/v1.17.0...master)
## [Unreleased](https://github.com/laravel/echo/compare/v1.17.1...master)
## [v1.17.1](https://github.com/laravel/echo/compare/v1.17.0...v1.17.1) - 2024-11-26
* Fix custom broadcaster usages by [@bytestream](https://github.com/bytestream) in https://github.com/laravel/echo/pull/404
## [v1.17.0](https://github.com/laravel/echo/compare/v1.16.1...v1.17.0) - 2024-11-12

@@ -6,0 +10,0 @@

8

dist/echo.common.js

@@ -1001,6 +1001,6 @@ 'use strict';

this._defaultOptions = {
auth: {
channelAuthorization: {
endpoint: '/broadcasting/auth',
headers: {}
},
authEndpoint: '/broadcasting/auth',
userAuthentication: {

@@ -1032,3 +1032,3 @@ endpoint: '/broadcasting/user-auth',

if (token) {
this.options.auth.headers['X-CSRF-TOKEN'] = token;
this.options.channelAuthorization.headers['X-CSRF-TOKEN'] = token;
this.options.userAuthentication.headers['X-CSRF-TOKEN'] = token;

@@ -1040,3 +1040,3 @@ }

if (token) {
this.options.auth.headers['Authorization'] = 'Bearer ' + token;
this.options.channelAuthorization.headers['Authorization'] = 'Bearer ' + token;
this.options.userAuthentication.headers['Authorization'] = 'Bearer ' + token;

@@ -1043,0 +1043,0 @@ }

@@ -1000,6 +1000,6 @@ var Echo = (function () {

this._defaultOptions = {
auth: {
channelAuthorization: {
endpoint: '/broadcasting/auth',
headers: {}
},
authEndpoint: '/broadcasting/auth',
userAuthentication: {

@@ -1031,3 +1031,3 @@ endpoint: '/broadcasting/user-auth',

if (token) {
this.options.auth.headers['X-CSRF-TOKEN'] = token;
this.options.channelAuthorization.headers['X-CSRF-TOKEN'] = token;
this.options.userAuthentication.headers['X-CSRF-TOKEN'] = token;

@@ -1039,3 +1039,3 @@ }

if (token) {
this.options.auth.headers['Authorization'] = 'Bearer ' + token;
this.options.channelAuthorization.headers['Authorization'] = 'Bearer ' + token;
this.options.userAuthentication.headers['Authorization'] = 'Bearer ' + token;

@@ -1042,0 +1042,0 @@ }

@@ -997,6 +997,6 @@ function _typeof(obj) {

this._defaultOptions = {
auth: {
channelAuthorization: {
endpoint: '/broadcasting/auth',
headers: {}
},
authEndpoint: '/broadcasting/auth',
userAuthentication: {

@@ -1028,3 +1028,3 @@ endpoint: '/broadcasting/user-auth',

if (token) {
this.options.auth.headers['X-CSRF-TOKEN'] = token;
this.options.channelAuthorization.headers['X-CSRF-TOKEN'] = token;
this.options.userAuthentication.headers['X-CSRF-TOKEN'] = token;

@@ -1036,3 +1036,3 @@ }

if (token) {
this.options.auth.headers['Authorization'] = 'Bearer ' + token;
this.options.channelAuthorization.headers['Authorization'] = 'Bearer ' + token;
this.options.userAuthentication.headers['Authorization'] = 'Bearer ' + token;

@@ -1039,0 +1039,0 @@ }

{
"name": "laravel-echo",
"version": "1.17.1",
"version": "1.18.0",
"description": "Laravel Echo library for beautiful Pusher and Socket.IO integration",

@@ -5,0 +5,0 @@ "keywords": [

@@ -8,6 +8,6 @@ import { Channel, PresenceChannel } from '../channel';

private _defaultOptions: any = {
auth: {
channelAuthorization: {
endpoint: '/broadcasting/auth',
headers: {},
},
authEndpoint: '/broadcasting/auth',
userAuthentication: {

@@ -47,3 +47,3 @@ endpoint: '/broadcasting/user-auth',

if (token) {
this.options.auth.headers['X-CSRF-TOKEN'] = token;
this.options.channelAuthorization.headers['X-CSRF-TOKEN'] = token;
this.options.userAuthentication.headers['X-CSRF-TOKEN'] = token;

@@ -55,3 +55,3 @@ }

if (token) {
this.options.auth.headers['Authorization'] = 'Bearer ' + token;
this.options.channelAuthorization.headers['Authorization'] = 'Bearer ' + token;
this.options.userAuthentication.headers['Authorization'] = 'Bearer ' + token;

@@ -58,0 +58,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc