@authing/guard-shim-react 4.5.40-hep.0 → 4.5.40-hep.10

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.
@@ -39,7 +39,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
39
39
  id: string;
40
40
  loginAccount?: string | undefined;
41
41
  usertype?: string | undefined;
42
- }, "tab" | "way" | "phoneCountryCode">) => void;
42
+ }, "way" | "tab" | "phoneCountryCode">) => void;
43
43
  setLoginWayByHttpData: (account: string, data: {
44
44
  username?: string | undefined;
45
45
  phone?: string | undefined;
@@ -61,7 +61,7 @@ declare function useLoginSelectAccount(setLoginWay: React.Dispatch<any>): {
61
61
  getOriginAccount: () => string;
62
62
  getOriginWay: () => string;
63
63
  } | undefined;
64
- referMultipleState: ((type: "multiple" | "login") => void) | undefined;
64
+ referMultipleState: ((type: "login" | "multiple") => void) | undefined;
65
65
  backfillData: BackFillMultipleState | undefined;
66
66
  defaultQrWay: string | undefined;
67
67
  };
@@ -272,6 +272,7 @@ export interface ApplicationConfig {
272
272
  identifier: string;
273
273
  requestHostname: string;
274
274
  identityProviders: {
275
+ id: string;
275
276
  identifier: string;
276
277
  protocol: Protocol;
277
278
  displayName: string;
@@ -386,4 +387,6 @@ export interface ApplicationConfig {
386
387
  };
387
388
  /** 特殊浏览器匹配字符串 */
388
389
  specialBrowserSymbols?: string[];
390
+ /** 密码策略 message 提示 */
391
+ passwordCheckMessage?: string;
389
392
  }
@@ -4,5 +4,6 @@ export interface PasswordFormItemProps extends FormItemProps {
4
4
  }
5
5
  export interface ExPasswordFormItemProps extends PasswordFormItemProps {
6
6
  fieldRequiredRuleMessage?: string;
7
+ noCheckSecond?: boolean;
7
8
  }
8
9
  export declare const PasswordFormItem: React.FC<ExPasswordFormItemProps>;
@@ -53,7 +53,7 @@ export declare const useFetchConsoleConfig: (forceUpdate: number, appId?: string
53
53
  loginMethods?: LoginMethods[] | undefined;
54
54
  passwordLoginMethods?: string[] | undefined;
55
55
  socialConnections?: import("../../Type").SocialConnectionProvider[] | undefined;
56
- socialConnectionsBtnShape?: "button" | "icon" | "default" | undefined;
56
+ socialConnectionsBtnShape?: "button" | "default" | "icon" | undefined;
57
57
  enterpriseConnections?: string[] | undefined;
58
58
  qrCodeScanOptions?: {
59
59
  extIdpConnId?: string | undefined;
@@ -123,7 +123,7 @@ export declare const useGuardAccountSelectInstance: () => {
123
123
  id: string;
124
124
  loginAccount?: string | undefined;
125
125
  usertype?: string | undefined;
126
- }, "tab" | "way" | "phoneCountryCode">) => void;
126
+ }, "way" | "tab" | "phoneCountryCode">) => void;
127
127
  setLoginWayByHttpData: (account: string, data: {
128
128
  username?: string | undefined;
129
129
  phone?: string | undefined;
@@ -6,5 +6,4 @@ export interface InitGuardI18nOptions {
6
6
  }
7
7
  export declare const fallbackLng: (code?: string) => string[];
8
8
  export declare const initGuardI18n: (options: InitGuardI18nOptions, callback: React.Dispatch<React.SetStateAction<boolean>>) => Promise<void>;
9
- export declare const resolvedLanguage: string;
10
9
  export { i18n };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.5.40-hep.0",
3
+ "version": "4.5.40-hep.10",
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",