@authing/guard-shim-react18 4.5.43-yaic.1 → 4.5.44-alpha.0

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.
@@ -3,6 +3,7 @@ export declare const GuardChangePassword: React.FC<{
3
3
  title: string;
4
4
  explain: string;
5
5
  children: ReactNode;
6
+ logo?: string;
6
7
  }>;
7
8
  export declare const GuardFirstLoginPasswordResetView: React.FC;
8
9
  export declare const GuardPasswordNotSafeResetView: React.FC;
@@ -207,6 +207,15 @@ interface LoginTypeI18nProps {
207
207
  };
208
208
  };
209
209
  }
210
+ interface I18nLang {
211
+ default: string;
212
+ i18n: {
213
+ [lang: string]: {
214
+ value: string;
215
+ enabled: boolean;
216
+ };
217
+ };
218
+ }
210
219
  export interface ApplicationConfig {
211
220
  id: string;
212
221
  allowedOrigins: string[];
@@ -327,6 +336,8 @@ export interface ApplicationConfig {
327
336
  enableCompletePassword: boolean;
328
337
  /** 是否开启手机密码注册手机号验证 */
329
338
  enabledPPRegisterValid?: boolean;
339
+ /** 是否开启邮箱密码注册验证 */
340
+ enabledMailPwdRegisterValid?: boolean;
330
341
  /** 是否开启邮箱域名匹配登录 */
331
342
  enabledMatchEmailDomain?: boolean;
332
343
  /**
@@ -386,4 +397,13 @@ export interface ApplicationConfig {
386
397
  };
387
398
  /** 特殊浏览器匹配字符串 */
388
399
  specialBrowserSymbols?: string[];
400
+ resetPwdTipsConfig?: {
401
+ title: I18nLang;
402
+ desc: I18nLang;
403
+ };
404
+ noticePwdTipsConfig?: {
405
+ title: I18nLang;
406
+ desc: I18nLang;
407
+ };
408
+ noticePwdCustomLogo?: string;
389
409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.43-yaic.1",
3
+ "version": "4.5.44-alpha.0",
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",