@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
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());
|
|
@@ -11264,6 +11264,9 @@ var LCNProfileValidator = mod.object({
|
|
|
11264
11264
|
isServiceProfile: mod.boolean().default(false).optional(),
|
|
11265
11265
|
notificationsWebhook: mod.string().url().startsWith("https://").optional()
|
|
11266
11266
|
});
|
|
11267
|
+
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
|
11268
|
+
records: LCNProfileValidator.array()
|
|
11269
|
+
});
|
|
11267
11270
|
var LCNProfileConnectionStatusEnum = mod.enum([
|
|
11268
11271
|
"CONNECTED",
|
|
11269
11272
|
"PENDING_REQUEST_SENT",
|
|
@@ -63297,8 +63300,8 @@ var ProfileValidator2 = mod2.string().or(mod2.object({
|
|
|
63297
63300
|
dateOfBirth: mod2.string().optional()
|
|
63298
63301
|
}).catchall(mod2.any()));
|
|
63299
63302
|
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() });
|
|
63303
|
+
var CredentialStatusValidator2 = mod2.object({ type: mod2.string(), id: mod2.string() }).catchall(mod2.any());
|
|
63304
|
+
var CredentialSchemaValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63302
63305
|
var RefreshServiceValidator2 = mod2.object({ id: mod2.string(), type: mod2.string() }).catchall(mod2.any());
|
|
63303
63306
|
var UnsignedVCValidator2 = mod2.object({
|
|
63304
63307
|
"@context": ContextValidator2,
|
|
@@ -63328,7 +63331,7 @@ var VCValidator2 = UnsignedVCValidator2.extend({
|
|
|
63328
63331
|
var UnsignedVPValidator2 = mod2.object({
|
|
63329
63332
|
"@context": ContextValidator2,
|
|
63330
63333
|
id: mod2.string().optional(),
|
|
63331
|
-
type: mod2.string().array().nonempty(),
|
|
63334
|
+
type: mod2.string().or(mod2.string().array().nonempty()),
|
|
63332
63335
|
verifiableCredential: VCValidator2.or(VCValidator2.array()).optional(),
|
|
63333
63336
|
holder: mod2.string().optional()
|
|
63334
63337
|
}).catchall(mod2.any());
|
|
@@ -63596,6 +63599,9 @@ var LCNProfileValidator2 = mod2.object({
|
|
|
63596
63599
|
isServiceProfile: mod2.boolean().default(false).optional(),
|
|
63597
63600
|
notificationsWebhook: mod2.string().url().startsWith("https://").optional()
|
|
63598
63601
|
});
|
|
63602
|
+
var PaginatedLCNProfilesValidator2 = PaginationResponseValidator2.extend({
|
|
63603
|
+
records: LCNProfileValidator2.array()
|
|
63604
|
+
});
|
|
63599
63605
|
var LCNProfileConnectionStatusEnum2 = mod2.enum([
|
|
63600
63606
|
"CONNECTED",
|
|
63601
63607
|
"PENDING_REQUEST_SENT",
|