@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.
|
@@ -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.
|
|
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": "
|
|
52
|
+
"gitHead": "32d7a9e95172b4e6e10cc549aec6bc5894f09ee7"
|
|
53
53
|
}
|