@authing/guard-shim-react 4.5.47-bg.3 → 4.5.47-bg.4

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.
@@ -5,14 +5,10 @@ interface AwsFaceLivenessDetectorProps {
5
5
  region?: string;
6
6
  onAnalysisComplete?: () => void | Promise<void>;
7
7
  onError?: (error: any) => void;
8
- credentials?: {
9
- accessKeyId: string;
10
- secretAccessKey: string;
11
- sessionToken: string;
12
- };
13
8
  }
14
9
  /**
15
10
  * AWS Face Liveness 检测组件
11
+ * 使用 Cognito 获取临时 AWS 凭证,避免在前端暴露永久凭证
16
12
  */
17
13
  export declare const AwsFaceLivenessDetector: React.FC<AwsFaceLivenessDetectorProps>;
18
14
  export default AwsFaceLivenessDetector;
@@ -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;
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.4",
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",