@epic-web/workshop-app 5.3.4 → 5.3.6

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.
@@ -1306,17 +1306,18 @@ async function userHasAccessToWorkshop({
1306
1306
  }
1307
1307
  const UserInfoSchema = z.object({
1308
1308
  id: z.string(),
1309
- name: z.string(),
1309
+ name: z.string().nullable(),
1310
1310
  email: z.string().email(),
1311
1311
  image: z.string().nullable(),
1312
1312
  discordProfile: z.object({
1313
+ nick: z.string().nullable(),
1313
1314
  user: z.object({
1314
1315
  id: z.string(),
1315
1316
  username: z.string(),
1316
1317
  avatar: z.string().nullable().optional(),
1317
1318
  global_name: z.string().nullable().optional()
1318
1319
  })
1319
- }).optional()
1320
+ }).nullable().optional()
1320
1321
  }).transform((data) => {
1321
1322
  var _a, _b;
1322
1323
  return {