@authing/react-ui-components 4.2.3-alpha.1 → 4.2.3-alpha.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.2.3-alpha.1",
3
+ "version": "4.2.3-alpha.3",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -320,3 +320,4 @@ declare const useMultipleAccounts: ({ appId, finallyConfig, }: {
320
320
  clearBackFillData: () => void;
321
321
  };
322
322
  export default useMultipleAccounts;
323
+ export declare function useMultipleAccountCache(): any;
@@ -8,6 +8,7 @@ interface BeforeLoginProps {
8
8
  }>>;
9
9
  pushLoginStatus: boolean;
10
10
  onchangePushLoginStatus: () => void;
11
+ defaultAccount: string;
11
12
  }
12
13
  export declare function BeforeLogin(props: BeforeLoginProps): JSX.Element;
13
14
  export {};
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export declare function useOtpPushLoginWay(setLoginWay: React.Dispatch<any>): void;
3
+ export declare function useOtpPushLoginCache(): {
4
+ getCachedOtpLoginAccount: typeof getCachedOtpLoginAccount;
5
+ cacheOtpLoginAccount: typeof cacheOtpLoginAccount;
6
+ clearOtpLoginAccountCache: typeof clearOtpLoginAccountCache;
7
+ };
8
+ declare function cacheOtpLoginAccount(account: string): void;
9
+ declare function getCachedOtpLoginAccount(): string;
10
+ declare function clearOtpLoginAccountCache(): void;
11
+ export {};
@@ -308,4 +308,9 @@ export interface ApplicationConfig {
308
308
  mfa: {
309
309
  faceScore: number;
310
310
  };
311
+ authingOtpPushTabConfig: {
312
+ enabledLoginMethods: Array<string> | null;
313
+ validLoginMethods: Array<string> | null;
314
+ validRegisterMethods: Array<string> | null;
315
+ };
311
316
  }
@@ -1,2 +1,2 @@
1
- declare const _default: "4.2.3-alpha.0";
1
+ declare const _default: "4.2.3-alpha.2";
2
2
  export default _default;