From 5f37e6948a50aeb28e17f82e62ea148f56dfdb6d Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 6 Aug 2024 12:54:05 +0200 Subject: [PATCH] fix: Allow passing a custom lock function to supabase client --- src/SupabaseClient.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SupabaseClient.ts b/src/SupabaseClient.ts index f4235289..9f0a32c7 100644 --- a/src/SupabaseClient.ts +++ b/src/SupabaseClient.ts @@ -279,6 +279,7 @@ export default class SupabaseClient< storage, storageKey, flowType, + lock, debug, }: SupabaseAuthClientOptions, headers?: Record, @@ -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