@learncard/didkey-plugin 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -102,6 +102,7 @@ var require_types_cjs_development = __commonJS({
|
|
102
102
|
CredentialSubjectValidator: () => CredentialSubjectValidator,
|
103
103
|
CriteriaValidator: () => CriteriaValidator,
|
104
104
|
EncryptedCredentialRecordValidator: () => EncryptedCredentialRecordValidator,
|
105
|
+
EncryptedRecordValidator: () => EncryptedRecordValidator,
|
105
106
|
EndorsementCredentialValidator: () => EndorsementCredentialValidator,
|
106
107
|
EndorsementSubjectValidator: () => EndorsementSubjectValidator,
|
107
108
|
EvidenceValidator: () => EvidenceValidator,
|
@@ -127,6 +128,7 @@ var require_types_cjs_development = __commonJS({
|
|
127
128
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
128
129
|
LCNSigningAuthorityValidator: () => LCNSigningAuthorityValidator,
|
129
130
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
131
|
+
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
130
132
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
131
133
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
132
134
|
ProfileValidator: () => ProfileValidator,
|
@@ -3892,11 +3894,13 @@ var require_types_cjs_development = __commonJS({
|
|
3892
3894
|
aad: mod.string().optional(),
|
3893
3895
|
recipients: JWERecipientValidator.array().optional()
|
3894
3896
|
});
|
3895
|
-
var
|
3896
|
-
|
3897
|
-
|
3897
|
+
var EncryptedRecordValidator = mod.object({ encryptedRecord: JWEValidator2, fields: mod.string().array() }).catchall(mod.any());
|
3898
|
+
var PaginatedEncryptedRecordsValidator = PaginationResponseValidator.extend({
|
3899
|
+
records: EncryptedRecordValidator.array()
|
3900
|
+
});
|
3901
|
+
var EncryptedCredentialRecordValidator = EncryptedRecordValidator.extend({
|
3898
3902
|
id: mod.string()
|
3899
|
-
})
|
3903
|
+
});
|
3900
3904
|
var PaginatedEncryptedCredentialRecordsValidator = PaginationResponseValidator.extend({
|
3901
3905
|
records: EncryptedCredentialRecordValidator.array()
|
3902
3906
|
});
|
@@ -3933,7 +3937,7 @@ var require_types_cjs_development = __commonJS({
|
|
3933
3937
|
var BoostRecipientValidator = mod.object({
|
3934
3938
|
to: LCNProfileValidator,
|
3935
3939
|
from: mod.string(),
|
3936
|
-
received: mod.string()
|
3940
|
+
received: mod.string().optional()
|
3937
3941
|
});
|
3938
3942
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
3939
3943
|
"CONNECTION_REQUEST",
|