@supabase/supabase-js 2.111.0-canary.0 → 2.111.1-canary.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/supabase-js",
3
- "version": "2.111.0-canary.0",
3
+ "version": "2.111.1-canary.0",
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/functions-js": "2.111.0-canary.0",
63
- "@supabase/auth-js": "2.111.0-canary.0",
64
- "@supabase/postgrest-js": "2.111.0-canary.0",
65
- "@supabase/storage-js": "2.111.0-canary.0",
66
- "@supabase/realtime-js": "2.111.0-canary.0"
62
+ "@supabase/auth-js": "2.111.1-canary.0",
63
+ "@supabase/functions-js": "2.111.1-canary.0",
64
+ "@supabase/realtime-js": "2.111.1-canary.0",
65
+ "@supabase/storage-js": "2.111.1-canary.0",
66
+ "@supabase/postgrest-js": "2.111.1-canary.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@arethetypeswrong/cli": "^0.18.2",
@@ -398,6 +398,7 @@ export default class SupabaseClient<
398
398
  fetch: this.fetch,
399
399
  timeout: settings.db.timeout,
400
400
  urlLengthLimit: settings.db.urlLengthLimit,
401
+ retry: settings.db.retry,
401
402
  })
402
403
 
403
404
  this.storage = new SupabaseStorageClient(
package/src/lib/types.ts CHANGED
@@ -124,6 +124,11 @@ export type SupabaseClientOptions<SchemaName> = {
124
124
  * ```
125
125
  */
126
126
  urlLengthLimit?: number
127
+ /**
128
+ * Enable or disable automatic retries for transient PostgREST errors.
129
+ * Defaults to `true`.
130
+ */
131
+ retry?: boolean
127
132
  }
128
133
 
129
134
  auth?: {
@@ -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.111.0-canary.0'
7
+ export const version = '2.111.1-canary.0'