We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0d86e commit 7621bd1Copy full SHA for 7621bd1
src/SupabaseClient.ts
@@ -10,7 +10,7 @@ const DEFAULT_OPTIONS = {
10
autoRefreshToken: true,
11
persistSession: true,
12
detectSessionInUrl: true,
13
- localStorage: global.localStorage,
+ localStorage: globalThis.localStorage,
14
headers: DEFAULT_HEADERS,
15
}
16
src/lib/types.ts
@@ -1,8 +1,8 @@
1
export type SupabaseClientOptions = {
2
/**
3
- * The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase.
+ * The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'.
4
*/
5
- schema: string
+ schema?: string
6
7
* Optional headers for initializing the client.
8
0 commit comments