@learncard/network-brain-client 2.3.24 → 2.3.26
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 +14 -0
- package/dist/brain-client.cjs.development.js +6 -1
- 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 +6 -1
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @learncard/network-brain-client
|
|
2
2
|
|
|
3
|
+
## 2.3.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`00c5403c2932185290ae4e226ca4bf446a1d636c`](https://github.com/learningeconomy/LearnCard/commit/00c5403c2932185290ae4e226ca4bf446a1d636c)]:
|
|
8
|
+
- @learncard/network-brain-service@3.5.20
|
|
9
|
+
|
|
10
|
+
## 2.3.25
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`3707252bea0526aed3c17f0501ec3275e162f6bb`](https://github.com/learningeconomy/LearnCard/commit/3707252bea0526aed3c17f0501ec3275e162f6bb)]:
|
|
15
|
+
- @learncard/network-brain-service@3.5.19
|
|
16
|
+
|
|
3
17
|
## 2.3.24
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -4721,6 +4721,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4721
4721
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
4722
4722
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
4723
4723
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4724
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4724
4725
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4725
4726
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4726
4727
|
});
|
|
@@ -4804,7 +4805,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4804
4805
|
canManageChildrenProfiles: z.boolean(),
|
|
4805
4806
|
canViewAnalytics: z.boolean()
|
|
4806
4807
|
}).partial();
|
|
4807
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
4808
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
4808
4809
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
4809
4810
|
z.object({
|
|
4810
4811
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -4817,6 +4818,10 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4817
4818
|
z.object({
|
|
4818
4819
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
4819
4820
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4821
|
+
}),
|
|
4822
|
+
z.object({
|
|
4823
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
4824
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4820
4825
|
})
|
|
4821
4826
|
]);
|
|
4822
4827
|
var ClaimHookQueryValidator = z.object({
|