@fonoster/common
Advanced tools
Comparing version
@@ -51,11 +51,11 @@ /** | ||
password: z.ZodString; | ||
verificationCode: z.ZodOptional<z.ZodString>; | ||
twoFactorCode: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
username?: string; | ||
password?: string; | ||
verificationCode?: string; | ||
twoFactorCode?: string; | ||
}, { | ||
username?: string; | ||
password?: string; | ||
verificationCode?: string; | ||
twoFactorCode?: string; | ||
}>; | ||
@@ -176,9 +176,9 @@ declare const exchangeOauth2RequestSchema: z.ZodObject<{ | ||
username?: string; | ||
contactType?: "EMAIL" | "PHONE"; | ||
verificationCode?: string; | ||
contactType?: "EMAIL" | "PHONE"; | ||
}, { | ||
value?: string; | ||
username?: string; | ||
contactType?: "EMAIL" | "PHONE"; | ||
verificationCode?: string; | ||
contactType?: "EMAIL" | "PHONE"; | ||
}>; | ||
@@ -185,0 +185,0 @@ declare const sendResetPasswordCodeRequestSchema: z.ZodObject<{ |
@@ -57,3 +57,3 @@ "use strict"; | ||
password: zod_1.z.string(), | ||
verificationCode: zod_1.z.string().optional() | ||
twoFactorCode: zod_1.z.string().optional() | ||
}); | ||
@@ -74,3 +74,7 @@ exports.exchangeCredentialsRequestSchema = exchangeCredentialsRequestSchema; | ||
password: zod_1.z.string().min(8, { message: PASSWORD_MESSAGE }).max(100), | ||
avatar: zod_1.z.string().url().max(255, { message: "Invalid avatar URL" }).optional() | ||
avatar: zod_1.z | ||
.string() | ||
.url() | ||
.max(255, { message: "Invalid avatar URL" }) | ||
.optional() | ||
}); | ||
@@ -77,0 +81,0 @@ exports.createUserRequestSchema = createUserRequestSchema; |
{ | ||
"name": "@fonoster/common", | ||
"version": "0.9.23", | ||
"version": "0.9.24", | ||
"description": "Common library for Fonoster projects", | ||
@@ -52,3 +52,3 @@ "author": "Pedro Sanders <psanders@fonoster.com>", | ||
}, | ||
"gitHead": "32d7a9e95172b4e6e10cc549aec6bc5894f09ee7" | ||
"gitHead": "a6e16d9b8af8594e57d8b385b936cc2508546de1" | ||
} |
Sorry, the diff of this file is not supported yet
655172
015927
0.03%199
0.51%3
50%110
0.92%11
-15.38%