@authing/react-ui-components 4.3.0 → 4.3.1-rc.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.
- package/lib/index.min.js +1 -1
- package/package.json +2 -3
- package/types/Guard/module.d.ts +1 -0
- package/types/IdentityBinding/IdentityBinding.d.ts +3 -1
- package/types/IdentityBinding/businessRequest.d.ts +5 -2
- package/types/_utils/responseManagement/interface.d.ts +1 -0
- package/types/version/version.d.ts +1 -1
- package/LICENSE +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/react-ui-components",
|
|
3
|
-
"version": "4.3.0",
|
|
3
|
+
"version": "4.3.1-rc.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/index.min.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -235,6 +235,5 @@
|
|
|
235
235
|
"webpack-dev-server": "3.11.0",
|
|
236
236
|
"webpack-manifest-plugin": "2.2.0",
|
|
237
237
|
"workbox-webpack-plugin": "5.1.4"
|
|
238
|
-
}
|
|
239
|
-
"gitHead": "6b5e87a88b83b3dbb054437ce706c7678b4f9fe2"
|
|
238
|
+
}
|
|
240
239
|
}
|
package/types/Guard/module.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare enum GuardModuleType {
|
|
|
18
18
|
SUBMIT_SUCCESS = "submitSuccess",
|
|
19
19
|
IDENTITY_BINDING_ASK = "identityBindingAsk",
|
|
20
20
|
IDENTITY_BINDING = "identityBinding",
|
|
21
|
+
IDENTITY_BINDING_NO_ASK = "identityBindingNoAsk",
|
|
21
22
|
SELF_UNLOCK = "selfUnlock",
|
|
22
23
|
FLOW_SELECT_ACCOUNT = "flowSelectAccount",
|
|
23
24
|
/** 多租户门户选择页 */
|
|
@@ -21,12 +21,15 @@ export declare enum IdentityBindingAction {
|
|
|
21
21
|
CreateUser = "create-federation-account",
|
|
22
22
|
BindByPassword = "bind-identity-by-password",
|
|
23
23
|
BindByPhoneCode = "bind-identity-by-phone-code",
|
|
24
|
-
BindByEmailCode = "bind-identity-by-email-code"
|
|
24
|
+
BindByEmailCode = "bind-identity-by-email-code",
|
|
25
|
+
RegisterByPassword = "register-bind-by-password",
|
|
26
|
+
RegisterByPhoneCode = "register-bind-by-phone-code",
|
|
27
|
+
RegisterByEmailCode = "register-bind-by-email-code"
|
|
25
28
|
}
|
|
26
29
|
export declare const PhoneCode: (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
27
30
|
export declare const EmailCode: (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
28
31
|
export declare const Password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
29
|
-
export declare const useIdentityBindingBusinessRequest: () => {
|
|
32
|
+
export declare const useIdentityBindingBusinessRequest: (type?: 'register' | 'bind') => {
|
|
30
33
|
"phone-code": (params: PhoneCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
31
34
|
"emial-code": (params: EmailCodeParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
32
35
|
password: (params: PasswordParams) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.3.0";
|
|
1
|
+
declare const _default: "4.3.1-rc.0";
|
|
2
2
|
export default _default;
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2019-present Authing
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|