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.26 to 0.0.27

15

dist/echo.js

@@ -474,2 +474,5 @@ var classCallCheck = function (instance, Constructor) {

this.options = options;
if (Vue && Vue.http) {
this.registerVueRequestInterceptor();
}
if (this.options.connector == 'pusher') {

@@ -483,2 +486,14 @@ this.connector = new PusherConnector(this.options);

createClass(Echo, [{
key: 'registerVueRequestInterceptor',
value: function registerVueRequestInterceptor() {
var _this = this;
Vue.http.interceptors.push(function (request, next) {
if (_this.socketId()) {
request.headers['X-Socket-ID'] = _this.socketId();
}
next();
});
}
}, {
key: 'listen',

@@ -485,0 +500,0 @@ value: function listen(channel, event, callback) {

2

package.json
{
"name": "laravel-echo",
"version": "0.0.26",
"version": "0.0.27",
"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