elysia-auth-drizzle
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -653,3 +653,3 @@ 'use strict'; | ||
let token; | ||
if (req.cookies && req.cookies["authorization"]) { | ||
if (req.cookies && req.cookies["authorization"] && req.cookies["authorization"].value) { | ||
if (cookieSecret) { | ||
@@ -656,0 +656,0 @@ const result = await unsignCookie( |
{ | ||
"name": "elysia-auth-drizzle", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "./dist/index.js", | ||
@@ -5,0 +5,0 @@ "typings": "dist/index.d.ts", |
@@ -82,3 +82,7 @@ /* eslint-disable @typescript-eslint/ban-ts-comment */ | ||
if (req.cookies && req.cookies['authorization']) { | ||
if ( | ||
req.cookies && | ||
req.cookies['authorization'] && | ||
req.cookies['authorization'].value | ||
) { | ||
if (cookieSecret) { | ||
@@ -85,0 +89,0 @@ const result = await unsignCookie( |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
70942
2252
0