@authing/guard-shim-react 4.5.1-alpha.2 → 4.5.1-alpha.3

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.
@@ -1,3 +1,7 @@
1
- import 'antd/dist/antd.less';
2
1
  export * from 'antd';
3
2
  export * from '@ant-design/icons';
3
+ export declare const antdLocales: {
4
+ zhCN: import("antd/es/locale-provider").Locale;
5
+ enUS: import("antd/es/locale-provider").Locale;
6
+ jaJP: import("antd/es/locale-provider").Locale;
7
+ };
@@ -0,0 +1,7 @@
1
+ export * from 'antd';
2
+ export * from '@ant-design/icons';
3
+ export declare const antdLocales: {
4
+ zhCN: import("antd/es/locale").Locale;
5
+ enUS: import("antd/es/locale").Locale;
6
+ jaJP: import("antd/es/locale").Locale;
7
+ };
@@ -6,4 +6,4 @@ export declare enum CompleteInfoAuthFlowAction {
6
6
  }
7
7
  export declare const authFlow: (action: CompleteInfoAuthFlowAction, data?: CompleteInfoRequest) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
8
8
  export declare const registerSkipMethod: (fnName: RegisterCompleteInfoInitData['businessRequestName'] | string, content: any) => Promise<import("../_utils/http").AuthingGuardResponse<any>>;
9
- export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<import("../_utils/http").AuthingGuardResponse<any> | User | undefined>;
9
+ export declare const registerRequest: (action: CompleteInfoAuthFlowAction, registerFnName: RegisterCompleteInfoInitData['businessRequestName'], registerContent: any, registerProfile?: any) => Promise<User | import("../_utils/http").AuthingGuardResponse<any> | undefined>;
@@ -58,7 +58,7 @@ declare function useLoginMultiple(setLoginWay: React.Dispatch<any>): {
58
58
  getOriginAccount: () => string;
59
59
  getOriginWay: () => string;
60
60
  } | undefined;
61
- referMultipleState: ((type: "multiple" | "login") => void) | undefined;
61
+ referMultipleState: ((type: "login" | "multiple") => void) | undefined;
62
62
  backfillData: BackFillMultipleState | undefined;
63
63
  defaultQrWay: string | undefined;
64
64
  };
@@ -1,7 +1,7 @@
1
1
  import { CodeAction } from './responseManagement/interface';
2
2
  import { AxiosRequestConfig } from 'axios';
3
3
  export declare const requestClient: {
4
- (input: URL | RequestInfo, init?: RequestInit | undefined): Promise<any>;
4
+ (input: RequestInfo | URL, init?: RequestInit | undefined): Promise<any>;
5
5
  get<T>(path: string, query?: Record<string, any>, init?: AxiosRequestConfig): Promise<AuthingResponse<T>>;
6
6
  post<T_1>(path: string, data: any, config?: {
7
7
  headers: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react",
3
- "version": "4.5.1-alpha.2",
3
+ "version": "4.5.1-alpha.3",
4
4
  "description": "Guard shim for react 16 / 17, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",