@authing/react-ui-components 3.1.27-rc.1 → 3.1.27
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 +5 -28
- package/lib/index.min.js +1 -1
- package/package.json +3 -5
package/lib/index.d.ts
CHANGED
|
@@ -1167,23 +1167,13 @@ declare module '@authing/react-ui-components/components/ChangeLanguage/index' {
|
|
|
1167
1167
|
declare module '@authing/react-ui-components/components/ChangePassword/businessRequest' {
|
|
1168
1168
|
export enum ChangePasswordBusinessAction {
|
|
1169
1169
|
ResetPassword = "reset-password-first-time",
|
|
1170
|
-
FirstLoginReset = "reset-password-forced"
|
|
1171
|
-
ResetPasswordStrengthDetection = "reset-password-strength-detection"
|
|
1170
|
+
FirstLoginReset = "reset-password-forced"
|
|
1172
1171
|
}
|
|
1173
1172
|
export const authFlow: (action: ChangePasswordBusinessAction, content: {
|
|
1174
1173
|
password: string;
|
|
1175
1174
|
oldPassword?: string;
|
|
1176
1175
|
}) => Promise<import("@authing/react-ui-components/components/_utils/http").AuthingGuardResponse<any>>;
|
|
1177
1176
|
|
|
1178
|
-
}
|
|
1179
|
-
declare module '@authing/react-ui-components/components/ChangePassword/core/PasswordNotSafeReset' {
|
|
1180
|
-
import React from 'react';
|
|
1181
|
-
interface PasswordNotSafeResetProps {
|
|
1182
|
-
onReset: any;
|
|
1183
|
-
}
|
|
1184
|
-
export const PasswordNotSafeReset: React.FC<PasswordNotSafeResetProps>;
|
|
1185
|
-
export {};
|
|
1186
|
-
|
|
1187
1177
|
}
|
|
1188
1178
|
declare module '@authing/react-ui-components/components/ChangePassword/core/completePassword' {
|
|
1189
1179
|
import React from 'react';
|
|
@@ -1216,7 +1206,6 @@ declare module '@authing/react-ui-components/components/ChangePassword/index' {
|
|
|
1216
1206
|
explain: string;
|
|
1217
1207
|
}>;
|
|
1218
1208
|
export const GuardFirstLoginPasswordResetView: React.FC;
|
|
1219
|
-
export const GuardPasswordNotSafeResetView: React.FC;
|
|
1220
1209
|
export const GuardForcedPasswordResetView: React.FC;
|
|
1221
1210
|
export const GuardNoticePasswordResetView: React.FC;
|
|
1222
1211
|
export const GuardRegisterCompletePasswordView: React.FC;
|
|
@@ -1698,7 +1687,6 @@ declare module '@authing/react-ui-components/components/Guard/module' {
|
|
|
1698
1687
|
FORCED_PASSWORD_RESET = "forcedPasswordReset",
|
|
1699
1688
|
NOTICE_PASSWORD_RESET = "noticePasswordReset",
|
|
1700
1689
|
FIRST_LOGIN_PASSWORD = "firstLoginPassword",
|
|
1701
|
-
UNSAFE_PASSWORD_RESET = "unsafePasswordReset",
|
|
1702
1690
|
DOWNLOAD_AT = "downloadAT",
|
|
1703
1691
|
BIND_TOTP = "bindTotp",
|
|
1704
1692
|
ANY_QUESTIONS = "anyQuestions",
|
|
@@ -3142,7 +3130,7 @@ declare module '@authing/react-ui-components/components/_utils/guardHttp' {
|
|
|
3142
3130
|
setTenantId(tenantId: string): this;
|
|
3143
3131
|
setBaseUrl(baseUrl: string): this;
|
|
3144
3132
|
getHeaders: () => Record<string, string>;
|
|
3145
|
-
get: <T = any>(path: string, query?: Record<string, any>, config?:
|
|
3133
|
+
get: <T = any>(path: string, query?: Record<string, any>, config?: RequestInit | undefined) => Promise<AuthingGuardResponse<T>>;
|
|
3146
3134
|
post: <T = any>(path: string, data: any, config?: {
|
|
3147
3135
|
headers: any;
|
|
3148
3136
|
} | undefined) => Promise<AuthingGuardResponse<T>>;
|
|
@@ -3206,10 +3194,9 @@ declare module '@authing/react-ui-components/components/_utils/hooks/index' {
|
|
|
3206
3194
|
}
|
|
3207
3195
|
declare module '@authing/react-ui-components/components/_utils/http' {
|
|
3208
3196
|
import { CodeAction } from '@authing/react-ui-components/components/_utils/responseManagement/interface';
|
|
3209
|
-
import { AxiosRequestConfig } from 'axios';
|
|
3210
3197
|
export const requestClient: {
|
|
3211
3198
|
(input: RequestInfo, init?: RequestInit | undefined): Promise<any>;
|
|
3212
|
-
get<T>(path: string, query?: Record<string, any>, init?:
|
|
3199
|
+
get<T>(path: string, query?: Record<string, any>, init?: RequestInit | undefined): Promise<AuthingResponse<T>>;
|
|
3213
3200
|
post<T_1>(path: string, data: any, config?: {
|
|
3214
3201
|
headers: any;
|
|
3215
3202
|
} | undefined): Promise<AuthingResponse<T_1>>;
|
|
@@ -3426,20 +3413,10 @@ declare module '@authing/react-ui-components/components/_utils/responseManagemen
|
|
|
3426
3413
|
UNLOCK = 1643,
|
|
3427
3414
|
FLOW_END = 1600,
|
|
3428
3415
|
FIRST_LOGIN_PASSWORD = 1639,
|
|
3429
|
-
FORCED_PASSWORD_RESET = 2058
|
|
3430
|
-
UNSAFE_PASSWORD_TIP = 2061,
|
|
3431
|
-
UNSAFE_PASSWORD_RESET = 2071
|
|
3416
|
+
FORCED_PASSWORD_RESET = 2058
|
|
3432
3417
|
}
|
|
3433
3418
|
export const ChangeModuleApiCodeMapping: Record<string, GuardModuleType>;
|
|
3434
3419
|
|
|
3435
|
-
}
|
|
3436
|
-
declare module '@authing/react-ui-components/components/_utils/useErrorText' {
|
|
3437
|
-
import React from 'react';
|
|
3438
|
-
export const usePasswordErrorText: () => {
|
|
3439
|
-
setPasswordErrorTextShow: React.Dispatch<React.SetStateAction<boolean>>;
|
|
3440
|
-
getPassWordUnsafeText: () => JSX.Element;
|
|
3441
|
-
};
|
|
3442
|
-
|
|
3443
3420
|
}
|
|
3444
3421
|
declare module '@authing/react-ui-components/components/context/base' {
|
|
3445
3422
|
import React from 'react';
|
|
@@ -3533,7 +3510,7 @@ declare module '@authing/react-ui-components/components/version/index' {
|
|
|
3533
3510
|
|
|
3534
3511
|
}
|
|
3535
3512
|
declare module '@authing/react-ui-components/components/version/version' {
|
|
3536
|
-
const _default: "3.1.27
|
|
3513
|
+
const _default: "3.1.27";
|
|
3537
3514
|
export default _default;
|
|
3538
3515
|
|
|
3539
3516
|
}
|