@learncard/helpers 1.1.20 → 1.1.21

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.
@@ -4834,12 +4834,12 @@ var require_types_cjs_development = __commonJS({
4834
4834
  var ConsentFlowContractValidator = z.object({
4835
4835
  read: z.object({
4836
4836
  anonymize: z.boolean().optional(),
4837
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4838
- personal: z.record(z.object({ required: z.boolean() })).default({})
4837
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4838
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4839
4839
  }).default({}),
4840
4840
  write: z.object({
4841
- credentials: z.object({ categories: z.record(z.object({ required: z.boolean() })).default({}) }).default({}),
4842
- personal: z.record(z.object({ required: z.boolean() })).default({})
4841
+ credentials: z.object({ categories: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({}) }).default({}),
4842
+ personal: z.record(z.object({ required: z.boolean(), defaultEnabled: z.boolean().optional() })).default({})
4843
4843
  }).default({})
4844
4844
  });
4845
4845
  var ConsentFlowContractDetailsValidator = z.object({