File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ export default class SupabaseClient<
103
103
this . realtime = this . _initRealtimeClient ( { headers : this . headers , ...settings . realtime } )
104
104
this . rest = new PostgrestClient ( `${ _supabaseUrl } /rest/v1` , {
105
105
headers : this . headers ,
106
- schema : options ?. db ?. schema ?? 'public' ,
106
+ schema : options ?. db ?. schema ,
107
107
fetch : this . fetch ,
108
108
throwOnError : this . shouldThrowOnError ,
109
109
} )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ export type SupabaseClientOptions<SchemaName> = {
12
12
* The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to 'public'.
13
13
*/
14
14
db ?: {
15
- schema ?: string
15
+ schema ?: SchemaName
16
16
}
17
17
18
18
auth ?: {
@@ -21,8 +21,7 @@ export type SupabaseClientOptions<SchemaName> = {
21
21
*/
22
22
autoRefreshToken ?: boolean
23
23
/**
24
- * Allows to enable/disable multi-tab/window events
25
- */
24
+ * Allows to enable/disable multi-tab/window /
26
25
multiTab?: boolean
27
26
/**
28
27
* Whether to persist a logged in session to storage.
@@ -40,6 +39,10 @@ export type SupabaseClientOptions<SchemaName> = {
40
39
* Options passed to the gotrue-js instance
41
40
*/
42
41
cookieOptions ?: SupabaseAuthClientOptions [ 'cookieOptions' ]
42
+ /**
43
+ * Allows to enable/disable multi-tab/window events
44
+ */
45
+ multiTab ?: boolean
43
46
}
44
47
/**
45
48
* Options passed to the realtime-js instance
You can’t perform that action at this time.
0 commit comments