@authing/react-ui-components 4.0.2-rc.4 → 4.0.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react-ui-components",
3
- "version": "4.0.2-rc.4",
3
+ "version": "4.0.3",
4
4
  "private": false,
5
5
  "main": "lib/index.min.js",
6
6
  "typings": "types/index.d.ts",
@@ -235,4 +235,4 @@
235
235
  "webpack-manifest-plugin": "2.2.0",
236
236
  "workbox-webpack-plugin": "5.1.4"
237
237
  }
238
- }
238
+ }
@@ -5,5 +5,5 @@ export declare enum CompleteInfoAuthFlowAction {
5
5
  Skip = "skip-completion"
6
6
  }
7
7
  export declare const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest | undefined) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
8
- export declare const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("../_utils/http").AuthingGuardResponse<any>> | Promise<User> | undefined;
8
+ export declare const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'], content: any) => Promise<import("../_utils/http").AuthingGuardResponse<any>> | undefined;
9
9
  export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("../_utils/http").AuthingGuardResponse<any> | undefined>;
@@ -9,4 +9,9 @@ export interface RegisterWithCodeProps {
9
9
  registeContext?: any;
10
10
  methods: any[];
11
11
  }
12
+ /**
13
+ * 手机 Code 注册
14
+ * @param param0
15
+ * @returns
16
+ */
12
17
  export declare const RegisterWithCode: React.FC<RegisterWithCodeProps>;
@@ -254,4 +254,12 @@ export interface ApplicationConfig {
254
254
  skipComplateFileds: boolean;
255
255
  selfUnlockStrategy: 'captcha' | 'password-captcha';
256
256
  defaultLanguageConfig: Lang;
257
+ /**
258
+ * 是否开启账号切换
259
+ */
260
+ enableLoginAccountSwitch: boolean;
261
+ /**
262
+ * 是否开启注册密码补全
263
+ */
264
+ enableCompletePassword: boolean;
257
265
  }
@@ -1,2 +1,2 @@
1
- declare const _default: "4.0.2-rc.4";
1
+ declare const _default: "4.0.3";
2
2
  export default _default;