socketio-jwt
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21480