@supabase/auth-helpers-sveltekit
Advanced tools
Comparing version 0.8.0 to 0.8.1
export declare const PKG_NAME = "@supabase/auth-helpers-sveltekit"; | ||
export declare const PKG_VERSION = "0.8.0"; | ||
export declare const PKG_VERSION = "0.8.1"; |
export const PKG_NAME = '@supabase/auth-helpers-sveltekit'; | ||
export const PKG_VERSION = '0.8.0'; | ||
export const PKG_VERSION = '0.8.1'; |
import { createBrowserSupabaseClient } from '@supabase/auth-helpers-shared'; | ||
import { setConfig } from './config'; | ||
import { PKG_NAME, PKG_VERSION } from './constants'; | ||
import { setConfig } from './config.js'; | ||
import { PKG_NAME, PKG_VERSION } from './constants.js'; | ||
export function createClient(supabaseUrl, supabaseKey, options, cookieOptions) { | ||
@@ -5,0 +5,0 @@ const opts = { |
@@ -1,3 +0,3 @@ | ||
export { getSupabase } from './utils/getSupabase'; | ||
export { getServerSession } from './utils/getServerSession'; | ||
export { createClient } from './createClient'; | ||
export { getSupabase } from './utils/getSupabase.js'; | ||
export { getServerSession } from './utils/getServerSession.js'; | ||
export { createClient } from './createClient.js'; |
@@ -1,2 +0,2 @@ | ||
import { getRequestSupabaseClient } from './supabase-request'; | ||
import { getRequestSupabaseClient } from './supabase-request.js'; | ||
export async function getServerSession(event, expiry_margin = 60) { | ||
@@ -3,0 +3,0 @@ const supabase = getRequestSupabaseClient(event); |
@@ -1,3 +0,3 @@ | ||
import { getLoadSupabaseClient } from './supabase-load'; | ||
import { getRequestSupabaseClient } from './supabase-request'; | ||
import { getLoadSupabaseClient } from './supabase-load.js'; | ||
import { getRequestSupabaseClient } from './supabase-request.js'; | ||
export async function getSupabase(event) { | ||
@@ -4,0 +4,0 @@ const requestOrServerLoadEvent = event; |
@@ -1,2 +0,2 @@ | ||
import { getConfig } from '../config'; | ||
import { getConfig } from '../config.js'; | ||
import { isBrowser } from '@supabase/auth-helpers-shared'; | ||
@@ -3,0 +3,0 @@ import { createClient } from '@supabase/supabase-js'; |
@@ -1,2 +0,2 @@ | ||
import { getConfig } from '../config'; | ||
import { getConfig } from '../config.js'; | ||
import { createServerSupabaseClient } from '@supabase/auth-helpers-shared'; | ||
@@ -3,0 +3,0 @@ const CACHE_KEY = Symbol('supabase-client'); |
{ | ||
"name": "@supabase/auth-helpers-sveltekit", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"description": "A collection of framework specific Auth utilities for working with Supabase.", | ||
@@ -14,4 +14,3 @@ "type": "module", | ||
"./package.json": "./package.json", | ||
".": "./dist/index.js", | ||
"./": "./dist/index.js" | ||
".": "./dist/index.js" | ||
}, | ||
@@ -56,8 +55,9 @@ "files": [ | ||
"scripts": { | ||
"build": "pnpm make:constants && svelte-kit sync && svelte-package && pnpm del:dup", | ||
"build": "pnpm make:constants && svelte-kit sync && svelte-package && pnpm del:dup && pnpm fix:esm", | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"del:dup": "del-cli dist/package.json dist/CHANGELOG.md dist/README.md", | ||
"fix:esm": "fix-esm-import-path dist/index.js", | ||
"make:constants": "node ./scripts/make_constants.cjs > src/constants.ts" | ||
} | ||
} |
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
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
1
20101
22
209