@learncard/network-brain-client 2.2.31 → 2.2.33
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/LICENSE +1 -5
- package/dist/brain-client.cjs.development.js +16 -16
- 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 +16 -16
- 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.2.33
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies []:
|
|
8
|
+
- @learncard/network-brain-service@3.3.32
|
|
9
|
+
|
|
10
|
+
## 2.2.32
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`b04788beded98db2fb3827c94e0810943b7f698a`](https://github.com/learningeconomy/LearnCard/commit/b04788beded98db2fb3827c94e0810943b7f698a)]:
|
|
15
|
+
- @learncard/network-brain-service@3.3.31
|
|
16
|
+
|
|
3
17
|
## 2.2.31
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2025 Learning Economy Foundation <sdk@learningeconomy.io>
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -19,7 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
-
Footer
|
|
23
|
-
© 2024 GitHub, Inc.
|
|
24
|
-
Footer navigation
|
|
25
|
-
Terms
|
|
@@ -4013,22 +4013,22 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4013
4013
|
repeatIdBackgroundImage: mod.boolean().optional()
|
|
4014
4014
|
});
|
|
4015
4015
|
var LCNProfileValidator = mod.object({
|
|
4016
|
-
profileId: mod.string().min(3).max(40),
|
|
4017
|
-
displayName: mod.string().default(""),
|
|
4018
|
-
shortBio: mod.string().default(""),
|
|
4019
|
-
bio: mod.string().default(""),
|
|
4020
|
-
did: mod.string(),
|
|
4021
|
-
isPrivate: mod.boolean().optional(),
|
|
4022
|
-
email: mod.string().optional(),
|
|
4023
|
-
image: mod.string().optional(),
|
|
4024
|
-
heroImage: mod.string().optional(),
|
|
4025
|
-
websiteLink: mod.string().optional(),
|
|
4026
|
-
isServiceProfile: mod.boolean().default(false).optional(),
|
|
4027
|
-
type: mod.string().optional(),
|
|
4028
|
-
notificationsWebhook: mod.string().url().startsWith("http").optional(),
|
|
4029
|
-
display: LCNProfileDisplayValidator.optional(),
|
|
4030
|
-
role: mod.string().default("").optional(),
|
|
4031
|
-
dob: mod.string().default("").optional()
|
|
4016
|
+
profileId: mod.string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
4017
|
+
displayName: mod.string().default("").describe("Human-readable display name for the profile."),
|
|
4018
|
+
shortBio: mod.string().default("").describe("Short bio for the profile."),
|
|
4019
|
+
bio: mod.string().default("").describe("Longer bio for the profile."),
|
|
4020
|
+
did: mod.string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
4021
|
+
isPrivate: mod.boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
4022
|
+
email: mod.string().optional().describe("Contact email address for the profile."),
|
|
4023
|
+
image: mod.string().optional().describe("Profile image URL for the profile."),
|
|
4024
|
+
heroImage: mod.string().optional().describe("Hero image URL for the profile."),
|
|
4025
|
+
websiteLink: mod.string().optional().describe("Website link for the profile."),
|
|
4026
|
+
isServiceProfile: mod.boolean().default(false).optional().describe("Whether the profile is a service profile or not."),
|
|
4027
|
+
type: mod.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
4028
|
+
notificationsWebhook: mod.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
4029
|
+
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4030
|
+
role: mod.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4031
|
+
dob: mod.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4032
4032
|
});
|
|
4033
4033
|
var LCNProfileQueryValidator = mod.object({
|
|
4034
4034
|
profileId: StringQuery,
|