@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/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
@@ -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'