@authing/react-ui-components 4.3.16 → 4.3.17
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 +1 -1
- package/types/Type/index.d.ts +1 -0
- package/types/_utils/guardHttp.d.ts +1 -0
- package/types/_utils/index.d.ts +1 -1
- package/types/version/version.d.ts +1 -1
- package/types/AppOtpVerify/DownloadVerifier.d.ts +0 -2
- package/types/AppOtpVerify/LoginApp.d.ts +0 -2
- package/types/AppOtpVerify/ScanQrcode.d.ts +0 -2
- package/types/AppOtpVerify/Steps.d.ts +0 -11
- package/types/AppOtpVerify/index.d.ts +0 -3
- package/types/CommonFormItem/context.d.ts +0 -4
- package/types/CommonFormItem/index.d.ts +0 -8
- package/types/CommonInput/index.d.ts +0 -7
- package/types/Login/hooks/useOtpPushLogin.d.ts +0 -10
package/package.json
CHANGED
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>>;
|
package/types/_utils/index.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare const getClassnames: (classnames: (string | boolean | undefined)[
|
|
|
27
27
|
* @param item
|
|
28
28
|
* @returns {boolean}
|
|
29
29
|
*/
|
|
30
|
-
export declare function isObject(item: any):
|
|
30
|
+
export declare function isObject(item: any): boolean;
|
|
31
31
|
/**
|
|
32
32
|
* https://www.itranslater.com/qa/details/2115518846294557696
|
|
33
33
|
* Deep merge two objects.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.3.
|
|
1
|
+
declare const _default: "4.3.17";
|
|
2
2
|
export default _default;
|
|
@@ -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,8 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { FormItemProps } from 'antd/lib/form';
|
|
3
|
-
declare type Status = 'blur' | 'focus';
|
|
4
|
-
export declare const CommonFormItem: FC<FormItemProps>;
|
|
5
|
-
export declare const Item: FC<FormItemProps & {
|
|
6
|
-
inputstatus: Status;
|
|
7
|
-
}>;
|
|
8
|
-
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;
|