@authing/guard-shim-react18 4.5.19 → 4.5.20-alpha.0
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/dist/guard.min.js +2016 -2016
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
- package/dist/typings/src/Login/socialLogin/postMessage.d.ts +3 -7
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/locales/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
|
|
|
58
58
|
getOriginAccount: () => string;
|
|
59
59
|
getOriginWay: () => string;
|
|
60
60
|
} | undefined;
|
|
61
|
-
referMultipleState: ((type: "
|
|
61
|
+
referMultipleState: ((type: "multiple" | "login") => void) | undefined;
|
|
62
62
|
backfillData: BackFillMultipleState | undefined;
|
|
63
63
|
defaultQrWay: string | undefined;
|
|
64
64
|
};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import { AuthingResponse } from '../../_utils/http';
|
|
2
|
-
export declare const usePostMessage: () => (evt: MessageEvent) =>
|
|
3
|
-
|
|
4
|
-
data: any;
|
|
5
|
-
onGuardHandling: undefined;
|
|
6
|
-
} | undefined;
|
|
7
|
-
export declare const useErrorHandling: () => (res: AuthingResponse) => import("../../_utils/http").AuthingGuardResponse<any>;
|
|
1
|
+
import { AuthingGuardResponse, AuthingResponse } from '../../_utils/http';
|
|
2
|
+
export declare const usePostMessage: () => (evt: MessageEvent) => AuthingGuardResponse | undefined;
|
|
3
|
+
export declare const useErrorHandling: () => (res: AuthingResponse) => AuthingGuardResponse<any>;
|
|
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
53
53
|
loginMethods?: LoginMethods[] | undefined;
|
|
54
54
|
passwordLoginMethods?: string[] | undefined;
|
|
55
55
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
56
|
-
socialConnectionsBtnShape?: "button" | "
|
|
56
|
+
socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
|
|
57
57
|
enterpriseConnections?: string[] | undefined;
|
|
58
58
|
qrCodeScanOptions?: {
|
|
59
59
|
extIdpConnId?: string | undefined;
|
|
@@ -6,4 +6,5 @@ export interface InitGuardI18nOptions {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const fallbackLng: (code?: string) => string[];
|
|
8
8
|
export declare const initGuardI18n: (options: InitGuardI18nOptions, callback: React.Dispatch<React.SetStateAction<boolean>>) => Promise<void>;
|
|
9
|
+
export declare const resolvedLanguage: string;
|
|
9
10
|
export { i18n };
|
package/package.json
CHANGED