File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ const DEFAULT_OPTIONS = {
21
21
detectSessionInUrl : true ,
22
22
} ,
23
23
global : {
24
- timeoutMs : 500 ,
25
24
headers : DEFAULT_HEADERS ,
26
25
} ,
27
26
db : {
@@ -104,7 +103,7 @@ export default class SupabaseClient<
104
103
const authSettings = Object . assign ( DEFAULT_OPTIONS . global , DEFAULT_OPTIONS . auth , settings . auth )
105
104
const dbSettings = Object . assign ( DEFAULT_OPTIONS . global , DEFAULT_OPTIONS . db , settings . db )
106
105
107
- this . headers = { ... DEFAULT_OPTIONS ?. global ?. headers , ... options ?. headers }
106
+ this . headers = settings . headers
108
107
109
108
this . auth = this . _initSupabaseAuthClient ( authSettings , this . headers , this . fetch )
110
109
this . fetch = fetchWithAuth ( supabaseKey , this . _getAccessToken . bind ( this ) , this . fetch )
You can’t perform that action at this time.
0 commit comments