@learncard/idx-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.
- package/dist/idx-plugin.cjs.development.js +6 -6
- package/dist/idx-plugin.cjs.development.js.map +2 -2
- package/dist/idx-plugin.cjs.production.min.js +26 -26
- package/dist/idx-plugin.cjs.production.min.js.map +2 -2
- package/dist/idx-plugin.esm.js +6 -6
- package/dist/idx-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -10970,8 +10970,8 @@ var ProfileValidator = mod.string().or(mod.object({
|
|
|
10970
10970
|
dateOfBirth: mod.string().optional()
|
|
10971
10971
|
}).catchall(mod.any()));
|
|
10972
10972
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
|
10973
|
-
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
|
|
10974
|
-
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
|
|
10973
|
+
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
|
10974
|
+
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
10975
10975
|
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
10976
10976
|
var UnsignedVCValidator = mod.object({
|
|
10977
10977
|
"@context": ContextValidator,
|
|
@@ -11001,7 +11001,7 @@ var VCValidator = UnsignedVCValidator.extend({
|
|
|
11001
11001
|
var UnsignedVPValidator = mod.object({
|
|
11002
11002
|
"@context": ContextValidator,
|
|
11003
11003
|
id: mod.string().optional(),
|
|
11004
|
-
type: mod.string().array().nonempty(),
|
|
11004
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
|
11005
11005
|
verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
|
|
11006
11006
|
holder: mod.string().optional()
|
|
11007
11007
|
}).catchall(mod.any());
|
|
@@ -63302,8 +63302,8 @@ var ProfileValidator2 = mod2.string().or(mod2.object({
|
|
|
63302
63302
|
dateOfBirth: mod2.string().optional()
|
|
63303
63303
|
}).catchall(mod2.any()));
|
|
63304
63304
|
var CredentialSubjectValidator2 = mod2.object({ id: mod2.string().optional() }).catchall(mod2.any());
|
|
63305
|
-
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() });
|
|
63306
|
-
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() });
|
|
63305
|
+
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() }).catchall(mod2.any());
|
|
63306
|
+
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63307
63307
|
var RefreshServiceValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63308
63308
|
var UnsignedVCValidator2 = mod2.object({
|
|
63309
63309
|
"@context": ContextValidator2,
|
|
@@ -63333,7 +63333,7 @@ var VCValidator2 = UnsignedVCValidator2.extend({
|
|
|
63333
63333
|
var UnsignedVPValidator2 = mod2.object({
|
|
63334
63334
|
"@context": ContextValidator2,
|
|
63335
63335
|
id: mod2.string().optional(),
|
|
63336
|
-
type: mod2.string().array().nonempty(),
|
|
63336
|
+
type: mod2.string().or(mod2.string().array().nonempty()),
|
|
63337
63337
|
verifiableCredential: VCValidator2.or(VCValidator2.array()).optional(),
|
|
63338
63338
|
holder: mod2.string().optional()
|
|
63339
63339
|
}).catchall(mod2.any());
|