@authing/react-ui-components 4.4.3-ey.8 → 4.4.3-ey.9

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.4.3-ey.8",
3
+ "version": "4.4.3-ey.9",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const EyGuardIviteIdentityBindView: () => JSX.Element;
@@ -1,5 +1,7 @@
1
1
  import { GuardModuleType, Lang } from '..';
2
+ import { User } from '../Type';
2
3
  export interface InviteContext {
4
+ autoLogin: boolean;
3
5
  email: string | null;
4
6
  ticket: string;
5
7
  enabledIdentifierCodeConfig: boolean;
@@ -9,28 +11,32 @@ export interface InviteContext {
9
11
  sendIdentifierCodeMethod: 'prioritySMS' | 'priorityEmail' | 'SMS' | 'email';
10
12
  receiverType: 'emailCode' | 'phoneCode';
11
13
  phone: string | null;
14
+ username: string | null;
12
15
  verifyCodeMaxLength: number;
13
16
  verifyCodeMaxErrCount: number;
14
- }
15
- export interface EyGuardCheckCaptchaInitData extends InviteContext {
16
- account: string;
17
- }
18
- export interface EyGuardInviteCompleteInitData extends Partial<InviteContext> {
19
- metaData: any;
20
17
  extendsFieldsI18n?: {
21
18
  [key: string]: Record<Lang, {
22
19
  enabled: boolean;
23
20
  value: string;
24
21
  }>;
25
22
  };
23
+ extendsFields: any;
26
24
  qrCodeBindMethods: Record<string, {
27
25
  QRConfig: any;
28
26
  id: string;
29
27
  isDefault: boolean;
30
28
  title: string;
31
29
  }[]>;
30
+ socialConnections: any[];
31
+ }
32
+ export interface EyGuardInviteLoginInitData extends Partial<InviteContext> {
33
+ verifyAccount: string;
34
+ context: any;
32
35
  }
33
- export interface EyGuardIdentityBindInitData extends Partial<EyGuardInviteCompleteInitData> {
36
+ export interface EyGuardInviteCompleteInitData extends Partial<EyGuardInviteLoginInitData> {
37
+ metaData: any;
38
+ }
39
+ export interface EyGuardInviteIdentityBindInitData extends Partial<EyGuardInviteLoginInitData> {
34
40
  weComConfig: {
35
41
  QRConfig: any;
36
42
  id: string;
@@ -39,4 +45,13 @@ export interface EyGuardIdentityBindInitData extends Partial<EyGuardInviteComple
39
45
  };
40
46
  originModule: GuardModuleType;
41
47
  originContext: any;
48
+ socialConnections: any[];
42
49
  }
50
+ export interface EyGuardProtocolInitData {
51
+ user: User;
52
+ }
53
+ export declare const useRegisterHandleHook: (initData: any, submitButtonRef?: {
54
+ current: {
55
+ onSpin: (arg0: boolean) => void;
56
+ };
57
+ } | undefined) => (context: any) => Promise<void>;
@@ -9,6 +9,7 @@ interface VerifyCodeInputProps extends React.HTMLAttributes<HTMLDivElement> {
9
9
  onChange?: any;
10
10
  value?: Array<number | string>;
11
11
  onFinish?: any;
12
+ beforeSend: () => Promise<boolean>;
12
13
  }
13
14
  export declare const EyVerifyCodeInput: FC<VerifyCodeInputProps>;
14
15
  export {};
@@ -1,2 +1,2 @@
1
- declare const _default: "4.4.3-ey.8";
1
+ declare const _default: "4.4.3-ey.9";
2
2
  export default _default;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const EyGuardIdentityBindView: () => JSX.Element;