@fonoster/common 0.9.22 → 0.9.23

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.
@@ -79,7 +79,7 @@ declare const createUserRequestSchema: z.ZodObject<{
79
79
  name: z.ZodString;
80
80
  email: z.ZodString;
81
81
  password: z.ZodString;
82
- avatar: z.ZodString;
82
+ avatar: z.ZodOptional<z.ZodString>;
83
83
  }, "strip", z.ZodTypeAny, {
84
84
  name?: string;
85
85
  password?: string;
@@ -70,7 +70,7 @@ const createUserRequestSchema = zod_1.z.object({
70
70
  name: zod_1.z.string().max(50, { message: MAX_NAME_MESSAGE }),
71
71
  email: zod_1.z.string().email({ message: EMAIL_MESSAGE }),
72
72
  password: zod_1.z.string().min(8, { message: PASSWORD_MESSAGE }).max(100),
73
- avatar: zod_1.z.string().url().max(255, { message: "Invalid avatar URL" })
73
+ avatar: zod_1.z.string().url().max(255, { message: "Invalid avatar URL" }).optional()
74
74
  });
75
75
  exports.createUserRequestSchema = createUserRequestSchema;
76
76
  const createUserWithOauth2CodeRequestSchema = zod_1.z.object({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/common",
3
- "version": "0.9.22",
3
+ "version": "0.9.23",
4
4
  "description": "Common library for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -49,5 +49,5 @@
49
49
  "devDependencies": {
50
50
  "@types/nodemailer": "^6.4.14"
51
51
  },
52
- "gitHead": "3c393362218ebfdd7ec672f18553953edf37e9e3"
52
+ "gitHead": "32d7a9e95172b4e6e10cc549aec6bc5894f09ee7"
53
53
  }