@authing/guard-shim-react18 4.5.43 → 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[];
@@ -388,4 +397,13 @@ export interface ApplicationConfig {
388
397
  };
389
398
  /** 特殊浏览器匹配字符串 */
390
399
  specialBrowserSymbols?: string[];
400
+ resetPwdTipsConfig?: {
401
+ title: I18nLang;
402
+ desc: I18nLang;
403
+ };
404
+ noticePwdTipsConfig?: {
405
+ title: I18nLang;
406
+ desc: I18nLang;
407
+ };
408
+ noticePwdCustomLogo?: string;
391
409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.43",
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",