@authing/react18-ui-components 4.3.24 → 4.3.26
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/package.json
CHANGED
|
@@ -10,6 +10,7 @@ interface ResetPasswordProps {
|
|
|
10
10
|
setCustomPasswordStrength: any;
|
|
11
11
|
setPhoneOrEmailText: any;
|
|
12
12
|
setResetToken: React.Dispatch<React.SetStateAction<string>>;
|
|
13
|
+
setUserId: React.Dispatch<React.SetStateAction<string>>;
|
|
13
14
|
}
|
|
14
15
|
export declare const ResetPassword: (props: ResetPasswordProps) => JSX.Element;
|
|
15
16
|
export {};
|
package/types/_utils/index.d.ts
CHANGED
|
@@ -65,15 +65,16 @@ export declare enum PasswordStrength {
|
|
|
65
65
|
Low = 1,
|
|
66
66
|
Middle = 2,
|
|
67
67
|
High = 3,
|
|
68
|
-
AUTO = 4
|
|
68
|
+
AUTO = 4,
|
|
69
|
+
Custom = 5
|
|
69
70
|
}
|
|
70
71
|
export declare const PASSWORD_STRENGTH_TEXT_MAP: Record<PasswordStrength, {
|
|
71
72
|
placeholder: () => string;
|
|
72
73
|
validateMessage: () => string;
|
|
73
74
|
}>;
|
|
74
75
|
export declare const getSymbolTypeLength: (pwd: string) => number;
|
|
75
|
-
export declare const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string) => Rule[];
|
|
76
|
-
export declare const getPasswordValidateRules: (strength?: PasswordStrength, customPasswordStrength?: any, customValidateTrigger?: string, fieldRequiredRuleMessage?: string) => Rule[];
|
|
76
|
+
export declare const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string, userId?: string) => Rule[];
|
|
77
|
+
export declare const getPasswordValidateRules: (strength?: PasswordStrength, customPasswordStrength?: any, customValidateTrigger?: string, fieldRequiredRuleMessage?: string, userId?: string) => Rule[];
|
|
77
78
|
export declare const sleep: (delay: number) => Promise<unknown>;
|
|
78
79
|
export declare const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean) => boolean;
|
|
79
80
|
export declare const transformMethod: (method: RegisterMethods | string) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "4.3.
|
|
1
|
+
declare const _default: "4.3.26";
|
|
2
2
|
export default _default;
|