@authing/guard-shim-react 4.5.46-alpha.7 → 4.5.46-alpha.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.
@@ -42,4 +42,3 @@ export interface GuardLoginInitData {
42
42
  export declare const getDefaultLoginConfig: () => LoginConfig;
43
43
  export declare const baseLoginPathMapping: Partial<Record<Protocol, string | null>>;
44
44
  export declare const loginUrlFieldMapping: Partial<Record<Protocol, string>>;
45
- export type ValidateStatus = undefined | 'validating';
@@ -395,6 +395,11 @@ export interface ApplicationConfig {
395
395
  switch: 'OFF' | 'ON' | 'CONDON';
396
396
  };
397
397
  };
398
+ forgetPasswordSmsConfig?: {
399
+ robot: {
400
+ switch: 'OFF' | 'ON' | 'CONDON';
401
+ };
402
+ };
398
403
  /** 特殊浏览器匹配字符串 */
399
404
  specialBrowserSymbols?: string[];
400
405
  resetPwdTipsConfig?: {
@@ -406,10 +411,6 @@ export interface ApplicationConfig {
406
411
  desc: I18nLang;
407
412
  };
408
413
  noticePwdCustomLogo?: string;
409
- /**
410
- * 开启延迟校验用户是否存在功能
411
- */
412
- closeCheckSendUser?: boolean;
413
414
  resetPwdLinkCustomLogo?: string;
414
415
  resetPwdLinkTipsConfig?: {
415
416
  title: I18nLang;
@@ -164,4 +164,4 @@ export declare const useGuardTenantProvider: () => MultipleTenant | undefined;
164
164
  /** 当前人机验证策略 */
165
165
  export declare const useRobotVerify: () => "always_enable" | "disable" | "condition_set";
166
166
  /** 当前应用是否开启人机验证策略 */
167
- export declare const useCaptchaCheck: (sence: 'login' | 'register') => boolean;
167
+ export declare const useCaptchaCheck: (sence: 'login' | 'register' | 'forget-password') => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.5.46-alpha.7",
3
+ "version": "4.5.46-alpha.9",
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",