@authing/guard-shim-react 4.5.50-alpha.9 → 4.5.51-alpha.1

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: "login" | "multiple") => void) | undefined;
65
+ referMultipleState: ((type: "multiple" | "login") => void) | undefined;
66
66
  backfillData: BackFillMultipleState | undefined;
67
67
  defaultQrWay: string | undefined;
68
68
  };
@@ -9,10 +9,8 @@ export interface SendCodeByEmailProps extends InputProps {
9
9
  fieldName?: string;
10
10
  autoSubmit?: boolean;
11
11
  scene: EmailScene;
12
- ticket?: string;
13
- randstr?: string;
12
+ captchaCode?: string;
14
13
  onSendCodeError?: any;
15
- ticketFieldName?: string;
16
- randStrFieldName?: string;
14
+ codeFieldName?: string;
17
15
  }
18
16
  export declare const SendCodeByEmail: React.FC<SendCodeByEmailProps>;
@@ -13,9 +13,7 @@ export interface SendCodeByPhoneProps extends InputProps {
13
13
  scene: SceneType;
14
14
  areaCode?: string;
15
15
  isInternationSms?: boolean;
16
- ticketFieldName?: string;
17
- randStrFieldName?: string;
18
- ticket?: string;
19
- randstr?: string;
16
+ codeFieldName?: string;
17
+ captchaCode?: string;
20
18
  }
21
19
  export declare const SendCodeByPhone: React.FC<SendCodeByPhoneProps>;
@@ -447,4 +447,5 @@ export interface ApplicationConfig {
447
447
  title: I18nLang;
448
448
  desc: I18nLang;
449
449
  };
450
+ resetPwdSelectEmailPhone?: 'email' | 'phone' | 'email_and_phone';
450
451
  }
@@ -54,7 +54,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
54
54
  loginMethods?: LoginMethods[] | undefined;
55
55
  passwordLoginMethods?: string[] | undefined;
56
56
  socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
57
- socialConnectionsBtnShape?: "button" | "default" | "icon" | undefined;
57
+ socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
58
58
  enterpriseConnections?: string[] | undefined;
59
59
  qrCodeScanOptions?: {
60
60
  extIdpConnId?: string | undefined;
@@ -7,3 +7,7 @@ export declare const popupCenter: (url: string, { w, h }?: {
7
7
  w: number;
8
8
  h: number;
9
9
  }) => void;
10
+ export declare const larkPopupCenter: (url: string, { w, h }?: {
11
+ w: number;
12
+ h: number;
13
+ }) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.5.50-alpha.9",
3
+ "version": "4.5.51-alpha.1",
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",
@@ -1,5 +0,0 @@
1
- export interface TencentCaptchaResult {
2
- ticket: string;
3
- randstr: string;
4
- }
5
- export declare const openTencentCaptcha: () => Promise<TencentCaptchaResult | null>;