@learncard/didkey-plugin 1.0.1 → 1.0.2
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 +9 -5
- 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 +3 -3
- package/dist/didkey-plugin.esm.js +9 -5
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/package.json +4 -4
@@ -78,6 +78,7 @@ var require_types_cjs_development = __commonJS({
|
|
78
78
|
CredentialSubjectValidator: () => CredentialSubjectValidator,
|
79
79
|
CriteriaValidator: () => CriteriaValidator,
|
80
80
|
EncryptedCredentialRecordValidator: () => EncryptedCredentialRecordValidator,
|
81
|
+
EncryptedRecordValidator: () => EncryptedRecordValidator,
|
81
82
|
EndorsementCredentialValidator: () => EndorsementCredentialValidator,
|
82
83
|
EndorsementSubjectValidator: () => EndorsementSubjectValidator,
|
83
84
|
EvidenceValidator: () => EvidenceValidator,
|
@@ -103,6 +104,7 @@ var require_types_cjs_development = __commonJS({
|
|
103
104
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
104
105
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
105
106
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
107
|
+
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
106
108
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
107
109
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
108
110
|
ProfileValidator: () => ProfileValidator,
|
@@ -3868,11 +3870,13 @@ var require_types_cjs_development = __commonJS({
|
|
3868
3870
|
aad: mod.string().optional(),
|
3869
3871
|
recipients: JWERecipientValidator.array().optional()
|
3870
3872
|
});
|
3871
|
-
var
|
3872
|
-
|
3873
|
-
|
3873
|
+
var EncryptedRecordValidator = mod.object({ encryptedRecord: JWEValidator2, fields: mod.string().array() }).catchall(mod.any());
|
3874
|
+
var PaginatedEncryptedRecordsValidator = PaginationResponseValidator.extend({
|
3875
|
+
records: EncryptedRecordValidator.array()
|
3876
|
+
});
|
3877
|
+
var EncryptedCredentialRecordValidator = EncryptedRecordValidator.extend({
|
3874
3878
|
id: mod.string()
|
3875
|
-
})
|
3879
|
+
});
|
3876
3880
|
var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.extend({
|
3877
3881
|
records: EncryptedCredentialRecordValidator.array()
|
3878
3882
|
});
|
@@ -3909,7 +3913,7 @@ var require_types_cjs_development = __commonJS({
|
|
3909
3913
|
var BoostRecipientValidator = mod.object({
|
3910
3914
|
to: LCNProfileValidator,
|
3911
3915
|
from: mod.string(),
|
3912
|
-
received: mod.string()
|
3916
|
+
received: mod.string().optional()
|
3913
3917
|
});
|
3914
3918
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
3915
3919
|
"CONNECTION_REQUEST",
|