Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

laravel-echo

Package Overview
Dependencies
Maintainers
1
Versions
95
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 0.0.28 to 0.1.0

10

dist/echo.js

@@ -75,4 +75,4 @@ var classCallCheck = function (instance, Constructor) {

host: null,
namespace: null,
pusherKey: null
key: null,
namespace: null
};

@@ -96,3 +96,5 @@ this.setOptions(options);

var selector = document.querySelector('meta[name="csrf-token"]');
if (this.options.csrfToken) {
if (window.Laravel && window.Laravel.csrfToken) {
return window.Laravel.csrfToken;
} else if (this.options.csrfToken) {
return this.options.csrfToken;

@@ -319,3 +321,3 @@ } else if (selector) {

value: function connect() {
this.pusher = new Pusher(this.options.pusherKey, this.options);
this.pusher = new Pusher(this.options.key, this.options);
}

@@ -322,0 +324,0 @@ }, {

2

package.json
{
"name": "laravel-echo",
"version": "0.0.28",
"version": "0.1.0",
"description": "Laravel Echo library for beautiful Pusher integration",

@@ -5,0 +5,0 @@ "main": "dist/echo.js",

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