Skip to content

Commit

Permalink
fix: Allow passing a custom lock function to supabase client
Browse files Browse the repository at this point in the history
  • Loading branch information
christophby authored Aug 6, 2024
1 parent fa97643 commit 5f37e69
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SupabaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ export default class SupabaseClient<
storage,
storageKey,
flowType,
lock,
debug,
}: SupabaseAuthClientOptions,
headers?: Record<string, string>,
Expand All @@ -297,6 +298,7 @@ export default class SupabaseClient<
detectSessionInUrl,
storage,
flowType,
lock,
debug,
fetch,
// auth checks if there is a custom authorizaiton header using this flag
Expand Down

0 comments on commit 5f37e69

Please sign in to comment.