@learncard/didkey-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/didkey-plugin.cjs.development.js +7 -3
- package/dist/didkey-plugin.cjs.development.js.map +2 -2
- package/dist/didkey-plugin.cjs.production.min.js +1 -1
- package/dist/didkey-plugin.cjs.production.min.js.map +2 -2
- package/dist/didkey-plugin.esm.js +7 -3
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.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
@@ -102,6 +102,7 @@ var require_types_cjs_development = __commonJS({
|
|
102
102
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
103
103
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
104
104
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
105
|
+
PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator,
|
105
106
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
106
107
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
107
108
|
ProfileValidator: () => ProfileValidator,
|
@@ -3545,8 +3546,8 @@ var require_types_cjs_development = __commonJS({
|
|
3545
3546
|
dateOfBirth: mod.string().optional()
|
3546
3547
|
}).catchall(mod.any()));
|
3547
3548
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
3548
|
-
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
|
3549
|
-
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
|
3549
|
+
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
3550
|
+
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
3550
3551
|
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
3551
3552
|
var UnsignedVCValidator = mod.object({
|
3552
3553
|
"@context": ContextValidator,
|
@@ -3576,7 +3577,7 @@ var require_types_cjs_development = __commonJS({
|
|
3576
3577
|
var UnsignedVPValidator = mod.object({
|
3577
3578
|
"@context": ContextValidator,
|
3578
3579
|
id: mod.string().optional(),
|
3579
|
-
type: mod.string().array().nonempty(),
|
3580
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
3580
3581
|
verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
|
3581
3582
|
holder: mod.string().optional()
|
3582
3583
|
}).catchall(mod.any());
|
@@ -3844,6 +3845,9 @@ var require_types_cjs_development = __commonJS({
|
|
3844
3845
|
isServiceProfile: mod.boolean().default(false).optional(),
|
3845
3846
|
notificationsWebhook: mod.string().url().startsWith("https://").optional()
|
3846
3847
|
});
|
3848
|
+
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
3849
|
+
records: LCNProfileValidator.array()
|
3850
|
+
});
|
3847
3851
|
var LCNProfileConnectionStatusEnum = mod.enum([
|
3848
3852
|
"CONNECTED",
|
3849
3853
|
"PENDING_REQUEST_SENT",
|