Skip to content

Commit 791fc27

Browse files
authored
feat: add experimental lock auth option (#838)
1 parent 90bd357 commit 791fc27

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/lib/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ export type SupabaseClientOptions<SchemaName> = {
4444
* If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library.
4545
*/
4646
debug?: boolean
47+
/**
48+
* Provide your own locking mechanism based on the environment. By default no locking is done at this time.
49+
*
50+
* @experimental
51+
*/
52+
lock?: SupabaseAuthClientOptions['lock']
4753
}
4854
/**
4955
* Options passed to the realtime-js instance

0 commit comments

Comments
 (0)