@supabase/gotrue-js 2.78.0 → 2.78.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/dist/main/GoTrueClient.d.ts +11 -0
- package/dist/main/GoTrueClient.d.ts.map +1 -1
- package/dist/main/GoTrueClient.js +145 -112
- package/dist/main/GoTrueClient.js.map +1 -1
- package/dist/main/lib/types.d.ts +5 -0
- package/dist/main/lib/types.d.ts.map +1 -1
- package/dist/main/lib/types.js.map +1 -1
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.d.ts.map +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/main/lib/version.js.map +1 -1
- package/dist/module/GoTrueClient.d.ts +11 -0
- package/dist/module/GoTrueClient.d.ts.map +1 -1
- package/dist/module/GoTrueClient.js +145 -112
- package/dist/module/GoTrueClient.js.map +1 -1
- package/dist/module/lib/types.d.ts +5 -0
- package/dist/module/lib/types.d.ts.map +1 -1
- package/dist/module/lib/types.js.map +1 -1
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.d.ts.map +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/module/lib/version.js.map +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/GoTrueClient.ts +149 -112
- package/src/lib/types.ts +5 -0
- package/src/lib/version.ts +1 -1
package/src/lib/types.ts
CHANGED
|
@@ -107,6 +107,11 @@ export type GoTrueClientOptions = {
|
|
|
107
107
|
* @experimental
|
|
108
108
|
*/
|
|
109
109
|
hasCustomAuthorizationHeader?: boolean
|
|
110
|
+
/**
|
|
111
|
+
* If there is an error with the query, throwOnError will reject the promise by
|
|
112
|
+
* throwing the error instead of returning it as part of a successful response.
|
|
113
|
+
*/
|
|
114
|
+
throwOnError?: boolean
|
|
110
115
|
}
|
|
111
116
|
|
|
112
117
|
const WeakPasswordReasons = ['length', 'characters', 'pwned'] as const
|
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.78.0'
|
|
7
|
+
export const version = '2.78.1-canary.0'
|