@supabase/supabase-js 2.105.1 → 2.105.2-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +19 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +19 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/dist/umd/supabase.js +3 -3
- package/package.json +6 -6
- package/src/SupabaseClient.ts +7 -2
- package/src/lib/types.ts +16 -0
- package/src/lib/version.ts +1 -1
package/src/lib/types.ts
CHANGED
|
@@ -131,6 +131,22 @@ export type SupabaseClientOptions<SchemaName> = {
|
|
|
131
131
|
* @experimental
|
|
132
132
|
*/
|
|
133
133
|
experimental?: SupabaseAuthClientOptions['experimental']
|
|
134
|
+
/**
|
|
135
|
+
* Maximum time in milliseconds to wait when acquiring the auth lock before
|
|
136
|
+
* stealing it from the previous holder. See `GoTrueClientOptions.lockAcquireTimeout`
|
|
137
|
+
* for full semantics (zero fails immediately, negative waits indefinitely).
|
|
138
|
+
*
|
|
139
|
+
* @default 5000
|
|
140
|
+
*/
|
|
141
|
+
lockAcquireTimeout?: SupabaseAuthClientOptions['lockAcquireTimeout']
|
|
142
|
+
/**
|
|
143
|
+
* If true, skips automatic initialization in the auth client constructor.
|
|
144
|
+
* Useful for SSR contexts where initialization timing must be controlled to
|
|
145
|
+
* prevent race conditions with HTTP response generation.
|
|
146
|
+
*
|
|
147
|
+
* @default false
|
|
148
|
+
*/
|
|
149
|
+
skipAutoInitialize?: SupabaseAuthClientOptions['skipAutoInitialize']
|
|
134
150
|
}
|
|
135
151
|
/**
|
|
136
152
|
* Options passed to the realtime-js instance
|
package/src/lib/version.ts
CHANGED
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
// - Debugging and support (identifying which version is running)
|
|
5
5
|
// - Telemetry and logging (version reporting in errors/analytics)
|
|
6
6
|
// - Ensuring build artifacts match the published package version
|
|
7
|
-
export const version = '2.105.1'
|
|
7
|
+
export const version = '2.105.2-canary.1'
|