@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.
package/dist/helpers.esm.js
CHANGED
|
@@ -63,6 +63,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
63
63
|
CredentialSubjectValidator: () => CredentialSubjectValidator,
|
|
64
64
|
CriteriaValidator: () => CriteriaValidator,
|
|
65
65
|
EncryptedCredentialRecordValidator: () => EncryptedCredentialRecordValidator,
|
|
66
|
+
EncryptedRecordValidator: () => EncryptedRecordValidator,
|
|
66
67
|
EndorsementCredentialValidator: () => EndorsementCredentialValidator,
|
|
67
68
|
EndorsementSubjectValidator: () => EndorsementSubjectValidator,
|
|
68
69
|
EvidenceValidator: () => EvidenceValidator,
|
|
@@ -88,6 +89,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
88
89
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
|
89
90
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
|
90
91
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
|
92
|
+
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
|
91
93
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
|
92
94
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
|
93
95
|
ProfileValidator: () => ProfileValidator,
|
|
@@ -3838,11 +3840,13 @@ var require_types_cjs_development = __commonJS({
|
|
|
3838
3840
|
aad: mod.string().optional(),
|
|
3839
3841
|
recipients: JWERecipientValidator.array().optional()
|
|
3840
3842
|
});
|
|
3841
|
-
var
|
|
3842
|
-
|
|
3843
|
-
|
|
3843
|
+
var EncryptedRecordValidator = mod.object({ encryptedRecord: JWEValidator2, fields: mod.string().array() }).catchall(mod.any());
|
|
3844
|
+
var PaginatedEncryptedRecordsValidator = PaginationResponseValidator.extend({
|
|
3845
|
+
records: EncryptedRecordValidator.array()
|
|
3846
|
+
});
|
|
3847
|
+
var EncryptedCredentialRecordValidator = EncryptedRecordValidator.extend({
|
|
3844
3848
|
id: mod.string()
|
|
3845
|
-
})
|
|
3849
|
+
});
|
|
3846
3850
|
var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.extend({
|
|
3847
3851
|
records: EncryptedCredentialRecordValidator.array()
|
|
3848
3852
|
});
|
|
@@ -3879,7 +3883,7 @@ var require_types_cjs_development = __commonJS({
|
|
|
3879
3883
|
var BoostRecipientValidator = mod.object({
|
|
3880
3884
|
to: LCNProfileValidator,
|
|
3881
3885
|
from: mod.string(),
|
|
3882
|
-
received: mod.string()
|
|
3886
|
+
received: mod.string().optional()
|
|
3883
3887
|
});
|
|
3884
3888
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
|
3885
3889
|
"CONNECTION_REQUEST",
|