@supabase/gotrue-js 2.28.0 → 2.29.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
@@ -69,6 +69,22 @@ export type AuthResponse =
69
69
  error: AuthError
70
70
  }
71
71
 
72
+ export type AuthTokenResponse =
73
+ | {
74
+ data: {
75
+ user: User
76
+ session: Session
77
+ }
78
+ error: null
79
+ }
80
+ | {
81
+ data: {
82
+ user: null
83
+ session: null
84
+ }
85
+ error: AuthError
86
+ }
87
+
72
88
  export type OAuthResponse =
73
89
  | {
74
90
  data: {
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.28.0'
2
+ export const version = '2.29.0'