@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.
@@ -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: "multiple" | "login") => void) | undefined;
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
- * GET /api/v2/mfa/face/liveness/result?sessionId=xxx
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" | "icon" | "default" | undefined;
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: URL | RequestInfo, init?: RequestInit | undefined): Promise<any>;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.5.47-bg.3",
3
+ "version": "4.5.47-bg.34",
4
4
  "description": "Guard shim for react 16 / 17, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",