Skip to content

Commit 5f37e69

Browse files
authoredAug 6, 2024··
fix: Allow passing a custom lock function to supabase client
1 parent fa97643 commit 5f37e69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/SupabaseClient.ts

+2
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,7 @@ export default class SupabaseClient<
279279
storage,
280280
storageKey,
281281
flowType,
282+
lock,
282283
debug,
283284
}: SupabaseAuthClientOptions,
284285
headers?: Record<string, string>,
@@ -297,6 +298,7 @@ export default class SupabaseClient<
297298
detectSessionInUrl,
298299
storage,
299300
flowType,
301+
lock,
300302
debug,
301303
fetch,
302304
// auth checks if there is a custom authorizaiton header using this flag

0 commit comments

Comments
 (0)
Please sign in to comment.