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

socketio-jwt

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socketio-jwt - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

2

lib/index.js

@@ -61,3 +61,3 @@ var xtend = require('xtend');

if(options.additional_auth && typeof options.additional_auth === 'function') {
options.options.additional_auth(decoded, onSuccess, onError);
options.additional_auth(decoded, onSuccess, onError);
} else {

@@ -64,0 +64,0 @@ onSuccess();

{
"name": "socketio-jwt",
"version": "4.2.0",
"version": "4.2.1",
"description": "authenticate socket.io connections using JWTs",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -22,3 +22,3 @@ [![Build Status](https://travis-ci.org/auth0/socketio-jwt.svg)](https://travis-ci.org/auth0/socketio-jwt)

console.log('hello! ' + socket.decoded_token.name);
}));
});
```

@@ -25,0 +25,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