@authing/react-ui-components 3.1.22-rc.7 → 3.1.23-rc.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 +7 -25
- package/lib/index.min.js +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1166,23 +1166,13 @@ declare module '@authing/react-ui-components/components/ChangeLanguage/index' {
|
|
|
1166
1166
|
declare module '@authing/react-ui-components/components/ChangePassword/businessRequest' {
|
|
1167
1167
|
export enum ChangePasswordBusinessAction {
|
|
1168
1168
|
ResetPassword = "reset-password-first-time",
|
|
1169
|
-
FirstLoginReset = "reset-password-forced"
|
|
1170
|
-
ResetPasswordStrengthDetection = "reset-password-strength-detection"
|
|
1169
|
+
FirstLoginReset = "reset-password-forced"
|
|
1171
1170
|
}
|
|
1172
1171
|
export const authFlow: (action: ChangePasswordBusinessAction, content: {
|
|
1173
1172
|
password: string;
|
|
1174
1173
|
oldPassword?: string;
|
|
1175
1174
|
}) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1176
1175
|
|
|
1177
|
-
}
|
|
1178
|
-
declare module '@authing/react-ui-components/components/ChangePassword/core/PasswordNotSafeReset' {
|
|
1179
|
-
import React from 'react';
|
|
1180
|
-
interface PasswordNotSafeResetProps {
|
|
1181
|
-
onReset: any;
|
|
1182
|
-
}
|
|
1183
|
-
export const PasswordNotSafeReset: React.FC<PasswordNotSafeResetProps>;
|
|
1184
|
-
export {};
|
|
1185
|
-
|
|
1186
1176
|
}
|
|
1187
1177
|
declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
|
|
1188
1178
|
import React from 'react';
|
|
@@ -1215,7 +1205,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1215
1205
|
explain: string;
|
|
1216
1206
|
}>;
|
|
1217
1207
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1218
|
-
export const GuardPasswordNotSafeResetView: React.FC;
|
|
1219
1208
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1220
1209
|
export const GuardNoticePasswordResetView: React.FC;
|
|
1221
1210
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
@@ -1697,7 +1686,6 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1697
1686
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1698
1687
|
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1699
1688
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1700
|
-
UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
|
|
1701
1689
|
DOWNLOAD_AT = "downloadAT",
|
|
1702
1690
|
BIND_TOTP = "bindTotp",
|
|
1703
1691
|
ANY_QUESTIONS = "anyQuestions",
|
|
@@ -3185,6 +3173,10 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3185
3173
|
countryCode: string | undefined;
|
|
3186
3174
|
phoneNumber: string;
|
|
3187
3175
|
};
|
|
3176
|
+
export enum SocialConnectionEvent {
|
|
3177
|
+
Message = "message",
|
|
3178
|
+
Auth = "auth"
|
|
3179
|
+
}
|
|
3188
3180
|
/**
|
|
3189
3181
|
*
|
|
3190
3182
|
* @param config
|
|
@@ -3416,20 +3408,10 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3416
3408
|
UNLOCK = 1643,
|
|
3417
3409
|
FLOW_END = 1600,
|
|
3418
3410
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3419
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3420
|
-
UNSAFE_PASSWORD_TIP = 2061,
|
|
3421
|
-
UNSAFE_PASSWORD_RESET = 2071
|
|
3411
|
+
FORCED_PASSWORD_RESET = 2058
|
|
3422
3412
|
}
|
|
3423
3413
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3424
3414
|
|
|
3425
|
-
}
|
|
3426
|
-
declare module '@authing/react-ui-components/components/_utils/useErrorText' {
|
|
3427
|
-
import React from 'react';
|
|
3428
|
-
export const usePasswordErrorText: () => {
|
|
3429
|
-
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3430
|
-
getPassWordUnsafeText: () => JSX.Element;
|
|
3431
|
-
};
|
|
3432
|
-
|
|
3433
3415
|
}
|
|
3434
3416
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3435
3417
|
import React from 'react';
|
|
@@ -3523,7 +3505,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3523
3505
|
|
|
3524
3506
|
}
|
|
3525
3507
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3526
|
-
const _default: "3.1.
|
|
3508
|
+
const _default: "3.1.23-rc.0";
|
|
3527
3509
|
export default _default;
|
|
3528
3510
|
|
|
3529
3511
|
}
|