@supabase/supabase-js 2.100.0 → 2.100.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/cors.cjs +1 -1
- package/dist/cors.cjs.map +1 -1
- package/dist/cors.d.cts +1 -1
- package/dist/cors.d.mts +1 -1
- package/dist/cors.mjs +1 -1
- package/dist/cors.mjs.map +1 -1
- package/dist/index.cjs +29 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -5
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +32 -5
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +29 -2
- package/dist/index.mjs.map +1 -1
- package/dist/umd/supabase.js +3 -3
- package/package.json +7 -7
- package/src/SupabaseClient.ts +27 -0
- package/src/cors.ts +1 -1
- package/src/index.ts +1 -1
- package/src/lib/types.ts +4 -4
- package/src/lib/version.ts +1 -1
package/src/lib/types.ts
CHANGED
|
@@ -35,7 +35,7 @@ export type SupabaseClientOptions<SchemaName> = {
|
|
|
35
35
|
* Optional timeout in milliseconds for PostgREST requests.
|
|
36
36
|
* When set, requests will automatically abort after this duration to prevent indefinite hangs.
|
|
37
37
|
*
|
|
38
|
-
* @example
|
|
38
|
+
* @example With timeout
|
|
39
39
|
* ```ts
|
|
40
40
|
* const supabase = createClient(url, key, {
|
|
41
41
|
* db: { timeout: 30000 } // 30 second timeout
|
|
@@ -48,7 +48,7 @@ export type SupabaseClientOptions<SchemaName> = {
|
|
|
48
48
|
* Defaults to 8000 characters. Used to provide helpful hints when URLs
|
|
49
49
|
* exceed server limits.
|
|
50
50
|
*
|
|
51
|
-
* @example
|
|
51
|
+
* @example With custom URL length limit
|
|
52
52
|
* ```ts
|
|
53
53
|
* const supabase = createClient(url, key, {
|
|
54
54
|
* db: { urlLengthLimit: 10000 } // Custom limit
|
|
@@ -82,7 +82,7 @@ export type SupabaseClientOptions<SchemaName> = {
|
|
|
82
82
|
* also return access_token in the URL fragment, which would otherwise be incorrectly
|
|
83
83
|
* intercepted by Supabase Auth.
|
|
84
84
|
*
|
|
85
|
-
* @example
|
|
85
|
+
* @example With custom detection logic
|
|
86
86
|
* ```ts
|
|
87
87
|
* detectSessionInUrl: (url, params) => {
|
|
88
88
|
* // Ignore Facebook OAuth redirects
|
|
@@ -165,7 +165,7 @@ export type QueryError = PostgrestError
|
|
|
165
165
|
* Strips internal Supabase metadata from Database types.
|
|
166
166
|
* Useful for libraries defining generic constraints on Database types.
|
|
167
167
|
*
|
|
168
|
-
* @example
|
|
168
|
+
* @example Stripping internal Supabase metadata
|
|
169
169
|
* ```typescript
|
|
170
170
|
* type CleanDB = DatabaseWithoutInternals<Database>
|
|
171
171
|
* ```
|
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.100.
|
|
7
|
+
export const version = '2.100.1'
|