@learncard/network-brain-client 2.2.0 → 2.2.1
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 +31 -0
- 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 +31 -0
- 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.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`611e911f6f1388e5d34bc893c53aef36d28ae65e`](https://github.com/learningeconomy/LearnCard/commit/611e911f6f1388e5d34bc893c53aef36d28ae65e), [`611e911f6f1388e5d34bc893c53aef36d28ae65e`](https://github.com/learningeconomy/LearnCard/commit/611e911f6f1388e5d34bc893c53aef36d28ae65e)]:
|
|
8
|
+
- @learncard/network-brain-service@3.3.0
|
|
9
|
+
|
|
3
10
|
## 2.2.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -139,6 +139,8 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
139
139
|
LCNNotificationValidator: () => LCNNotificationValidator,
|
|
140
140
|
LCNProfileConnectionStatusEnum: () => LCNProfileConnectionStatusEnum,
|
|
141
141
|
LCNProfileDisplayValidator: () => LCNProfileDisplayValidator,
|
|
142
|
+
LCNProfileManagerQueryValidator: () => LCNProfileManagerQueryValidator,
|
|
143
|
+
LCNProfileManagerValidator: () => LCNProfileManagerValidator,
|
|
142
144
|
LCNProfileQueryValidator: () => LCNProfileQueryValidator,
|
|
143
145
|
LCNProfileValidator: () => LCNProfileValidator,
|
|
144
146
|
LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
|
|
@@ -151,6 +153,8 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
151
153
|
PaginatedConsentFlowTransactionsValidator: () => PaginatedConsentFlowTransactionsValidator,
|
|
152
154
|
PaginatedEncryptedCredentialRecordsValidator: () => PaginatedEncryptedCredentialRecordsValidator,
|
|
153
155
|
PaginatedEncryptedRecordsValidator: () => PaginatedEncryptedRecordsValidator,
|
|
156
|
+
PaginatedLCNProfileManagersValidator: () => PaginatedLCNProfileManagersValidator,
|
|
157
|
+
PaginatedLCNProfilesAndManagersValidator: () => PaginatedLCNProfilesAndManagersValidator,
|
|
154
158
|
PaginatedLCNProfilesValidator: () => PaginatedLCNProfilesValidator,
|
|
155
159
|
PaginationOptionsValidator: () => PaginationOptionsValidator,
|
|
156
160
|
PaginationResponseValidator: () => PaginationResponseValidator,
|
|
@@ -4006,6 +4010,32 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4006
4010
|
"PENDING_REQUEST_RECEIVED",
|
|
4007
4011
|
"NOT_CONNECTED"
|
|
4008
4012
|
]);
|
|
4013
|
+
var LCNProfileManagerValidator = mod.object({
|
|
4014
|
+
id: mod.string(),
|
|
4015
|
+
created: mod.string(),
|
|
4016
|
+
displayName: mod.string().default("").optional(),
|
|
4017
|
+
shortBio: mod.string().default("").optional(),
|
|
4018
|
+
bio: mod.string().default("").optional(),
|
|
4019
|
+
email: mod.string().optional(),
|
|
4020
|
+
image: mod.string().optional(),
|
|
4021
|
+
heroImage: mod.string().optional()
|
|
4022
|
+
});
|
|
4023
|
+
var PaginatedLCNProfileManagersValidator = PaginationResponseValidator.extend({
|
|
4024
|
+
records: LCNProfileManagerValidator.extend({ did: mod.string() }).array()
|
|
4025
|
+
});
|
|
4026
|
+
var LCNProfileManagerQueryValidator = mod.object({
|
|
4027
|
+
id: StringQuery,
|
|
4028
|
+
displayName: StringQuery,
|
|
4029
|
+
shortBio: StringQuery,
|
|
4030
|
+
bio: StringQuery,
|
|
4031
|
+
email: StringQuery
|
|
4032
|
+
}).partial();
|
|
4033
|
+
var PaginatedLCNProfilesAndManagersValidator = PaginationResponseValidator.extend({
|
|
4034
|
+
records: mod.object({
|
|
4035
|
+
profile: LCNProfileValidator,
|
|
4036
|
+
manager: LCNProfileManagerValidator.extend({ did: mod.string() }).optional()
|
|
4037
|
+
}).array()
|
|
4038
|
+
});
|
|
4009
4039
|
var SentCredentialInfoValidator = mod.object({
|
|
4010
4040
|
uri: mod.string(),
|
|
4011
4041
|
to: mod.string(),
|
|
@@ -4024,6 +4054,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4024
4054
|
canEditChildren: mod.string(),
|
|
4025
4055
|
canRevokeChildren: mod.string(),
|
|
4026
4056
|
canManageChildrenPermissions: mod.string(),
|
|
4057
|
+
canManageChildrenProfiles: mod.boolean().default(false).optional(),
|
|
4027
4058
|
canViewAnalytics: mod.boolean()
|
|
4028
4059
|
});
|
|
4029
4060
|
var LCNBoostStatus = mod.enum(["DRAFT", "LIVE"]);
|