@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
package/dist/idx-plugin.esm.js
CHANGED
|
@@ -10965,8 +10965,8 @@ var ProfileValidator = mod.string().or(mod.object({
|
|
|
10965
10965
|
dateOfBirth: mod.string().optional()
|
|
10966
10966
|
}).catchall(mod.any()));
|
|
10967
10967
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
|
10968
|
-
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
|
|
10969
|
-
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
|
|
10968
|
+
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
|
10969
|
+
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
10970
10970
|
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
10971
10971
|
var UnsignedVCValidator = mod.object({
|
|
10972
10972
|
"@context": ContextValidator,
|
|
@@ -10996,7 +10996,7 @@ var VCValidator = UnsignedVCValidator.extend({
|
|
|
10996
10996
|
var UnsignedVPValidator = mod.object({
|
|
10997
10997
|
"@context": ContextValidator,
|
|
10998
10998
|
id: mod.string().optional(),
|
|
10999
|
-
type: mod.string().array().nonempty(),
|
|
10999
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
|
11000
11000
|
verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
|
|
11001
11001
|
holder: mod.string().optional()
|
|
11002
11002
|
}).catchall(mod.any());
|
|
@@ -63297,8 +63297,8 @@ var ProfileValidator2 = mod2.string().or(mod2.object({
|
|
|
63297
63297
|
dateOfBirth: mod2.string().optional()
|
|
63298
63298
|
}).catchall(mod2.any()));
|
|
63299
63299
|
var CredentialSubjectValidator2 = mod2.object({ id: mod2.string().optional() }).catchall(mod2.any());
|
|
63300
|
-
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() });
|
|
63301
|
-
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() });
|
|
63300
|
+
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() }).catchall(mod2.any());
|
|
63301
|
+
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63302
63302
|
var RefreshServiceValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63303
63303
|
var UnsignedVCValidator2 = mod2.object({
|
|
63304
63304
|
"@context": ContextValidator2,
|
|
@@ -63328,7 +63328,7 @@ var VCValidator2 = UnsignedVCValidator2.extend({
|
|
|
63328
63328
|
var UnsignedVPValidator2 = mod2.object({
|
|
63329
63329
|
"@context": ContextValidator2,
|
|
63330
63330
|
id: mod2.string().optional(),
|
|
63331
|
-
type: mod2.string().array().nonempty(),
|
|
63331
|
+
type: mod2.string().or(mod2.string().array().nonempty()),
|
|
63332
63332
|
verifiableCredential: VCValidator2.or(VCValidator2.array()).optional(),
|
|
63333
63333
|
holder: mod2.string().optional()
|
|
63334
63334
|
}).catchall(mod2.any());
|