@supabase/supabase-js 3.0.0-next.4 → 3.0.0-next.6

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": "3.0.0-next.4",
3
+ "version": "3.0.0-next.6",
4
4
  "description": "Isomorphic Javascript SDK for Supabase",
5
5
  "keywords": [
6
6
  "javascript",
@@ -80,11 +80,11 @@
80
80
  "update:test-deps:bun": "cd test/integration/bun && bun install"
81
81
  },
82
82
  "dependencies": {
83
- "@supabase/auth-js": "3.0.0-next.4",
84
- "@supabase/functions-js": "3.0.0-next.4",
85
- "@supabase/postgrest-js": "3.0.0-next.4",
86
- "@supabase/realtime-js": "3.0.0-next.4",
87
- "@supabase/storage-js": "3.0.0-next.4"
83
+ "@supabase/auth-js": "3.0.0-next.6",
84
+ "@supabase/functions-js": "3.0.0-next.6",
85
+ "@supabase/postgrest-js": "3.0.0-next.6",
86
+ "@supabase/realtime-js": "3.0.0-next.6",
87
+ "@supabase/storage-js": "3.0.0-next.6"
88
88
  },
89
89
  "devDependencies": {
90
90
  "jsr": "^0.13.5",
@@ -553,6 +553,7 @@ export default class SupabaseClient<
553
553
  lock,
554
554
  debug,
555
555
  throwOnError,
556
+ experimental,
556
557
  }: SupabaseAuthClientOptions,
557
558
  headers?: Record<string, string>,
558
559
  fetch?: Fetch
@@ -574,6 +575,7 @@ export default class SupabaseClient<
574
575
  lock,
575
576
  debug,
576
577
  throwOnError,
578
+ experimental,
577
579
  fetch,
578
580
  // auth checks if there is a custom authorizaiton header using this flag
579
581
  // so it knows whether to return an error when getUser is called with no session
package/src/lib/types.ts CHANGED
@@ -124,6 +124,13 @@ export type SupabaseClientOptions<SchemaName> = {
124
124
  * throwing the error instead of returning it as part of a successful response.
125
125
  */
126
126
  throwOnError?: SupabaseAuthClientOptions['throwOnError']
127
+ /**
128
+ * Opt-in flags for experimental features. These APIs may change without
129
+ * notice and are disabled by default.
130
+ *
131
+ * @experimental
132
+ */
133
+ experimental?: SupabaseAuthClientOptions['experimental']
127
134
  }
128
135
  /**
129
136
  * Options passed to the realtime-js instance
@@ -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 = '3.0.0-next.4'
7
+ export const version = '3.0.0-next.6'