Socket
Socket
Sign inDemoInstall

@appliedblockchain/adonis-auth

Package Overview
Dependencies
Maintainers
28
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appliedblockchain/adonis-auth - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

2

package.json
{
"name": "@appliedblockchain/adonis-auth",
"version": "3.0.6",
"version": "3.0.7",
"description": "Offical authentication provider for Adonis framework",

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

@@ -393,6 +393,7 @@ 'use strict'

console.log('JWT PAYLOAD', this.jwtPayload)
let uid = this.jwtPayload.uid
if (!uid && typeof this.jwtPayload === 'number') {
uid = this.jwtPayload
// backwards compat with adonis-auth ~1.0.7
if (!uid && this.jwtPayload.payload && this.jwtPayload.payload.uid) {
uid = this.jwtPayload.payload.uid
}

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