@authing/guard-shim-react 4.5.47-bg.3 → 4.5.47-bg.34
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.css +1021 -1
- package/dist/guard.min.js +39100 -14693
- package/dist/typings/src/Login/hooks/useLoginMultiple.d.ts +1 -1
- package/dist/typings/src/MFA/businessRequest.d.ts +1 -1
- package/dist/typings/src/MFA/core/AwsFaceLivenessDetector.d.ts +1 -1
- package/dist/typings/src/_utils/config/index.d.ts +1 -1
- package/dist/typings/src/_utils/http.d.ts +1 -1
- package/package.json +1 -1
|
@@ -62,7 +62,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
|
|
|
62
62
|
getOriginAccount: () => string;
|
|
63
63
|
getOriginWay: () => string;
|
|
64
64
|
} | undefined;
|
|
65
|
-
referMultipleState: ((type: "
|
|
65
|
+
referMultipleState: ((type: "login" | "multiple") => void) | undefined;
|
|
66
66
|
backfillData: BackFillMultipleState | undefined;
|
|
67
67
|
defaultQrWay: string | undefined;
|
|
68
68
|
};
|
|
@@ -71,7 +71,7 @@ export declare const AssociateFace: (content: AssociateFaceContent) => Promise<A
|
|
|
71
71
|
export declare const GetFaceLivenessSession: (content: GetFaceLivenessSessionContent) => Promise<AuthingGuardResponse<any>>;
|
|
72
72
|
/**
|
|
73
73
|
* 获取 AWS 活体检测结果
|
|
74
|
-
*
|
|
74
|
+
* POST /api/v2/mfa/face/liveness/result
|
|
75
75
|
*/
|
|
76
76
|
export declare const GetFaceLivenessResult: (content: GetFaceLivenessResultContent) => Promise<AuthingGuardResponse<any>>;
|
|
77
77
|
/**
|
|
@@ -3,7 +3,7 @@ import '@aws-amplify/ui-react/styles.css';
|
|
|
3
3
|
interface AwsFaceLivenessDetectorProps {
|
|
4
4
|
sessionId: string;
|
|
5
5
|
region?: string;
|
|
6
|
-
onAnalysisComplete?: () => void | Promise<void>;
|
|
6
|
+
onAnalysisComplete?: (completeInfo?: any) => void | Promise<void>;
|
|
7
7
|
onError?: (error: any) => void;
|
|
8
8
|
credentials?: {
|
|
9
9
|
accessKeyId: string;
|
|
@@ -56,7 +56,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
|
|
|
56
56
|
loginTabs?: LoginMethods[] | undefined;
|
|
57
57
|
passwordLoginMethods?: string[] | undefined;
|
|
58
58
|
socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
|
|
59
|
-
socialConnectionsBtnShape?: "button" | "
|
|
59
|
+
socialConnectionsBtnShape?: "button" | "default" | "icon" | undefined;
|
|
60
60
|
enterpriseConnections?: string[] | undefined;
|
|
61
61
|
qrCodeScanOptions?: {
|
|
62
62
|
extIdpConnId?: string | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CodeAction } from './responseManagement/interface';
|
|
2
2
|
import { AxiosRequestConfig } from 'axios';
|
|
3
3
|
export declare const requestClient: {
|
|
4
|
-
(input:
|
|
4
|
+
(input: RequestInfo | URL, init?: RequestInit | undefined): Promise<any>;
|
|
5
5
|
get<T>(path: string, query?: Record<string, any>, init?: AxiosRequestConfig): Promise<AuthingResponse<T>>;
|
|
6
6
|
post<T_1>(path: string, data: any, config?: {
|
|
7
7
|
headers: any;
|
package/package.json
CHANGED