Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@josuerhea/auth-helpers-express

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@josuerhea/auth-helpers-express - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

6

CHANGELOG.md
# @josuerhea/auth-helpers-express
## 0.2.0
### Minor Changes
- 336f1b0: Fix: get cookie
## 0.1.0

@@ -4,0 +10,0 @@

4

dist/index.js

@@ -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

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