@frontegg/redux-store
Advanced tools
Comparing version 1.28.1-alpha-split-store to 2.0.0-alpha.725856734
@@ -1,2 +0,2 @@ | ||
import { IForgotPassword, IResetPassword } from '@frontegg/rest-api'; | ||
import { IForgotPassword, IGetUserPasswordConfig, IResetPassword } from '@frontegg/rest-api'; | ||
import { ForgotPasswordState } from './interfaces'; | ||
@@ -23,2 +23,6 @@ declare const forgotPasswordState: ForgotPasswordState; | ||
activateState: import("..").ActivateAccountState; | ||
/** | ||
* if you see error in matcher that's mean the DispatchAction does not | ||
* contains the same functions in reducers and actions | ||
*/ | ||
acceptInvitationState: import("..").AcceptInvitationState; | ||
@@ -37,2 +41,6 @@ forgotPasswordState: ForgotPasswordState; | ||
rolesState: import("..").RolesState; | ||
/** | ||
* To be used for actions types after dispatch, and should contains | ||
* the reducers and actions as standalone function | ||
*/ | ||
routes: import("..").AuthPageRoutes; | ||
@@ -54,2 +62,6 @@ header?: any; | ||
activateState: import("..").ActivateAccountState; | ||
/** | ||
* if you see error in matcher that's mean the DispatchAction does not | ||
* contains the same functions in reducers and actions | ||
*/ | ||
acceptInvitationState: import("..").AcceptInvitationState; | ||
@@ -68,2 +80,6 @@ forgotPasswordState: ForgotPasswordState; | ||
rolesState: import("..").RolesState; | ||
/** | ||
* To be used for actions types after dispatch, and should contains | ||
* the reducers and actions as standalone function | ||
*/ | ||
routes: import("..").AuthPageRoutes; | ||
@@ -77,3 +93,3 @@ header?: any; | ||
resetPassword: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[IResetPassword], IResetPassword, string, never, never>; | ||
loadPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
loadPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(IGetUserPasswordConfig | undefined)?], IGetUserPasswordConfig | undefined, string, never, never>; | ||
}; | ||
@@ -89,5 +105,5 @@ /** | ||
resetPassword: (payload: IResetPassword) => void; | ||
loadPasswordConfig: () => void; | ||
loadPasswordConfig: (payload?: IGetUserPasswordConfig) => void; | ||
}; | ||
export declare type ForgotPasswordActions = DispatchedActions; | ||
export { forgotPasswordState, reducers as forgotPasswordReducers, actions as forgotPasswordActions }; |
@@ -1,2 +0,4 @@ | ||
export declare function loadPasswordConfig(): Generator<import("redux-saga/effects").PutEffect<{ | ||
import { PayloadAction } from '@reduxjs/toolkit'; | ||
import { IGetUserPasswordConfig } from '@frontegg/rest-api'; | ||
export declare function loadPasswordConfig({ payload }: PayloadAction<IGetUserPasswordConfig>): Generator<import("redux-saga/effects").PutEffect<{ | ||
payload: Partial<import("./interfaces").ForgotPasswordState>; | ||
@@ -3,0 +5,0 @@ type: string; |
@@ -131,3 +131,3 @@ import { reducer, actions } from './reducer'; | ||
resetPassword: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IResetPassword], import("@frontegg/rest-api").IResetPassword, string, never, never>; | ||
loadPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
loadPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(import("@frontegg/rest-api").IGetUserPasswordConfig | undefined)?], import("@frontegg/rest-api").IGetUserPasswordConfig | undefined, string, never, never>; | ||
acceptInvitation: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IAcceptInvitation], import("@frontegg/rest-api").IAcceptInvitation, string, never, never>; | ||
@@ -134,0 +134,0 @@ activateAccount: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IActivateAccount], import("@frontegg/rest-api").IActivateAccount, string, never, never>; |
@@ -106,3 +106,3 @@ import { AuthState, User } from './interfaces'; | ||
resetPassword: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IResetPassword], import("@frontegg/rest-api").IResetPassword, string, never, never>; | ||
loadPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>; | ||
loadPasswordConfig: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[(import("@frontegg/rest-api").IGetUserPasswordConfig | undefined)?], import("@frontegg/rest-api").IGetUserPasswordConfig | undefined, string, never, never>; | ||
acceptInvitation: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IAcceptInvitation], import("@frontegg/rest-api").IAcceptInvitation, string, never, never>; | ||
@@ -109,0 +109,0 @@ activateAccount: import("@reduxjs/toolkit").ActionCreatorWithPreparedPayload<[import("@frontegg/rest-api").IActivateAccount], import("@frontegg/rest-api").IActivateAccount, string, never, never>; |
{ | ||
"name": "@frontegg/redux-store", | ||
"libName": "FronteggReduxStore", | ||
"version": "1.28.1-alpha-split-store", | ||
"version": "2.0.0-alpha.725856734", | ||
"author": "Frontegg LTD", | ||
@@ -9,7 +9,7 @@ "module": "index.esm.js", | ||
"dependencies": { | ||
"@frontegg/rest-api": "1.28.1-alpha-split-store", | ||
"@frontegg/rest-api": "2.0.0-alpha.725856734", | ||
"@reduxjs/toolkit": "1.x", | ||
"redux-saga": "1.x" | ||
}, | ||
"gitHead": "00c0bd425a211916eec1170b8359cf302727b338", | ||
"gitHead": "c91f7ade59b67aea89df05c00877dac86648ad65", | ||
"main": "index.js", | ||
@@ -16,0 +16,0 @@ "es2015": "index.es.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
495714
4962
+ Added@frontegg/rest-api@2.0.0-alpha.725856734(transitive)
- Removed@frontegg/rest-api@1.28.1-alpha-split-store(transitive)