@learncard/idx-plugin 1.0.4 → 1.0.6
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 +12 -6
- package/dist/idx-plugin.cjs.development.js.map +2 -2
- package/dist/idx-plugin.cjs.production.min.js +42 -42
- package/dist/idx-plugin.cjs.production.min.js.map +2 -2
- package/dist/idx-plugin.esm.js +12 -6
- package/dist/idx-plugin.esm.js.map +2 -2
- package/dist/idx.d.ts +1 -0
- package/dist/idx.d.ts.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -0
- 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());
|
|
@@ -11269,6 +11269,9 @@ var LCNProfileValidator = mod.object({
|
|
|
11269
11269
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
11270
11270
|
notificationsWebhook: mod.string().url().startsWith("https://").optional()
|
|
11271
11271
|
});
|
|
11272
|
+
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
11273
|
+
records: LCNProfileValidator.array()
|
|
11274
|
+
});
|
|
11272
11275
|
var LCNProfileConnectionStatusEnum = mod.enum([
|
|
11273
11276
|
"CONNECTED",
|
|
11274
11277
|
"PENDING_REQUEST_SENT",
|
|
@@ -63302,8 +63305,8 @@ var ProfileValidator2 = mod2.string().or(mod2.object({
|
|
|
63302
63305
|
dateOfBirth: mod2.string().optional()
|
|
63303
63306
|
}).catchall(mod2.any()));
|
|
63304
63307
|
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() });
|
|
63308
|
+
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() }).catchall(mod2.any());
|
|
63309
|
+
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63307
63310
|
var RefreshServiceValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63308
63311
|
var UnsignedVCValidator2 = mod2.object({
|
|
63309
63312
|
"@context": ContextValidator2,
|
|
@@ -63333,7 +63336,7 @@ var VCValidator2 = UnsignedVCValidator2.extend({
|
|
|
63333
63336
|
var UnsignedVPValidator2 = mod2.object({
|
|
63334
63337
|
"@context": ContextValidator2,
|
|
63335
63338
|
id: mod2.string().optional(),
|
|
63336
|
-
type: mod2.string().array().nonempty(),
|
|
63339
|
+
type: mod2.string().or(mod2.string().array().nonempty()),
|
|
63337
63340
|
verifiableCredential: VCValidator2.or(VCValidator2.array()).optional(),
|
|
63338
63341
|
holder: mod2.string().optional()
|
|
63339
63342
|
}).catchall(mod2.any());
|
|
@@ -63601,6 +63604,9 @@ var LCNProfileValidator2 = mod2.object({
|
|
|
63601
63604
|
isServiceProfile: mod2.boolean().default(false).optional(),
|
|
63602
63605
|
notificationsWebhook: mod2.string().url().startsWith("https://").optional()
|
|
63603
63606
|
});
|
|
63607
|
+
var PaginatedLCNProfilesValidator2 = PaginationResponseValidator2.extend({
|
|
63608
|
+
records: LCNProfileValidator2.array()
|
|
63609
|
+
});
|
|
63604
63610
|
var LCNProfileConnectionStatusEnum2 = mod2.enum([
|
|
63605
63611
|
"CONNECTED",
|
|
63606
63612
|
"PENDING_REQUEST_SENT",
|