@learncard/ceramic-plugin 1.0.4 → 1.0.5

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.
@@ -51060,8 +51060,8 @@ var ProfileValidator = mod.string().or(mod.object({
51060
51060
  dateOfBirth: mod.string().optional()
51061
51061
  }).catchall(mod.any()));
51062
51062
  var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
51063
- var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
51064
- var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
51063
+ var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
51064
+ var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
51065
51065
  var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
51066
51066
  var UnsignedVCValidator = mod.object({
51067
51067
  "@context": ContextValidator,
@@ -51091,7 +51091,7 @@ var VCValidator = UnsignedVCValidator.extend({
51091
51091
  var UnsignedVPValidator = mod.object({
51092
51092
  "@context": ContextValidator,
51093
51093
  id: mod.string().optional(),
51094
- type: mod.string().array().nonempty(),
51094
+ type: mod.string().or(mod.string().array().nonempty()),
51095
51095
  verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
51096
51096
  holder: mod.string().optional()
51097
51097
  }).catchall(mod.any());