@authing/react-ui-components 4.3.8 → 4.3.9
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.3.
|
|
3
|
+
"version": "4.3.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"main": "lib/index.min.js",
|
|
6
6
|
"typings": "types/index.d.ts",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"antd": "^4.8.0",
|
|
14
|
-
"authing-js-sdk": "4.23.
|
|
14
|
+
"authing-js-sdk": "4.23.40",
|
|
15
15
|
"classnames": "^2.3.1",
|
|
16
16
|
"fastclick": "^1.0.6",
|
|
17
17
|
"global": "^4.4.0",
|
|
@@ -236,5 +236,6 @@
|
|
|
236
236
|
"webpack-dev-server": "3.11.0",
|
|
237
237
|
"webpack-manifest-plugin": "2.2.0",
|
|
238
238
|
"workbox-webpack-plugin": "5.1.4"
|
|
239
|
-
}
|
|
239
|
+
},
|
|
240
|
+
"gitHead": "fc5b4d2f13b654dbda1a1fc7d7756c0a5552a959"
|
|
240
241
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare function useOtpPushLoginWay(setLoginWay: React.Dispatch<any>): void;
|
|
3
|
+
export declare function useOtpPushLoginCache(): {
|
|
4
|
+
getCachedOtpLoginAccount: typeof getCachedOtpLoginAccount;
|
|
5
|
+
cacheOtpLoginAccount: typeof cacheOtpLoginAccount;
|
|
6
|
+
clearOtpLoginAccountCache: typeof clearOtpLoginAccountCache;
|
|
7
|
+
};
|
|
8
|
+
export declare function cacheOtpLoginAccount(account: string): void;
|
|
9
|
+
export declare function getCachedOtpLoginAccount(): string;
|
|
10
|
+
export declare function clearOtpLoginAccountCache(): void;
|
|
@@ -47,6 +47,8 @@ export interface IGuardContext {
|
|
|
47
47
|
defaultLanguageConfig: Lang;
|
|
48
48
|
/** 租户信息获取和操作处理相关 */
|
|
49
49
|
tenantInstance?: MultipleTenant;
|
|
50
|
+
/** 判断是否是国外的用户池 */
|
|
51
|
+
isForeignUserpool: boolean;
|
|
50
52
|
}
|
|
51
53
|
export declare const createGuardXContext: () => {
|
|
52
54
|
Provider: React.FC<{
|
|
@@ -157,3 +159,5 @@ export declare const useGuardDefaultLanguage: () => Lang;
|
|
|
157
159
|
export declare const useGuardTenantProvider: () => MultipleTenant | undefined;
|
|
158
160
|
/** 当前人机验证策略 */
|
|
159
161
|
export declare const useRobotVerify: () => "always_enable" | "disable" | "condition_set";
|
|
162
|
+
/** 当前用户池是否是国外用户池 */
|
|
163
|
+
export declare const useIsForeignUserpool: () => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.3.
|
|
1
|
+
declare const _default: "4.3.9";
|
|
2
2
|
export default _default;
|