@learncard/didkey-plugin 1.0.3 → 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.
- 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
|
@@ -3568,8 +3568,8 @@ var require_types_cjs_development = __commonJS({
|
|
|
3568
3568
|
dateOfBirth: mod.string().optional()
|
|
3569
3569
|
}).catchall(mod.any()));
|
|
3570
3570
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
|
3571
|
-
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
|
|
3572
|
-
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
|
|
3571
|
+
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
|
3572
|
+
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
3573
3573
|
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
3574
3574
|
var UnsignedVCValidator = mod.object({
|
|
3575
3575
|
"@context": ContextValidator,
|
|
@@ -3599,7 +3599,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3599
3599
|
var UnsignedVPValidator = mod.object({
|
|
3600
3600
|
"@context": ContextValidator,
|
|
3601
3601
|
id: mod.string().optional(),
|
|
3602
|
-
type: mod.string().array().nonempty(),
|
|
3602
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
|
3603
3603
|
verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
|
|
3604
3604
|
holder: mod.string().optional()
|
|
3605
3605
|
}).catchall(mod.any());
|