fastify-jwt
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -44,3 +44,3 @@ import * as fastify from 'fastify'; | ||
interface FastifyReplyInterface { | ||
interface FastifyReply { | ||
jwtSign(payload: JWTTypes.SignPayloadType, options?: jwt.SignOptions): Promise<string>; | ||
@@ -51,3 +51,3 @@ jwtSign(payload: JWTTypes.SignPayloadType, callback: JWTTypes.SignCallback): void; | ||
interface FastifyRequestInterface { | ||
interface FastifyRequest { | ||
jwtVerify<Decoded extends JWTTypes.VerifyPayloadType>(options?: jwt.VerifyOptions): Promise<Decoded>; | ||
@@ -54,0 +54,0 @@ jwtVerify<Decoded extends JWTTypes.VerifyPayloadType>(callback: JWTTypes.VerifyCallback<Decoded>): void; |
{ | ||
"name": "fastify-jwt", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "JWT utils for Fastify", | ||
@@ -40,3 +40,3 @@ "main": "jwt.js", | ||
"devDependencies": { | ||
"fastify": "^3.0.0-rc.3", | ||
"fastify": "^3.0.0-rc.4", | ||
"fastify-cookie": "^4.0.1", | ||
@@ -43,0 +43,0 @@ "standard": "^14.0.2", |
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
96911