vr-commons 1.0.116 → 1.0.117

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.
@@ -1,9 +1,10 @@
1
+ import { ContactType } from "vr-models";
1
2
  import { z } from "zod";
2
3
  export declare const phoneNumberRegex: RegExp;
3
4
  export declare const emailRegex: RegExp;
4
5
  export declare const jacketIdRegex: RegExp;
5
6
  export declare const strongPasswordRegex: RegExp;
6
- export declare const detectContactType: (value: string) => "EMAIL" | "PHONE" | "WHATSAPP";
7
+ export declare const detectContactType: (value: string) => ContactType;
7
8
  export declare const validateContactValue: (value: string) => boolean;
8
9
  export declare const createUserSchema: z.ZodObject<{
9
10
  body: z.ZodEffects<z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vr-commons",
3
- "version": "1.0.116",
3
+ "version": "1.0.117",
4
4
  "description": "Shared functions package",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",