@authing/react-ui-components 4.1.0-cxmt.4 → 4.1.0-cxmt.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.1.0-cxmt.4",
3
+ "version": "4.1.0-cxmt.6",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -234,5 +234,6 @@
234
234
  "webpack-dev-server": "3.11.0",
235
235
  "webpack-manifest-plugin": "2.2.0",
236
236
  "workbox-webpack-plugin": "5.1.4"
237
- }
237
+ },
238
+ "gitHead": "d7ab0260364dd7953d987d24ac9f57c1c54a0102"
238
239
  }
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const LoginWithDingTalkQrcode: (props: any) => JSX.Element;
@@ -3,7 +3,8 @@ export declare const enum MfaBusinessAction {
3
3
  VerifySms = "verify-sms",
4
4
  VerifyTotp = "verify-totp",
5
5
  VerifyFace = "verify-face",
6
- AssociateFace = "associate-face"
6
+ AssociateFace = "associate-face",
7
+ VerifyCloudEntify = "verify-cloudentify"
7
8
  }
8
9
  export declare const authFlow: (action: MfaBusinessAction, content: any) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
9
10
  interface VerifySmsContent {
@@ -42,5 +43,6 @@ export declare const useMfaBusinessRequest: () => {
42
43
  "verify-totp": (content: VerifyTotpContent) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
43
44
  "verify-face": (content: VerifyFaceContent) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
44
45
  "associate-face": (content: AssociateFaceContent) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
46
+ "verify-cloudentify": (content: VerifyTotpContent) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
45
47
  };
46
48
  export {};
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { GuardMFAInitData, MFAConfig } from '../interface';
3
+ export interface VerifyMFATotpProps {
4
+ mfaToken: string;
5
+ mfaLogin: any;
6
+ changeModule: any;
7
+ }
8
+ export declare const VerifyMFATotp: React.FC<VerifyMFATotpProps>;
9
+ export interface MFATotpProps {
10
+ changeModule: any;
11
+ config: MFAConfig;
12
+ initData: GuardMFAInitData;
13
+ mfaLogin: any;
14
+ }
15
+ export declare const MFACloudEntify: React.FC<MFATotpProps>;
@@ -11,7 +11,11 @@ export declare const enum MFAType {
11
11
  SMS = "SMS",
12
12
  EMAIL = "EMAIL",
13
13
  TOTP = "OTP",
14
- FACE = "FACE"
14
+ FACE = "FACE",
15
+ /**
16
+ * cxmt 飞天云信
17
+ */
18
+ CLOUDENTIFY = "CLOUDENTIFY"
15
19
  }
16
20
  export interface GuardMFAInitData {
17
21
  mfaToken: string;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import './style.less';
3
+ export declare const GuardSelectAccount2LoginView: () => JSX.Element;
@@ -27,7 +27,7 @@ export declare const getClassnames: (classnames: (string | boolean | undefined)[
27
27
  * @param item
28
28
  * @returns {boolean}
29
29
  */
30
- export declare function isObject(item: any): boolean;
30
+ export declare function isObject(item: any): any;
31
31
  /**
32
32
  * https://www.itranslater.com/qa/details/2115518846294557696
33
33
  * Deep merge two objects.
@@ -1,2 +1,2 @@
1
- declare const _default: "4.1.0-cxmt.4";
1
+ declare const _default: "4.1.0-cxmt.6";
2
2
  export default _default;