@authing/guard-shim-react 4.5.47-bg.6 → 4.5.47-bg.8

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.
@@ -3,17 +3,16 @@ import '@aws-amplify/ui-react/styles.css';
3
3
  interface AwsFaceLivenessDetectorProps {
4
4
  sessionId: string;
5
5
  region?: string;
6
- credentials?: {
7
- AccessKeyId: string;
8
- SecretAccessKey: string;
9
- SessionToken: string;
10
- } | null;
11
6
  onAnalysisComplete?: () => void | Promise<void>;
12
7
  onError?: (error: any) => void;
8
+ credentials?: {
9
+ accessKeyId: string;
10
+ secretAccessKey: string;
11
+ sessionToken: string;
12
+ };
13
13
  }
14
14
  /**
15
15
  * AWS Face Liveness 检测组件
16
- * 使用后端返回的临时 AWS 凭证
17
16
  */
18
17
  export declare const AwsFaceLivenessDetector: React.FC<AwsFaceLivenessDetectorProps>;
19
18
  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.6",
3
+ "version": "4.5.47-bg.8",
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",