@fastify/jwt
Advanced tools
Comparing version 5.0.1 to 6.0.0
14
jwt.js
@@ -129,3 +129,3 @@ 'use strict' | ||
const jwtDecorator = { | ||
decode: decode, | ||
decode, | ||
options: { | ||
@@ -137,6 +137,6 @@ decode: decodeOptions, | ||
}, | ||
cookie: cookie, | ||
sign: sign, | ||
verify: verify, | ||
lookupToken: lookupToken | ||
cookie, | ||
sign, | ||
verify, | ||
lookupToken | ||
} | ||
@@ -506,4 +506,4 @@ | ||
module.exports = fp(fastifyJwt, { | ||
fastify: '>=3.0.0', | ||
name: 'fastify-jwt' | ||
fastify: '4.x', | ||
name: '@fastify/jwt' | ||
}) |
{ | ||
"name": "@fastify/jwt", | ||
"version": "5.0.1", | ||
"version": "6.0.0", | ||
"description": "JWT utils for Fastify", | ||
@@ -46,3 +46,3 @@ "main": "jwt.js", | ||
"@types/node": "^17.0.21", | ||
"fastify": "^3.27.2", | ||
"fastify": "^4.0.0-rc.2", | ||
"pre-commit": "^1.2.2", | ||
@@ -49,0 +49,0 @@ "standard": "^17.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
139701