@insforge/shared
Advanced tools
+2
-10
@@ -1,3 +0,2 @@ | ||
| import { UserSchema } from '@insforge/sdk'; | ||
| import { CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
| import { CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
@@ -53,10 +52,3 @@ /** | ||
| resetPassword: (token: string, newPassword: string) => Promise<ResetPasswordResponse | null>; | ||
| verifyEmail: (otp: string, email?: string) => Promise<{ | ||
| accessToken: string; | ||
| user?: UserSchema; | ||
| redirectTo?: string; | ||
| error?: { | ||
| message: string; | ||
| }; | ||
| } | null>; | ||
| verifyEmail: (otp: string, email?: string) => Promise<VerifyEmailResponse | null>; | ||
| exchangeResetPasswordToken: (email: string, code: string) => Promise<{ | ||
@@ -63,0 +55,0 @@ token: string; |
+2
-10
@@ -1,3 +0,2 @@ | ||
| import { UserSchema } from '@insforge/sdk'; | ||
| import { CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
| import { CreateSessionResponse, CreateUserResponse, ResetPasswordResponse, VerifyEmailResponse, OAuthProvidersSchema, GetPublicAuthConfigResponse } from '@insforge/shared-schemas'; | ||
@@ -53,10 +52,3 @@ /** | ||
| resetPassword: (token: string, newPassword: string) => Promise<ResetPasswordResponse | null>; | ||
| verifyEmail: (otp: string, email?: string) => Promise<{ | ||
| accessToken: string; | ||
| user?: UserSchema; | ||
| redirectTo?: string; | ||
| error?: { | ||
| message: string; | ||
| }; | ||
| } | null>; | ||
| verifyEmail: (otp: string, email?: string) => Promise<VerifyEmailResponse | null>; | ||
| exchangeResetPasswordToken: (email: string, code: string) => Promise<{ | ||
@@ -63,0 +55,0 @@ token: string; |
+0
-1
| import * as react from 'react'; | ||
| import { InsforgeContextValue } from './index.cjs'; | ||
| import '@insforge/sdk'; | ||
| import '@insforge/shared-schemas'; | ||
@@ -5,0 +4,0 @@ |
+0
-1
| import * as react from 'react'; | ||
| import { InsforgeContextValue } from './index.js'; | ||
| import '@insforge/sdk'; | ||
| import '@insforge/shared-schemas'; | ||
@@ -5,0 +4,0 @@ |
+2
-2
| { | ||
| "name": "@insforge/shared", | ||
| "version": "1.0.5", | ||
| "version": "1.0.6", | ||
| "description": "Shared utilities and React contexts for Insforge packages", | ||
@@ -43,3 +43,3 @@ "type": "module", | ||
| "dependencies": { | ||
| "@insforge/sdk": "^1.0.1-refresh.18", | ||
| "@insforge/sdk": "^1.0.3-dev.1", | ||
| "@insforge/shared-schemas": "^1.1.34" | ||
@@ -46,0 +46,0 @@ }, |
10779
-3.24%95
-8.65%Updated