@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/dist/brain-client.esm.js
CHANGED
|
@@ -86,6 +86,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
86
86
|
AddressValidator: () => AddressValidator,
|
|
87
87
|
AlignmentTargetTypeValidator: () => AlignmentTargetTypeValidator,
|
|
88
88
|
AlignmentValidator: () => AlignmentValidator,
|
|
89
|
+
AutoBoostConfigValidator: () => AutoBoostConfigValidator,
|
|
89
90
|
BoostPermissionsQueryValidator: () => BoostPermissionsQueryValidator,
|
|
90
91
|
BoostPermissionsValidator: () => BoostPermissionsValidator,
|
|
91
92
|
BoostQueryValidator: () => BoostQueryValidator,
|
|
@@ -94,10 +95,12 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
94
95
|
ClaimHookQueryValidator: () => ClaimHookQueryValidator,
|
|
95
96
|
ClaimHookTypeValidator: () => ClaimHookTypeValidator,
|
|
96
97
|
ClaimHookValidator: () => ClaimHookValidator,
|
|
98
|
+
ConsentFlowContractDataForDidValidator: () => ConsentFlowContractDataForDidValidator,
|
|
97
99
|
ConsentFlowContractDataValidator: () => ConsentFlowContractDataValidator,
|
|
98
100
|
ConsentFlowContractDetailsValidator: () => ConsentFlowContractDetailsValidator,
|
|
99
101
|
ConsentFlowContractQueryValidator: () => ConsentFlowContractQueryValidator,
|
|
100
102
|
ConsentFlowContractValidator: () => ConsentFlowContractValidator,
|
|
103
|
+
ConsentFlowDataForDidQueryValidator: () => ConsentFlowDataForDidQueryValidator,
|
|
101
104
|
ConsentFlowDataQueryValidator: () => ConsentFlowDataQueryValidator,
|
|
102
105
|
ConsentFlowTermValidator: () => ConsentFlowTermValidator,
|
|
103
106
|
ConsentFlowTermsQueryValidator: () => ConsentFlowTermsQueryValidator,
|
|
@@ -107,6 +110,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
107
110
|
ConsentFlowTransactionValidator: () => ConsentFlowTransactionValidator,
|
|
108
111
|
ConsentFlowTransactionsQueryValidator: () => ConsentFlowTransactionsQueryValidator,
|
|
109
112
|
ContextValidator: () => ContextValidator,
|
|
113
|
+
ContractCredentialValidator: () => ContractCredentialValidator,
|
|
110
114
|
CredentialInfoValidator: () => CredentialInfoValidator,
|
|
111
115
|
CredentialRecordValidator: () => CredentialRecordValidator,
|
|
112
116
|
CredentialSchemaValidator: () => CredentialSchemaValidator,
|
|
@@ -150,9 +154,11 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
150
154
|
PaginatedBoostsValidator: () => PaginatedBoostsValidator,
|
|
151
155
|
PaginatedClaimHooksValidator: () => PaginatedClaimHooksValidator,
|
|
152
156
|
PaginatedConsentFlowContractsValidator: () => PaginatedConsentFlowContractsValidator,
|
|
157
|
+
PaginatedConsentFlowDataForDidValidator: () => PaginatedConsentFlowDataForDidValidator,
|
|
153
158
|
PaginatedConsentFlowDataValidator: () => PaginatedConsentFlowDataValidator,
|
|
154
159
|
PaginatedConsentFlowTermsValidator: () => PaginatedConsentFlowTermsValidator,
|
|
155
160
|
PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator,
|
|
161
|
+
PaginatedContractCredentialsValidator: () => PaginatedContractCredentialsValidator,
|
|
156
162
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
|
157
163
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
|
158
164
|
PaginatedLCNProfileManagersValidator: () => PaginatedLCNProfileManagersValidator,
|
|
@@ -4155,6 +4161,13 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4155
4161
|
did: mod.string()
|
|
4156
4162
|
})
|
|
4157
4163
|
});
|
|
4164
|
+
var AutoBoostConfigValidator = mod.object({
|
|
4165
|
+
boostUri: mod.string(),
|
|
4166
|
+
signingAuthority: mod.object({
|
|
4167
|
+
endpoint: mod.string(),
|
|
4168
|
+
name: mod.string()
|
|
4169
|
+
})
|
|
4170
|
+
});
|
|
4158
4171
|
var ConsentFlowTermsStatusValidator = mod.enum(["live", "stale", "withdrawn"]);
|
|
4159
4172
|
var ConsentFlowContractValidator = mod.object({
|
|
4160
4173
|
read: mod.object({
|
|
@@ -4178,6 +4191,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4178
4191
|
uri: mod.string(),
|
|
4179
4192
|
needsGuardianConsent: mod.boolean().optional(),
|
|
4180
4193
|
redirectUrl: mod.string().optional(),
|
|
4194
|
+
frontDoorBoostUri: mod.string().optional(),
|
|
4181
4195
|
createdAt: mod.string(),
|
|
4182
4196
|
updatedAt: mod.string(),
|
|
4183
4197
|
expiresAt: mod.string().optional()
|
|
@@ -4193,6 +4207,15 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4193
4207
|
var PaginatedConsentFlowDataValidator = PaginationResponseValidator.extend({
|
|
4194
4208
|
records: ConsentFlowContractDataValidator.array()
|
|
4195
4209
|
});
|
|
4210
|
+
var ConsentFlowContractDataForDidValidator = mod.object({
|
|
4211
|
+
credentials: mod.object({ category: mod.string(), uri: mod.string() }).array(),
|
|
4212
|
+
personal: mod.record(mod.string()).default({}),
|
|
4213
|
+
date: mod.string(),
|
|
4214
|
+
contractUri: mod.string()
|
|
4215
|
+
});
|
|
4216
|
+
var PaginatedConsentFlowDataForDidValidator = PaginationResponseValidator.extend({
|
|
4217
|
+
records: ConsentFlowContractDataForDidValidator.array()
|
|
4218
|
+
});
|
|
4196
4219
|
var ConsentFlowTermValidator = mod.object({
|
|
4197
4220
|
sharing: mod.boolean().optional(),
|
|
4198
4221
|
shared: mod.string().array().optional(),
|
|
@@ -4245,6 +4268,11 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4245
4268
|
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
4246
4269
|
personal: mod.record(mod.boolean()).optional()
|
|
4247
4270
|
});
|
|
4271
|
+
var ConsentFlowDataForDidQueryValidator = mod.object({
|
|
4272
|
+
credentials: mod.object({ categories: mod.record(mod.boolean()).optional() }).optional(),
|
|
4273
|
+
personal: mod.record(mod.boolean()).optional(),
|
|
4274
|
+
id: StringQuery.optional()
|
|
4275
|
+
});
|
|
4248
4276
|
var ConsentFlowTermsQueryValidator = mod.object({
|
|
4249
4277
|
read: mod.object({
|
|
4250
4278
|
anonymize: mod.boolean().optional(),
|
|
@@ -4264,7 +4292,8 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4264
4292
|
"consent",
|
|
4265
4293
|
"update",
|
|
4266
4294
|
"sync",
|
|
4267
|
-
"withdraw"
|
|
4295
|
+
"withdraw",
|
|
4296
|
+
"write"
|
|
4268
4297
|
]);
|
|
4269
4298
|
var ConsentFlowTransactionsQueryValidator = mod.object({
|
|
4270
4299
|
terms: ConsentFlowTermsQueryValidator.optional(),
|
|
@@ -4281,11 +4310,23 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4281
4310
|
terms: ConsentFlowTermsValidator.optional(),
|
|
4282
4311
|
id: mod.string(),
|
|
4283
4312
|
action: ConsentFlowTransactionActionValidator,
|
|
4284
|
-
date: mod.string()
|
|
4313
|
+
date: mod.string(),
|
|
4314
|
+
uris: mod.string().array().optional()
|
|
4285
4315
|
});
|
|
4286
4316
|
var PaginatedConsentFlowTransactionsValidator = PaginationResponseValidator.extend({
|
|
4287
4317
|
records: ConsentFlowTransactionValidator.array()
|
|
4288
4318
|
});
|
|
4319
|
+
var ContractCredentialValidator = mod.object({
|
|
4320
|
+
credentialUri: mod.string(),
|
|
4321
|
+
termsUri: mod.string(),
|
|
4322
|
+
contractUri: mod.string(),
|
|
4323
|
+
boostUri: mod.string(),
|
|
4324
|
+
category: mod.string().optional(),
|
|
4325
|
+
date: mod.string()
|
|
4326
|
+
});
|
|
4327
|
+
var PaginatedContractCredentialsValidator = PaginationResponseValidator.extend({
|
|
4328
|
+
records: ContractCredentialValidator.array()
|
|
4329
|
+
});
|
|
4289
4330
|
var LCNNotificationTypeEnumValidator = mod.enum([
|
|
4290
4331
|
"CONNECTION_REQUEST",
|
|
4291
4332
|
"CONNECTION_ACCEPTED",
|