Skip to content

Commit

Permalink
Adds to the type
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwicopple authored Jan 16, 2025
1 parent ed8d296 commit 0f6fdff
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ export type GoTrueClientOptions = {
* @experimental
*/
hasCustomAuthorizationHeader?: boolean
**
* If there is an error with the query, throwOnError will reject the promise by
* throwing the error instead of returning it as part of a successful response.
*/
throwOnError?: false
}

export type WeakPasswordReasons = 'length' | 'characters' | 'pwned' | (string & {})
Expand Down

0 comments on commit 0f6fdff

Please sign in to comment.