@supabase/supabase-js 2.107.0-canary.0 → 2.107.0-canary.2
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 +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +12 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/umd/supabase.js +6 -6
- package/package.json +6 -6
- package/src/lib/types.ts +12 -5
- package/src/lib/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@supabase/supabase-js",
|
|
3
|
-
"version": "2.107.0-canary.
|
|
3
|
+
"version": "2.107.0-canary.2",
|
|
4
4
|
"description": "Isomorphic Javascript SDK for Supabase",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"javascript",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"directory": "packages/core/supabase-js"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@supabase/
|
|
63
|
-
"@supabase/
|
|
64
|
-
"@supabase/
|
|
65
|
-
"@supabase/
|
|
66
|
-
"@supabase/
|
|
62
|
+
"@supabase/auth-js": "2.107.0-canary.2",
|
|
63
|
+
"@supabase/functions-js": "2.107.0-canary.2",
|
|
64
|
+
"@supabase/postgrest-js": "2.107.0-canary.2",
|
|
65
|
+
"@supabase/realtime-js": "2.107.0-canary.2",
|
|
66
|
+
"@supabase/storage-js": "2.107.0-canary.2"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@arethetypeswrong/cli": "^0.18.2",
|
package/src/lib/types.ts
CHANGED
|
@@ -182,9 +182,14 @@ export type SupabaseClientOptions<SchemaName> = {
|
|
|
182
182
|
*/
|
|
183
183
|
debug?: SupabaseAuthClientOptions['debug']
|
|
184
184
|
/**
|
|
185
|
-
* Provide your own locking mechanism based on the environment. By default
|
|
185
|
+
* Provide your own locking mechanism based on the environment. By default
|
|
186
|
+
* the auth client coordinates refreshes itself and the server resolves
|
|
187
|
+
* cross-tab races. Passing a custom `lock` opts into a legacy path that
|
|
188
|
+
* wraps every auth operation in your supplied lock.
|
|
186
189
|
*
|
|
187
|
-
* @
|
|
190
|
+
* @deprecated Custom locks still work in v2.x for backwards compatibility.
|
|
191
|
+
* The legacy lock path will be removed in v3 — drop this option from your
|
|
192
|
+
* `createClient` options before upgrading.
|
|
188
193
|
*/
|
|
189
194
|
lock?: SupabaseAuthClientOptions['lock']
|
|
190
195
|
/**
|
|
@@ -200,11 +205,13 @@ export type SupabaseClientOptions<SchemaName> = {
|
|
|
200
205
|
*/
|
|
201
206
|
experimental?: SupabaseAuthClientOptions['experimental']
|
|
202
207
|
/**
|
|
203
|
-
* Maximum time in milliseconds to wait
|
|
204
|
-
*
|
|
205
|
-
* for full semantics (zero fails immediately, negative waits indefinitely).
|
|
208
|
+
* Maximum time in milliseconds to wait for acquiring the custom lock
|
|
209
|
+
* supplied via `lock`. Only consulted when a custom `lock` is passed.
|
|
206
210
|
*
|
|
207
211
|
* @default 5000
|
|
212
|
+
*
|
|
213
|
+
* @deprecated Only used by the legacy lock path. Will be removed in v3
|
|
214
|
+
* along with the `lock` option.
|
|
208
215
|
*/
|
|
209
216
|
lockAcquireTimeout?: SupabaseAuthClientOptions['lockAcquireTimeout']
|
|
210
217
|
/**
|
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.107.0-canary.
|
|
7
|
+
export const version = '2.107.0-canary.2'
|