@learncard/didkey-plugin 1.0.3 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/didkey-plugin.cjs.development.js +3 -3
- package/dist/didkey-plugin.cjs.development.js.map +2 -2
- package/dist/didkey-plugin.cjs.production.min.js +1 -1
- package/dist/didkey-plugin.cjs.production.min.js.map +2 -2
- package/dist/didkey-plugin.esm.js +3 -3
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/dist/index.d.ts +11 -0
- package/package.json +4 -4
@@ -3545,8 +3545,8 @@ var require_types_cjs_development = __commonJS({
|
|
3545
3545
|
dateOfBirth: mod.string().optional()
|
3546
3546
|
}).catchall(mod.any()));
|
3547
3547
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
3548
|
-
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
|
3549
|
-
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
|
3548
|
+
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
3549
|
+
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
3550
3550
|
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
3551
3551
|
var UnsignedVCValidator = mod.object({
|
3552
3552
|
"@context": ContextValidator,
|
@@ -3576,7 +3576,7 @@ var require_types_cjs_development = __commonJS({
|
|
3576
3576
|
var UnsignedVPValidator = mod.object({
|
3577
3577
|
"@context": ContextValidator,
|
3578
3578
|
id: mod.string().optional(),
|
3579
|
-
type: mod.string().array().nonempty(),
|
3579
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
3580
3580
|
verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
|
3581
3581
|
holder: mod.string().optional()
|
3582
3582
|
}).catchall(mod.any());
|