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