@learncard/helpers 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.
|
@@ -68,6 +68,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
68
68
|
CredentialSubjectValidator: () => CredentialSubjectValidator,
|
|
69
69
|
CriteriaValidator: () => CriteriaValidator,
|
|
70
70
|
EncryptedCredentialRecordValidator: () => EncryptedCredentialRecordValidator,
|
|
71
|
+
EncryptedRecordValidator: () => EncryptedRecordValidator,
|
|
71
72
|
EndorsementCredentialValidator: () => EndorsementCredentialValidator,
|
|
72
73
|
EndorsementSubjectValidator: () => EndorsementSubjectValidator,
|
|
73
74
|
EvidenceValidator: () => EvidenceValidator,
|
|
@@ -93,6 +94,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
93
94
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
|
94
95
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
|
95
96
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
|
97
|
+
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
|
96
98
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
|
97
99
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
|
98
100
|
ProfileValidator: () => ProfileValidator,
|
|
@@ -3843,11 +3845,13 @@ var require_types_cjs_development = __commonJS({
|
|
|
3843
3845
|
aad: mod.string().optional(),
|
|
3844
3846
|
recipients: JWERecipientValidator.array().optional()
|
|
3845
3847
|
});
|
|
3846
|
-
var
|
|
3847
|
-
|
|
3848
|
-
|
|
3848
|
+
var EncryptedRecordValidator = mod.object({ encryptedRecord: JWEValidator2, fields: mod.string().array() }).catchall(mod.any());
|
|
3849
|
+
var PaginatedEncryptedRecordsValidator = PaginationResponseValidator.extend({
|
|
3850
|
+
records: EncryptedRecordValidator.array()
|
|
3851
|
+
});
|
|
3852
|
+
var EncryptedCredentialRecordValidator = EncryptedRecordValidator.extend({
|
|
3849
3853
|
id: mod.string()
|
|
3850
|
-
})
|
|
3854
|
+
});
|
|
3851
3855
|
var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.extend({
|
|
3852
3856
|
records: EncryptedCredentialRecordValidator.array()
|
|
3853
3857
|
});
|
|
@@ -3884,7 +3888,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3884
3888
|
var BoostRecipientValidator = mod.object({
|
|
3885
3889
|
to: LCNProfileValidator,
|
|
3886
3890
|
from: mod.string(),
|
|
3887
|
-
received: mod.string()
|
|
3891
|
+
received: mod.string().optional()
|
|
3888
3892
|
});
|
|
3889
3893
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
|
3890
3894
|
"CONNECTION_REQUEST",
|