@authing/react-ui-components 3.1.0-rc.6 → 3.1.0-rc.9
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 +16 -6
- package/lib/index.min.css +1 -1
- package/lib/index.min.js +1 -1
- package/package.json +3 -3
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' {
|
|
@@ -1954,11 +1958,11 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/IdpBut
|
|
|
1954
1958
|
declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
|
|
1955
1959
|
import React from 'react';
|
|
1956
1960
|
import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
1957
|
-
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
1958
1961
|
import './style.less';
|
|
1962
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/index';
|
|
1959
1963
|
export interface SocialLoginProps {
|
|
1960
1964
|
appId: string;
|
|
1961
|
-
config:
|
|
1965
|
+
config: GuardLocalConfig;
|
|
1962
1966
|
onLoginFailed: any;
|
|
1963
1967
|
onLoginSuccess: any;
|
|
1964
1968
|
enterpriseConnectionObjs: ApplicationConfig['identityProviders'];
|
|
@@ -1969,7 +1973,11 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
|
|
|
1969
1973
|
}
|
|
1970
1974
|
declare module '@authing/react-ui-components/components/Login/socialLogin/postMessage' {
|
|
1971
1975
|
import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
|
|
1972
|
-
export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> |
|
|
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;
|
|
1973
1981
|
export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>;
|
|
1974
1982
|
|
|
1975
1983
|
}
|
|
@@ -2304,7 +2312,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithEmail'
|
|
|
2304
2312
|
import React from 'react';
|
|
2305
2313
|
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2306
2314
|
export interface RegisterWithEmailProps {
|
|
2307
|
-
|
|
2315
|
+
onRegisterSuccess: Function;
|
|
2316
|
+
onRegisterFailed: Function;
|
|
2308
2317
|
onBeforeRegister?: Function;
|
|
2309
2318
|
publicConfig?: ApplicationConfig;
|
|
2310
2319
|
agreements: Agreement[];
|
|
@@ -2317,7 +2326,8 @@ declare module '@authing/react-ui-components/components/Register/core/WithPhone'
|
|
|
2317
2326
|
import React from 'react';
|
|
2318
2327
|
import { Agreement, ApplicationConfig } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2319
2328
|
export interface RegisterWithPhoneProps {
|
|
2320
|
-
|
|
2329
|
+
onRegisterSuccess: Function;
|
|
2330
|
+
onRegisterFailed: Function;
|
|
2321
2331
|
agreements: Agreement[];
|
|
2322
2332
|
publicConfig?: ApplicationConfig;
|
|
2323
2333
|
registeContext?: any;
|
|
@@ -3137,7 +3147,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3137
3147
|
|
|
3138
3148
|
}
|
|
3139
3149
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3140
|
-
const _default: "3.1.0-rc.
|
|
3150
|
+
const _default: "3.1.0-rc.9";
|
|
3141
3151
|
export default _default;
|
|
3142
3152
|
|
|
3143
3153
|
}
|