New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@supabase/auth-helpers-sveltekit

Package Overview
Dependencies
Maintainers
5
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supabase/auth-helpers-sveltekit - npm Package Compare versions

Comparing version 0.8.6 to 0.8.7

2

dist/constants.d.ts
export declare const PKG_NAME = "@supabase/auth-helpers-sveltekit";
export declare const PKG_VERSION = "0.8.6";
export declare const PKG_VERSION = "0.8.7";
export const PKG_NAME = '@supabase/auth-helpers-sveltekit';
export const PKG_VERSION = '0.8.6';
export const PKG_VERSION = '0.8.7';

@@ -1,3 +0,3 @@

import { type CookieOptions, type SupabaseClientOptions as SupabaseClientOptionsWithoutAuth } from '@supabase/auth-helpers-shared';
import { type CookieOptions, type SupabaseClientOptionsWithoutAuth } from '@supabase/auth-helpers-shared';
import type { TypedSupabaseClient } from './types';
export declare function createClient(supabaseUrl: string, supabaseKey: string, options?: SupabaseClientOptionsWithoutAuth<App.Supabase['SchemaName']>, cookieOptions?: CookieOptions): TypedSupabaseClient;

@@ -13,5 +13,2 @@ import { createBrowserSupabaseClient } from '@supabase/auth-helpers-shared';

}
},
auth: {
storageKey: cookieOptions?.name ?? 'supabase-auth-token'
}

@@ -18,0 +15,0 @@ };

@@ -1,4 +0,4 @@

export type { ExtendedEvent, Config } from './types';
export type { TypedSupabaseClient } from './types';
export { getSupabase } from './utils/getSupabase';
export { getServerSession } from './utils/getServerSession';
export { createClient } from './createClient';
{
"name": "@supabase/auth-helpers-sveltekit",
"version": "0.8.6",
"version": "0.8.7",
"description": "A collection of framework specific Auth utilities for working with Supabase.",

@@ -48,3 +48,3 @@ "type": "module",

"dependencies": {
"@supabase/auth-helpers-shared": "0.2.3"
"@supabase/auth-helpers-shared": "0.2.4"
},

@@ -51,0 +51,0 @@ "peerDependencies": {

@@ -120,5 +120,5 @@ # @supabase/auth-helpers-sveltekit (BETA)

### Typings
### Typings with v2 from Supabase CLI
In order to get the most out of TypeScript and it´s intellisense, you should import our types into the `app.d.ts` type definition file that comes with your SvelteKit project.
In order to get the most out of TypeScript and it´s intellisense, you should import the generated Database types into the `app.d.ts` type definition file that comes with your SvelteKit project, where `import('./DatabaseDefinitions')` points to the generated types file outlined in [v2 docs here](https://supabase.com/docs/reference/javascript/release-notes#typescript-support) after you have logged in, linked, and generated types through the Supabase CLI.

@@ -298,2 +298,3 @@ ```ts

import { getSupabase } from '@supabase/auth-helpers-sveltekit';
import { AuthApiError } from '@supabase/supabase-js';

@@ -300,0 +301,0 @@ export const actions: Actions = {

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