@insforge/shared
Advanced tools
+3
-7
@@ -1,2 +0,2 @@ | ||
| import { UserSchema, CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
| import { UserSchema, CreateSessionResponse, AuthOptions, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
@@ -35,5 +35,3 @@ /** | ||
| }>; | ||
| signUp: (email: string, password: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<CreateUserResponse | { | ||
| signUp: (email: string, password: string, options?: AuthOptions) => Promise<CreateUserResponse | { | ||
| error: string; | ||
@@ -51,5 +49,3 @@ statusCode?: number; | ||
| }>; | ||
| resendVerificationEmail: (email: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<{ | ||
| resendVerificationEmail: (email: string, options?: AuthOptions) => Promise<{ | ||
| success: boolean; | ||
@@ -56,0 +52,0 @@ message: string; |
+3
-7
@@ -1,2 +0,2 @@ | ||
| import { UserSchema, CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
| import { UserSchema, CreateSessionResponse, AuthOptions, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
@@ -35,5 +35,3 @@ /** | ||
| }>; | ||
| signUp: (email: string, password: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<CreateUserResponse | { | ||
| signUp: (email: string, password: string, options?: AuthOptions) => Promise<CreateUserResponse | { | ||
| error: string; | ||
@@ -51,5 +49,3 @@ statusCode?: number; | ||
| }>; | ||
| resendVerificationEmail: (email: string, options?: { | ||
| emailRedirectTo?: string; | ||
| }) => Promise<{ | ||
| resendVerificationEmail: (email: string, options?: AuthOptions) => Promise<{ | ||
| success: boolean; | ||
@@ -56,0 +52,0 @@ message: string; |
+2
-2
| { | ||
| "name": "@insforge/shared", | ||
| "version": "1.1.1-dev.2", | ||
| "version": "1.1.1-dev.3", | ||
| "description": "Shared utilities and React contexts for Insforge packages", | ||
@@ -43,3 +43,3 @@ "type": "module", | ||
| "dependencies": { | ||
| "@insforge/shared-schemas": "^1.1.35" | ||
| "@insforge/shared-schemas": "^1.1.37-dev.0" | ||
| }, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
19223
-0.46%157
-2.48%