@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/react18-ui-components",
3
- "version": "4.3.16",
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.44",
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",
@@ -203,6 +203,7 @@ export interface ApplicationConfig {
203
203
  name: string;
204
204
  logo: string;
205
205
  description?: string;
206
+ deviceFuncEnabled?: boolean;
206
207
  redirectUris: string[];
207
208
  registerDisabled: boolean;
208
209
  mergeAdAndAccountPasswordLogin: boolean;
@@ -13,6 +13,7 @@ export declare enum GuardMode {
13
13
  export interface IG2FCProps extends IG2Events {
14
14
  appId?: string;
15
15
  tenantId?: string;
16
+ deviceId?: string;
16
17
  config?: Partial<IG2Config>;
17
18
  visible?: boolean;
18
19
  initData?: any;
@@ -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.16";
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,2 +0,0 @@
1
- import React from 'react';
2
- export declare const ScanQrcode: React.ForwardRefExoticComponent<Pick<any, string | number | symbol> & React.RefAttributes<unknown>>;
@@ -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,2 +0,0 @@
1
- import './styles.less';
2
- export declare function AppOtpVerify(): JSX.Element;
@@ -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;