@authing/guard-shim-react18 4.5.42 → 4.5.43-rc.2

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.
@@ -0,0 +1,3 @@
1
+ import { React } from 'shim-react';
2
+ import './styles.less';
3
+ export declare const CheckRules: React.FC<any>;
@@ -52,8 +52,8 @@ export declare const PASSWORD_STRENGTH_TEXT_MAP: Record<PasswordStrength, {
52
52
  validateMessage: () => string;
53
53
  }>;
54
54
  export declare const getSymbolTypeLength: (pwd: string) => number;
55
- export declare const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string, userId?: string) => Rule[];
56
- export declare const getPasswordValidateRules: (strength?: PasswordStrength, customPasswordStrength?: any, customValidateTrigger?: string, fieldRequiredRuleMessage?: string, userId?: string) => Rule[];
55
+ export declare const getPasswordValidate: (strength?: PasswordStrength, customPasswordStrength?: any, fieldRequiredRuleMessage?: string, userId?: string, setRuleResults?: any) => Rule[];
56
+ export declare const getPasswordValidateRules: (strength?: PasswordStrength, customPasswordStrength?: any, customValidateTrigger?: string, fieldRequiredRuleMessage?: string, userId?: string, setRuleResults?: any) => Rule[];
57
57
  export declare const sleep: (delay: number) => Promise<unknown>;
58
58
  export declare const shoudGoToComplete: (user: User, contextType: ComplateFiledsPlace, config: ApplicationConfig | undefined, autoRegister?: boolean) => boolean;
59
59
  export declare const transformMethod: (method: RegisterMethods | string) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@authing/guard-shim-react18",
3
- "version": "4.5.42",
3
+ "version": "4.5.43-rc.2",
4
4
  "description": "Guard shim for react 18, only be used to internal",
5
5
  "types": "dist/typings/src/index.d.ts",
6
6
  "module": "dist/guard.min.js",