@epic-web/workshop-app 5.3.0 → 5.3.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.
@@ -1310,16 +1310,14 @@ const UserInfoSchema = z.object({
1310
1310
  email: z.string().email(),
1311
1311
  image: z.string().nullable(),
1312
1312
  discordProfile: z.object({
1313
- avatar: z.string().nullable(),
1314
1313
  nick: z.string(),
1315
1314
  user: z.object({
1316
1315
  id: z.string(),
1317
1316
  username: z.string(),
1318
- avatar: z.string(),
1319
- discriminator: z.string(),
1320
- global_name: z.string()
1317
+ avatar: z.string().nullable().optional(),
1318
+ global_name: z.string().nullable().optional()
1321
1319
  })
1322
- })
1320
+ }).optional()
1323
1321
  }).transform((data) => {
1324
1322
  var _a, _b;
1325
1323
  return {