@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
@@ -125,6 +125,7 @@ var require_types_cjs_development = __commonJS({
|
|
125
125
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
126
126
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
127
127
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
128
|
+
PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator,
|
128
129
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
129
130
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
130
131
|
ProfileValidator: () => ProfileValidator,
|
@@ -3568,8 +3569,8 @@ var require_types_cjs_development = __commonJS({
|
|
3568
3569
|
dateOfBirth: mod.string().optional()
|
3569
3570
|
}).catchall(mod.any()));
|
3570
3571
|
var CredentialSubjectValidator = mod.object({ id: mod.string().optional() }).catchall(mod.any());
|
3571
|
-
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() });
|
3572
|
-
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() });
|
3572
|
+
var CredentialStatusValidator = mod.object({ type: mod.string(), id: mod.string() }).catchall(mod.any());
|
3573
|
+
var CredentialSchemaValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
3573
3574
|
var RefreshServiceValidator = mod.object({ id: mod.string(), type: mod.string() }).catchall(mod.any());
|
3574
3575
|
var UnsignedVCValidator = mod.object({
|
3575
3576
|
"@context": ContextValidator,
|
@@ -3599,7 +3600,7 @@ var require_types_cjs_development = __commonJS({
|
|
3599
3600
|
var UnsignedVPValidator = mod.object({
|
3600
3601
|
"@context": ContextValidator,
|
3601
3602
|
id: mod.string().optional(),
|
3602
|
-
type: mod.string().array().nonempty(),
|
3603
|
+
type: mod.string().or(mod.string().array().nonempty()),
|
3603
3604
|
verifiableCredential: VCValidator.or(VCValidator.array()).optional(),
|
3604
3605
|
holder: mod.string().optional()
|
3605
3606
|
}).catchall(mod.any());
|
@@ -3867,6 +3868,9 @@ var require_types_cjs_development = __commonJS({
|
|
3867
3868
|
isServiceProfile: mod.boolean().default(false).optional(),
|
3868
3869
|
notificationsWebhook: mod.string().url().startsWith("https://").optional()
|
3869
3870
|
});
|
3871
|
+
var PaginatedLCNProfilesValidator = PaginationResponseValidator.extend({
|
3872
|
+
records: LCNProfileValidator.array()
|
3873
|
+
});
|
3870
3874
|
var LCNProfileConnectionStatusEnum = mod.enum([
|
3871
3875
|
"CONNECTED",
|
3872
3876
|
"PENDING_REQUEST_SENT",
|