@authing/react-ui-components 3.1.0-rc.4 → 3.1.0-rc.8

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.d.ts CHANGED
@@ -1286,6 +1286,10 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
1286
1286
  code?: string;
1287
1287
  }[];
1288
1288
  }
1289
+ export enum OmitCompleteInfo {
1290
+ 'registerByEmail' = "email",
1291
+ 'registerByPhoneCode' = "phone"
1292
+ }
1289
1293
 
1290
1294
  }
1291
1295
  declare module '@authing/react-ui-components/components/CompleteInfo/utils' {
@@ -1905,6 +1909,7 @@ declare module '@authing/react-ui-components/components/Login/core/withWechatmpQ
1905
1909
  }
1906
1910
  declare module '@authing/react-ui-components/components/Login/index' {
1907
1911
  /// <reference types="react" />
1912
+ import './styles.less';
1908
1913
  export const GuardLoginView: () => JSX.Element;
1909
1914
 
1910
1915
  }
@@ -1968,7 +1973,11 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
1968
1973
  }
1969
1974
  declare module '@authing/react-ui-components/components/Login/socialLogin/postMessage' {
1970
1975
  import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
1971
- export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | undefined;
1976
+ export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | {
1977
+ code: any;
1978
+ data: any;
1979
+ onGuardHandling: undefined;
1980
+ } | undefined;
1972
1981
  export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>;
1973
1982
 
1974
1983
  }
@@ -2303,7 +2312,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2303
2312
  import React from 'react';
2304
2313
  import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2305
2314
  export interface RegisterWithEmailProps {
2306
- onRegister: Function;
2315
+ onRegisterSuccess: Function;
2316
+ onRegisterFailed: Function;
2307
2317
  onBeforeRegister?: Function;
2308
2318
  publicConfig?: ApplicationConfig;
2309
2319
  agreements: Agreement[];
@@ -2316,7 +2326,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
2316
2326
  import React from 'react';
2317
2327
  import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2318
2328
  export interface RegisterWithPhoneProps {
2319
- onRegister: Function;
2329
+ onRegisterSuccess: Function;
2330
+ onRegisterFailed: Function;
2320
2331
  agreements: Agreement[];
2321
2332
  publicConfig?: ApplicationConfig;
2322
2333
  registeContext?: any;
@@ -3120,6 +3131,7 @@ declare module '@authing/react-ui-components/components/context/module/context'
3120
3131
  }
3121
3132
  declare module '@authing/react-ui-components/components/index' {
3122
3133
  export * from '@authing/react-ui-components/components/_utils/config';
3134
+ export * from '@authing/react-ui-components/components/_utils/responseManagement/interface';
3123
3135
  export type { AuthenticationClientOptions } from 'authing-js-sdk';
3124
3136
  export * from '@authing/react-ui-components/components/AuthingGuard/types/index';
3125
3137
  export * from '@authing/react-ui-components/components/AuthingGuard/hooks/index';
@@ -3135,7 +3147,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3135
3147
 
3136
3148
  }
3137
3149
  declare module '@authing/react-ui-components/components/version/version' {
3138
- const _default: "3.1.0-rc.4";
3150
+ const _default: "3.1.0-rc.8";
3139
3151
  export default _default;
3140
3152
 
3141
3153
  }