@authing/react-ui-components 3.1.0-rc.6 → 3.1.0-rc.7

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' {
@@ -2304,7 +2308,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
2304
2308
  import React from 'react';
2305
2309
  import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2306
2310
  export interface RegisterWithEmailProps {
2307
- onRegister: Function;
2311
+ onRegisterSuccess: Function;
2312
+ onRegisterFailed: Function;
2308
2313
  onBeforeRegister?: Function;
2309
2314
  publicConfig?: ApplicationConfig;
2310
2315
  agreements: Agreement[];
@@ -2317,7 +2322,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
2317
2322
  import React from 'react';
2318
2323
  import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
2319
2324
  export interface RegisterWithPhoneProps {
2320
- onRegister: Function;
2325
+ onRegisterSuccess: Function;
2326
+ onRegisterFailed: Function;
2321
2327
  agreements: Agreement[];
2322
2328
  publicConfig?: ApplicationConfig;
2323
2329
  registeContext?: any;
@@ -3137,7 +3143,7 @@ declare module '@authing/react-ui-components/components/version/index' {
3137
3143
 
3138
3144
  }
3139
3145
  declare module '@authing/react-ui-components/components/version/version' {
3140
- const _default: "3.1.0-rc.6";
3146
+ const _default: "3.1.0-rc.7";
3141
3147
  export default _default;
3142
3148
 
3143
3149
  }