@learncard/network-brain-client 2.5.14 → 2.5.16
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 +15 -3
- 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 +2 -2
- package/dist/brain-client.esm.js +15 -3
- 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.5.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`495f2939cb6e4271cab0a88abea5105fb7e4f9b6`](https://github.com/learningeconomy/LearnCard/commit/495f2939cb6e4271cab0a88abea5105fb7e4f9b6), [`08a1c8a07501c2f426d16239c4b0551e518a7ed5`](https://github.com/learningeconomy/LearnCard/commit/08a1c8a07501c2f426d16239c4b0551e518a7ed5), [`f82707268adc17496b70cbcda5acb3d9750d8849`](https://github.com/learningeconomy/LearnCard/commit/f82707268adc17496b70cbcda5acb3d9750d8849), [`370d75b1f7095aade140bf63cc71f7168be3ba7b`](https://github.com/learningeconomy/LearnCard/commit/370d75b1f7095aade140bf63cc71f7168be3ba7b)]:
|
|
8
|
+
- @learncard/network-brain-service@3.12.0
|
|
9
|
+
|
|
10
|
+
## 2.5.15
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`f5a9c0bdd87a073f3e9ac575538cdbdcaa48e58e`](https://github.com/learningeconomy/LearnCard/commit/f5a9c0bdd87a073f3e9ac575538cdbdcaa48e58e), [`caf231b53707174ea49f0eb2b65885a36b3e7228`](https://github.com/learningeconomy/LearnCard/commit/caf231b53707174ea49f0eb2b65885a36b3e7228)]:
|
|
15
|
+
- @learncard/network-brain-service@3.11.3
|
|
16
|
+
|
|
3
17
|
## 2.5.14
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -14644,6 +14644,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14644
14644
|
});
|
|
14645
14645
|
var BoostPermissionsValidator = external_exports.object({
|
|
14646
14646
|
role: external_exports.string(),
|
|
14647
|
+
canView: external_exports.boolean().default(true),
|
|
14647
14648
|
canEdit: external_exports.boolean(),
|
|
14648
14649
|
canIssue: external_exports.boolean(),
|
|
14649
14650
|
canRevoke: external_exports.boolean(),
|
|
@@ -14658,6 +14659,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14658
14659
|
});
|
|
14659
14660
|
var BoostPermissionsQueryValidator = external_exports.object({
|
|
14660
14661
|
role: StringQuery,
|
|
14662
|
+
canView: external_exports.boolean(),
|
|
14661
14663
|
canEdit: external_exports.boolean(),
|
|
14662
14664
|
canIssue: external_exports.boolean(),
|
|
14663
14665
|
canRevoke: external_exports.boolean(),
|
|
@@ -14783,7 +14785,13 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
14783
14785
|
var SendBoostTemplateValidator = BoostValidator.partial().omit({ uri: true, claimPermissions: true }).extend({
|
|
14784
14786
|
credential: VCValidator.or(UnsignedVCValidator),
|
|
14785
14787
|
claimPermissions: BoostPermissionsValidator.partial().optional(),
|
|
14786
|
-
skills: external_exports.array(
|
|
14788
|
+
skills: external_exports.array(
|
|
14789
|
+
external_exports.object({
|
|
14790
|
+
frameworkId: external_exports.string(),
|
|
14791
|
+
id: external_exports.string(),
|
|
14792
|
+
proficiencyLevel: external_exports.number().optional()
|
|
14793
|
+
})
|
|
14794
|
+
).min(1).optional()
|
|
14787
14795
|
});
|
|
14788
14796
|
var SendBrandingOptionsValidator = external_exports.object({
|
|
14789
14797
|
issuerName: external_exports.string().optional().describe("Name of the issuing organization"),
|
|
@@ -15402,6 +15410,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15402
15410
|
description: external_exports.string().optional(),
|
|
15403
15411
|
image: external_exports.string().optional(),
|
|
15404
15412
|
sourceURI: external_exports.string().url().optional(),
|
|
15413
|
+
isPublic: external_exports.boolean().default(false),
|
|
15405
15414
|
status: SkillFrameworkStatusEnum.default("active"),
|
|
15406
15415
|
createdAt: external_exports.string().optional(),
|
|
15407
15416
|
updatedAt: external_exports.string().optional()
|
|
@@ -15440,6 +15449,7 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15440
15449
|
description: external_exports.string().optional(),
|
|
15441
15450
|
image: external_exports.string().optional(),
|
|
15442
15451
|
sourceURI: external_exports.string().url().optional(),
|
|
15452
|
+
isPublic: external_exports.boolean().optional(),
|
|
15443
15453
|
status: SkillFrameworkStatusEnum.optional(),
|
|
15444
15454
|
skills: external_exports.array(SkillTreeNodeInputValidator).optional(),
|
|
15445
15455
|
boostUris: external_exports.array(external_exports.string()).optional()
|
|
@@ -15450,9 +15460,10 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15450
15460
|
description: external_exports.string().optional(),
|
|
15451
15461
|
image: external_exports.string().optional(),
|
|
15452
15462
|
sourceURI: external_exports.string().url().optional(),
|
|
15463
|
+
isPublic: external_exports.boolean().optional(),
|
|
15453
15464
|
status: SkillFrameworkStatusEnum.optional()
|
|
15454
15465
|
}).refine(
|
|
15455
|
-
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.status !== void 0,
|
|
15466
|
+
(data) => data.name !== void 0 || data.description !== void 0 || data.image !== void 0 || data.sourceURI !== void 0 || data.isPublic !== void 0 || data.status !== void 0,
|
|
15456
15467
|
{
|
|
15457
15468
|
message: "At least one field must be provided to update",
|
|
15458
15469
|
path: ["name"]
|
|
@@ -15632,7 +15643,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
15632
15643
|
"claim",
|
|
15633
15644
|
"inbox",
|
|
15634
15645
|
"claimLink",
|
|
15635
|
-
"acceptCredential"
|
|
15646
|
+
"acceptCredential",
|
|
15647
|
+
"appEvent"
|
|
15636
15648
|
]);
|
|
15637
15649
|
var CredentialActivityValidator = external_exports.object({
|
|
15638
15650
|
id: external_exports.string(),
|