@josuerhea/auth-helpers-express
Advanced tools
Comparing version 0.1.0 to 0.2.0
# @josuerhea/auth-helpers-express | ||
## 0.2.0 | ||
### Minor Changes | ||
- 336f1b0: Fix: get cookie | ||
## 0.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -51,3 +51,3 @@ "use strict"; | ||
getCookie: (name) => { | ||
return (0, import_auth_helpers_shared.parseCookies)((request == null ? void 0 : request.cookies[name]) ?? "")[name]; | ||
return request.cookies[name]; | ||
}, | ||
@@ -63,3 +63,3 @@ setCookie(name, value, options2) { | ||
...(_a = options == null ? void 0 : options.global) == null ? void 0 : _a.headers, | ||
"X-Client-Info": `${"@josuerhea/auth-helpers-express"}@${"0.1.0"}` | ||
"X-Client-Info": `${"@josuerhea/auth-helpers-express"}@${"0.2.0"}` | ||
} | ||
@@ -66,0 +66,0 @@ } |
{ | ||
"name": "@josuerhea/auth-helpers-express", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "A collection of framework specific Auth utilities for working with Supabase.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
import { | ||
CookieOptions, | ||
createServerSupabaseClient, | ||
parseCookies, | ||
SupabaseClientOptionsWithoutAuth | ||
@@ -49,3 +48,3 @@ } from '@supabase/auth-helpers-shared'; | ||
getCookie: (name) => { | ||
return parseCookies(request?.cookies[name] ?? '')[name]; | ||
return request.cookies[name]; | ||
}, | ||
@@ -52,0 +51,0 @@ setCookie(name, value, options) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
11833
180