@learncard/idx-plugin 1.0.34 → 1.0.36
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 +46 -16
- package/dist/idx-plugin.cjs.development.js.map +3 -3
- package/dist/idx-plugin.cjs.production.min.js +54 -54
- package/dist/idx-plugin.cjs.production.min.js.map +3 -3
- package/dist/idx-plugin.esm.js +46 -16
- package/dist/idx-plugin.esm.js.map +3 -3
- package/package.json +4 -4
package/dist/idx-plugin.esm.js
CHANGED
|
@@ -10990,18 +10990,31 @@ var ProfileValidator = mod.string().or(
|
|
|
10990
10990
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
|
10991
10991
|
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
|
10992
10992
|
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
10993
|
-
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
|
10993
|
+
var RefreshServiceValidator = mod.object({ id: mod.string().optional(), type: mod.string() }).catchall(mod.any());
|
|
10994
|
+
var TermsOfUseValidator = mod.object({ type: mod.string(), id: mod.string().optional() }).catchall(mod.any());
|
|
10995
|
+
var VC2EvidenceValidator = mod.object({ type: mod.string().or(mod.string().array().nonempty()), id: mod.string().optional() }).catchall(mod.any());
|
|
10994
10996
|
var UnsignedVCValidator = mod.object({
|
|
10995
10997
|
"@context": ContextValidator,
|
|
10996
10998
|
id: mod.string().optional(),
|
|
10997
10999
|
type: mod.string().array().nonempty(),
|
|
10998
11000
|
issuer: ProfileValidator,
|
|
10999
|
-
issuanceDate: mod.string(),
|
|
11000
|
-
expirationDate: mod.string().optional(),
|
|
11001
11001
|
credentialSubject: CredentialSubjectValidator.or(CredentialSubjectValidator.array()),
|
|
11002
|
-
|
|
11003
|
-
credentialSchema: CredentialSchemaValidator.
|
|
11004
|
-
|
|
11002
|
+
refreshService: RefreshServiceValidator.or(RefreshServiceValidator.array()).optional(),
|
|
11003
|
+
credentialSchema: CredentialSchemaValidator.or(
|
|
11004
|
+
CredentialSchemaValidator.array()
|
|
11005
|
+
).optional(),
|
|
11006
|
+
issuanceDate: mod.string().optional(),
|
|
11007
|
+
expirationDate: mod.string().optional(),
|
|
11008
|
+
credentialStatus: CredentialStatusValidator.or(
|
|
11009
|
+
CredentialStatusValidator.array()
|
|
11010
|
+
).optional(),
|
|
11011
|
+
name: mod.string().optional(),
|
|
11012
|
+
description: mod.string().optional(),
|
|
11013
|
+
validFrom: mod.string().optional(),
|
|
11014
|
+
validUntil: mod.string().optional(),
|
|
11015
|
+
status: CredentialStatusValidator.or(CredentialStatusValidator.array()).optional(),
|
|
11016
|
+
termsOfUse: TermsOfUseValidator.or(TermsOfUseValidator.array()).optional(),
|
|
11017
|
+
evidence: VC2EvidenceValidator.or(VC2EvidenceValidator.array()).optional()
|
|
11005
11018
|
}).catchall(mod.any());
|
|
11006
11019
|
var ProofValidator = mod.object({
|
|
11007
11020
|
type: mod.string(),
|
|
@@ -11253,7 +11266,7 @@ var AchievementSubjectValidator = mod.object({
|
|
|
11253
11266
|
}).catchall(mod.any());
|
|
11254
11267
|
var EvidenceValidator = mod.object({
|
|
11255
11268
|
id: mod.string().optional(),
|
|
11256
|
-
type: mod.string().array().nonempty(),
|
|
11269
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
|
11257
11270
|
narrative: mod.string().optional(),
|
|
11258
11271
|
name: mod.string().optional(),
|
|
11259
11272
|
description: mod.string().optional(),
|
|
@@ -11369,7 +11382,9 @@ var LCNProfileValidator = mod.object({
|
|
|
11369
11382
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
11370
11383
|
type: mod.string().optional(),
|
|
11371
11384
|
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
11372
|
-
display: LCNProfileDisplayValidator.optional()
|
|
11385
|
+
display: LCNProfileDisplayValidator.optional(),
|
|
11386
|
+
role: mod.string().default("").optional(),
|
|
11387
|
+
dob: mod.string().default("").optional()
|
|
11373
11388
|
});
|
|
11374
11389
|
var LCNProfileQueryValidator = mod.object({
|
|
11375
11390
|
profileId: StringQuery,
|
|
@@ -66028,18 +66043,31 @@ var ProfileValidator2 = mod2.string().or(
|
|
|
66028
66043
|
var CredentialSubjectValidator2 = mod2.object({ id: mod2.string().optional() }).catchall(mod2.any());
|
|
66029
66044
|
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() }).catchall(mod2.any());
|
|
66030
66045
|
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
66031
|
-
var RefreshServiceValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
66046
|
+
var RefreshServiceValidator2 = mod2.object({ id: mod2.string().optional(), type: mod2.string() }).catchall(mod2.any());
|
|
66047
|
+
var TermsOfUseValidator2 = mod2.object({ type: mod2.string(), id: mod2.string().optional() }).catchall(mod2.any());
|
|
66048
|
+
var VC2EvidenceValidator2 = mod2.object({ type: mod2.string().or(mod2.string().array().nonempty()), id: mod2.string().optional() }).catchall(mod2.any());
|
|
66032
66049
|
var UnsignedVCValidator2 = mod2.object({
|
|
66033
66050
|
"@context": ContextValidator2,
|
|
66034
66051
|
id: mod2.string().optional(),
|
|
66035
66052
|
type: mod2.string().array().nonempty(),
|
|
66036
66053
|
issuer: ProfileValidator2,
|
|
66037
|
-
issuanceDate: mod2.string(),
|
|
66038
|
-
expirationDate: mod2.string().optional(),
|
|
66039
66054
|
credentialSubject: CredentialSubjectValidator2.or(CredentialSubjectValidator2.array()),
|
|
66040
|
-
|
|
66041
|
-
credentialSchema: CredentialSchemaValidator2.
|
|
66042
|
-
|
|
66055
|
+
refreshService: RefreshServiceValidator2.or(RefreshServiceValidator2.array()).optional(),
|
|
66056
|
+
credentialSchema: CredentialSchemaValidator2.or(
|
|
66057
|
+
CredentialSchemaValidator2.array()
|
|
66058
|
+
).optional(),
|
|
66059
|
+
issuanceDate: mod2.string().optional(),
|
|
66060
|
+
expirationDate: mod2.string().optional(),
|
|
66061
|
+
credentialStatus: CredentialStatusValidator2.or(
|
|
66062
|
+
CredentialStatusValidator2.array()
|
|
66063
|
+
).optional(),
|
|
66064
|
+
name: mod2.string().optional(),
|
|
66065
|
+
description: mod2.string().optional(),
|
|
66066
|
+
validFrom: mod2.string().optional(),
|
|
66067
|
+
validUntil: mod2.string().optional(),
|
|
66068
|
+
status: CredentialStatusValidator2.or(CredentialStatusValidator2.array()).optional(),
|
|
66069
|
+
termsOfUse: TermsOfUseValidator2.or(TermsOfUseValidator2.array()).optional(),
|
|
66070
|
+
evidence: VC2EvidenceValidator2.or(VC2EvidenceValidator2.array()).optional()
|
|
66043
66071
|
}).catchall(mod2.any());
|
|
66044
66072
|
var ProofValidator2 = mod2.object({
|
|
66045
66073
|
type: mod2.string(),
|
|
@@ -66291,7 +66319,7 @@ var AchievementSubjectValidator2 = mod2.object({
|
|
|
66291
66319
|
}).catchall(mod2.any());
|
|
66292
66320
|
var EvidenceValidator2 = mod2.object({
|
|
66293
66321
|
id: mod2.string().optional(),
|
|
66294
|
-
type: mod2.string().array().nonempty(),
|
|
66322
|
+
type: mod2.string().or(mod2.string().array().nonempty()),
|
|
66295
66323
|
narrative: mod2.string().optional(),
|
|
66296
66324
|
name: mod2.string().optional(),
|
|
66297
66325
|
description: mod2.string().optional(),
|
|
@@ -66407,7 +66435,9 @@ var LCNProfileValidator2 = mod2.object({
|
|
|
66407
66435
|
isServiceProfile: mod2.boolean().default(false).optional(),
|
|
66408
66436
|
type: mod2.string().optional(),
|
|
66409
66437
|
notificationsWebhook: mod2.string().url().startsWith("http").optional(),
|
|
66410
|
-
display: LCNProfileDisplayValidator2.optional()
|
|
66438
|
+
display: LCNProfileDisplayValidator2.optional(),
|
|
66439
|
+
role: mod2.string().default("").optional(),
|
|
66440
|
+
dob: mod2.string().default("").optional()
|
|
66411
66441
|
});
|
|
66412
66442
|
var LCNProfileQueryValidator2 = mod2.object({
|
|
66413
66443
|
profileId: StringQuery2,
|