@authing/react-ui-components 3.0.39-rc.0 → 3.1.0-hep.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/lib/index.d.ts +12 -8
- package/lib/index.min.js +1 -1
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
|
@@ -1243,13 +1243,12 @@ declare module '@authing/react-ui-components/components/CompleteInfo/index' {
|
|
|
1243
1243
|
}>;
|
|
1244
1244
|
export const GuardLoginCompleteInfoView: React.FC;
|
|
1245
1245
|
export const GuardRegisterCompleteInfoView: React.FC;
|
|
1246
|
-
export const
|
|
1246
|
+
export const GuardAccountMergeCompleteInfoView: React.FC;
|
|
1247
1247
|
|
|
1248
1248
|
}
|
|
1249
1249
|
declare module '@authing/react-ui-components/components/CompleteInfo/interface' {
|
|
1250
1250
|
import { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
|
|
1251
1251
|
import { IG2Config, IG2Events, IG2FCProps } from '@authing/react-ui-components/components/Type/index';
|
|
1252
|
-
import { CompleteInfoAuthFlowAction } from '@authing/react-ui-components/components/CompleteInfo/businessRequest';
|
|
1253
1252
|
export interface CompleteInfoConfig extends IG2Config {
|
|
1254
1253
|
}
|
|
1255
1254
|
export const getDefaultCompleteInfoConfig: () => CompleteInfoConfig;
|
|
@@ -1265,7 +1264,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1265
1264
|
definition: any;
|
|
1266
1265
|
value: any;
|
|
1267
1266
|
}[], authClient: AuthenticationClient) => void;
|
|
1268
|
-
|
|
1267
|
+
onAccountMergeCompleteInfo?: (user: User) => void;
|
|
1269
1268
|
}
|
|
1270
1269
|
export interface GuardCompleteInfoProps extends IG2FCProps, CompleteInfoEvents {
|
|
1271
1270
|
config: Partial<CompleteInfoConfig>;
|
|
@@ -1304,6 +1303,7 @@ declare module '@authing/react-ui-components/components/CompleteInfo/interface'
|
|
|
1304
1303
|
name: string;
|
|
1305
1304
|
required: boolean;
|
|
1306
1305
|
validateRules: CompleteInfoRule[];
|
|
1306
|
+
checkUnique?: boolean;
|
|
1307
1307
|
options?: CompleteInfoSelectOption[];
|
|
1308
1308
|
}
|
|
1309
1309
|
export enum CompleteInfoBaseControls {
|
|
@@ -2013,11 +2013,11 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/IdpBut
|
|
|
2013
2013
|
declare module '@authing/react-ui-components/components/Login/socialLogin/index' {
|
|
2014
2014
|
import React from 'react';
|
|
2015
2015
|
import { ApplicationConfig, SocialConnectionItem } from '@authing/react-ui-components/components/AuthingGuard/api/index';
|
|
2016
|
-
import { LoginConfig } from '@authing/react-ui-components/components/Login/interface';
|
|
2017
2016
|
import './style.less';
|
|
2017
|
+
import { GuardLocalConfig } from '@authing/react-ui-components/components/Guard/index';
|
|
2018
2018
|
export interface SocialLoginProps {
|
|
2019
2019
|
appId: string;
|
|
2020
|
-
config:
|
|
2020
|
+
config: GuardLocalConfig;
|
|
2021
2021
|
onLoginFailed: any;
|
|
2022
2022
|
onLoginSuccess: any;
|
|
2023
2023
|
enterpriseConnectionObjs: ApplicationConfig['identityProviders'];
|
|
@@ -2028,7 +2028,11 @@ declare module '@authing/react-ui-components/components/Login/socialLogin/index'
|
|
|
2028
2028
|
}
|
|
2029
2029
|
declare module '@authing/react-ui-components/components/Login/socialLogin/postMessage' {
|
|
2030
2030
|
import { AuthingResponse } from '@authing/react-ui-components/components/_utils/http';
|
|
2031
|
-
export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> |
|
|
2031
|
+
export const usePostMessage: () => (evt: MessageEvent) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any> | {
|
|
2032
|
+
code: any;
|
|
2033
|
+
data: any;
|
|
2034
|
+
onGuardHandling: undefined;
|
|
2035
|
+
} | undefined;
|
|
2032
2036
|
export const useErrorHandling: () => (res: AuthingResponse) => import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>;
|
|
2033
2037
|
|
|
2034
2038
|
}
|
|
@@ -3103,7 +3107,7 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3103
3107
|
FLOW_END = 1600,
|
|
3104
3108
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3105
3109
|
FORCED_PASSWORD_RESET = 2058,
|
|
3106
|
-
ACCOUNT_MERGE =
|
|
3110
|
+
ACCOUNT_MERGE = 10000
|
|
3107
3111
|
}
|
|
3108
3112
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3109
3113
|
|
|
@@ -3201,7 +3205,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3201
3205
|
|
|
3202
3206
|
}
|
|
3203
3207
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3204
|
-
const _default: "3.0
|
|
3208
|
+
const _default: "3.1.0-hep.0";
|
|
3205
3209
|
export default _default;
|
|
3206
3210
|
|
|
3207
3211
|
}
|