@authing/guard-shim-react18 4.5.50-alpha.9 → 4.5.50

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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.50-alpha.9",
3
+ "version": "4.5.50",
4
4
  "description": "Guard shim for react 18, 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>;