@insforge/shared
Advanced tools
+6
-2
@@ -35,3 +35,5 @@ import { UserSchema, CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
| }>; | ||
| signUp: (email: string, password: string) => Promise<CreateUserResponse | { | ||
| signUp: (email: string, password: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<CreateUserResponse | { | ||
| error: string; | ||
@@ -49,3 +51,5 @@ statusCode?: number; | ||
| }>; | ||
| resendVerificationEmail: (email: string) => Promise<{ | ||
| resendVerificationEmail: (email: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<{ | ||
| success: boolean; | ||
@@ -52,0 +56,0 @@ message: string; |
+6
-2
@@ -35,3 +35,5 @@ import { UserSchema, CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
| }>; | ||
| signUp: (email: string, password: string) => Promise<CreateUserResponse | { | ||
| signUp: (email: string, password: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<CreateUserResponse | { | ||
| error: string; | ||
@@ -49,3 +51,5 @@ statusCode?: number; | ||
| }>; | ||
| resendVerificationEmail: (email: string) => Promise<{ | ||
| resendVerificationEmail: (email: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<{ | ||
| success: boolean; | ||
@@ -52,0 +56,0 @@ message: string; |
+1
-1
| { | ||
| "name": "@insforge/shared", | ||
| "version": "1.1.1-dev.1", | ||
| "version": "1.1.1-dev.2", | ||
| "description": "Shared utilities and React contexts for Insforge packages", | ||
@@ -5,0 +5,0 @@ "type": "module", |
19311
1.11%161
2.55%