@authing/react18-ui-components 4.3.16 → 4.3.24-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.
- package/lib/index.min.js +1 -1
- package/package.json +2 -2
- package/types/Type/application.d.ts +1 -0
- package/types/Type/index.d.ts +1 -0
- package/types/_utils/guardHttp.d.ts +1 -0
- package/types/version/version.d.ts +1 -1
- package/types/AppOtpVerify/DownloadVerifier.d.ts +0 -1
- package/types/AppOtpVerify/LoginApp.d.ts +0 -1
- package/types/AppOtpVerify/ScanQrcode.d.ts +0 -2
- package/types/AppOtpVerify/Steps.d.ts +0 -11
- package/types/AppOtpVerify/index.d.ts +0 -2
- package/types/Login/hooks/useOtpPushLogin.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@authing/react18-ui-components",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.24-alpha.0",
|
|
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.24.0",
|
|
14
|
-
"authing-js-sdk": "4.23.
|
|
14
|
+
"authing-js-sdk": "4.23.48",
|
|
15
15
|
"classnames": "^2.3.1",
|
|
16
16
|
"fastclick": "^1.0.6",
|
|
17
17
|
"global": "^4.4.0",
|
package/types/Type/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export declare class GuardHttp {
|
|
|
9
9
|
setUserpoolId(userpoolId: string): this;
|
|
10
10
|
setAppId(appId: string): this;
|
|
11
11
|
setTenantId(tenantId: string): this;
|
|
12
|
+
setDeviceId(deviceId: string): this;
|
|
12
13
|
setBaseUrl(baseUrl: string): this;
|
|
13
14
|
getHeaders: () => Record<string, string>;
|
|
14
15
|
get: <T = any>(path: string, query?: Record<string, any>, config?: any) => Promise<AuthingGuardResponse<T>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.3.
|
|
1
|
+
declare const _default: "4.3.24-alpha.0";
|
|
2
2
|
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function DownloadVerifier(): JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function LoginApp(): JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import './steps.styles.less';
|
|
3
|
-
interface StepsProps {
|
|
4
|
-
current: number;
|
|
5
|
-
items: StepItem[];
|
|
6
|
-
}
|
|
7
|
-
interface StepItem {
|
|
8
|
-
title: ReactNode;
|
|
9
|
-
}
|
|
10
|
-
export declare function Steps(props: StepsProps): JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
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;
|