@learncard/network-brain-client 2.2.12 → 2.2.13
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/CHANGELOG.md +7 -0
- package/dist/brain-client.cjs.development.js +43 -2
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +1 -1
- package/dist/brain-client.cjs.production.min.js.map +3 -3
- package/dist/brain-client.esm.js +43 -2
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @learncard/network-brain-client
|
|
2
2
|
|
|
3
|
+
## 2.2.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`160b2f67bd119de64d26d4b16ef7ae718e34a897`](https://github.com/learningeconomy/LearnCard/commit/160b2f67bd119de64d26d4b16ef7ae718e34a897), [`160b2f67bd119de64d26d4b16ef7ae718e34a897`](https://github.com/learningeconomy/LearnCard/commit/160b2f67bd119de64d26d4b16ef7ae718e34a897), [`160b2f67bd119de64d26d4b16ef7ae718e34a897`](https://github.com/learningeconomy/LearnCard/commit/160b2f67bd119de64d26d4b16ef7ae718e34a897)]:
|
|
8
|
+
- @learncard/network-brain-service@3.3.12
|
|
9
|
+
|
|
3
10
|
## 2.2.12
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -91,6 +91,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
91
91
|
AddressValidator: () => AddressValidator,
|
|
92
92
|
AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
|
|
93
93
|
AlignmentValidator: () => AlignmentValidator,
|
|
94
|
+
AutoBoostConfigValidator: () => AutoBoostConfigValidator,
|
|
94
95
|
BoostPermissionsQueryValidator: () => BoostPermissionsQueryValidator,
|
|
95
96
|
BoostPermissionsValidator: () => BoostPermissionsValidator,
|
|
96
97
|
BoostQueryValidator: () => BoostQueryValidator,
|
|
@@ -99,10 +100,12 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
99
100
|
ClaimHookQueryValidator: () => ClaimHookQueryValidator,
|
|
100
101
|
ClaimHookTypeValidator: () => ClaimHookTypeValidator,
|
|
101
102
|
ClaimHookValidator: () => ClaimHookValidator,
|
|
103
|
+
ConsentFlowContractDataForDidValidator: () => ConsentFlowContractDataForDidValidator,
|
|
102
104
|
ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
|
|
103
105
|
ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator,
|
|
104
106
|
ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator,
|
|
105
107
|
ConsentFlowContractValidator: () => ConsentFlowContractValidator,
|
|
108
|
+
ConsentFlowDataForDidQueryValidator: () => ConsentFlowDataForDidQueryValidator,
|
|
106
109
|
ConsentFlowDataQueryValidator: () => ConsentFlowDataQueryValidator,
|
|
107
110
|
ConsentFlowTermValidator: () => ConsentFlowTermValidator,
|
|
108
111
|
ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator,
|
|
@@ -112,6 +115,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
112
115
|
ConsentFlowTransactionValidator: () => ConsentFlowTransactionValidator,
|
|
113
116
|
ConsentFlowTransactionsQueryValidator: () => ConsentFlowTransactionsQueryValidator,
|
|
114
117
|
ContextValidator: () => ContextValidator,
|
|
118
|
+
ContractCredentialValidator: () => ContractCredentialValidator,
|
|
115
119
|
CredentialInfoValidator: () => CredentialInfoValidator,
|
|
116
120
|
CredentialRecordValidator: () => CredentialRecordValidator,
|
|
117
121
|
CredentialSchemaValidator: () => CredentialSchemaValidator,
|
|
@@ -155,9 +159,11 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
155
159
|
PaginatedBoostsValidator: () => PaginatedBoostsValidator,
|
|
156
160
|
PaginatedClaimHooksValidator: () => PaginatedClaimHooksValidator,
|
|
157
161
|
PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
|
|
162
|
+
PaginatedConsentFlowDataForDidValidator: () => PaginatedConsentFlowDataForDidValidator,
|
|
158
163
|
PaginatedConsentFlowDataValidator: () => PaginatedConsentFlowDataValidator,
|
|
159
164
|
PaginatedConsentFlowTermsValidator: () => PaginatedConsentFlowTermsValidator,
|
|
160
165
|
PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator,
|
|
166
|
+
PaginatedContractCredentialsValidator: () => PaginatedContractCredentialsValidator,
|
|
161
167
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
|
162
168
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
|
163
169
|
PaginatedLCNProfileManagersValidator: () => PaginatedLCNProfileManagersValidator,
|
|
@@ -4160,6 +4166,13 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4160
4166
|
did: mod.string()
|
|
4161
4167
|
})
|
|
4162
4168
|
});
|
|
4169
|
+
var AutoBoostConfigValidator = mod.object({
|
|
4170
|
+
boostUri: mod.string(),
|
|
4171
|
+
signingAuthority: mod.object({
|
|
4172
|
+
endpoint: mod.string(),
|
|
4173
|
+
name: mod.string()
|
|
4174
|
+
})
|
|
4175
|
+
});
|
|
4163
4176
|
var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
|
|
4164
4177
|
var ConsentFlowContractValidator = mod.object({
|
|
4165
4178
|
read: mod.object({
|
|
@@ -4183,6 +4196,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4183
4196
|
uri: mod.string(),
|
|
4184
4197
|
needsGuardianConsent: mod.boolean().optional(),
|
|
4185
4198
|
redirectUrl: mod.string().optional(),
|
|
4199
|
+
frontDoorBoostUri: mod.string().optional(),
|
|
4186
4200
|
createdAt: mod.string(),
|
|
4187
4201
|
updatedAt: mod.string(),
|
|
4188
4202
|
expiresAt: mod.string().optional()
|
|
@@ -4198,6 +4212,15 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4198
4212
|
var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
|
|
4199
4213
|
records: ConsentFlowContractDataValidator.array()
|
|
4200
4214
|
});
|
|
4215
|
+
var ConsentFlowContractDataForDidValidator = mod.object({
|
|
4216
|
+
credentials: mod.object({ category: mod.string(), uri: mod.string() }).array(),
|
|
4217
|
+
personal: mod.record(mod.string()).default({}),
|
|
4218
|
+
date: mod.string(),
|
|
4219
|
+
contractUri: mod.string()
|
|
4220
|
+
});
|
|
4221
|
+
var PaginatedConsentFlowDataForDidValidator = PaginationResponseValidator.extend({
|
|
4222
|
+
records: ConsentFlowContractDataForDidValidator.array()
|
|
4223
|
+
});
|
|
4201
4224
|
var ConsentFlowTermValidator = mod.object({
|
|
4202
4225
|
sharing: mod.boolean().optional(),
|
|
4203
4226
|
shared: mod.string().array().optional(),
|
|
@@ -4250,6 +4273,11 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4250
4273
|
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
4251
4274
|
personal: mod.record(mod.boolean()).optional()
|
|
4252
4275
|
});
|
|
4276
|
+
var ConsentFlowDataForDidQueryValidator = mod.object({
|
|
4277
|
+
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
4278
|
+
personal: mod.record(mod.boolean()).optional(),
|
|
4279
|
+
id: StringQuery.optional()
|
|
4280
|
+
});
|
|
4253
4281
|
var ConsentFlowTermsQueryValidator = mod.object({
|
|
4254
4282
|
read: mod.object({
|
|
4255
4283
|
anonymize: mod.boolean().optional(),
|
|
@@ -4269,7 +4297,8 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4269
4297
|
"consent",
|
|
4270
4298
|
"update",
|
|
4271
4299
|
"sync",
|
|
4272
|
-
"withdraw"
|
|
4300
|
+
"withdraw",
|
|
4301
|
+
"write"
|
|
4273
4302
|
]);
|
|
4274
4303
|
var ConsentFlowTransactionsQueryValidator = mod.object({
|
|
4275
4304
|
terms: ConsentFlowTermsQueryValidator.optional(),
|
|
@@ -4286,11 +4315,23 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4286
4315
|
terms: ConsentFlowTermsValidator.optional(),
|
|
4287
4316
|
id: mod.string(),
|
|
4288
4317
|
action: ConsentFlowTransactionActionValidator,
|
|
4289
|
-
date: mod.string()
|
|
4318
|
+
date: mod.string(),
|
|
4319
|
+
uris: mod.string().array().optional()
|
|
4290
4320
|
});
|
|
4291
4321
|
var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
|
|
4292
4322
|
records: ConsentFlowTransactionValidator.array()
|
|
4293
4323
|
});
|
|
4324
|
+
var ContractCredentialValidator = mod.object({
|
|
4325
|
+
credentialUri: mod.string(),
|
|
4326
|
+
termsUri: mod.string(),
|
|
4327
|
+
contractUri: mod.string(),
|
|
4328
|
+
boostUri: mod.string(),
|
|
4329
|
+
category: mod.string().optional(),
|
|
4330
|
+
date: mod.string()
|
|
4331
|
+
});
|
|
4332
|
+
var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
|
|
4333
|
+
records: ContractCredentialValidator.array()
|
|
4334
|
+
});
|
|
4294
4335
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
|
4295
4336
|
"CONNECTION_REQUEST",
|
|
4296
4337
|
"CONNECTION_ACCEPTED",
|