@cooperation/vc-storage 1.0.46 → 1.0.48

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/package.json +2 -2
package/CHANGELOG.md ADDED
@@ -0,0 +1,22 @@
1
+ # @cooperation/vc-storage ChangeLog
2
+
3
+ ## 1.0.47 - TBD
4
+
5
+ ### Changed (SkillClaimCredential data model cleanup)
6
+
7
+ - **BREAKING:** `generateUnsignedSkillClaim` and `CredentialEngine.signSkillClaimVC`
8
+ now take a typed `SkillClaimFormDataI` instead of an effectively-`any` payload.
9
+ - Removed `narrative` from emitted skill entries (it duplicated `description`).
10
+ - LLM-extracted skills are now grouped in `credentialSubject.inferredSkill`
11
+ (with `source`, `model`, and `frameworkMatch` provenance) instead of being
12
+ mixed into `credentialSubject.skill` with the user-entered skills; the
13
+ user-entered `skill` entries no longer carry `frameworkMatch`.
14
+ - Defined the `SkillClaimFormDataI` type (previously referenced in JSDoc and
15
+ scripts but never declared), and added `SkillItem`, `InferredSkillItem`, and
16
+ `FrameworkMatchItem` types. `signSkillClaimVC` now uses `SkillClaimFormDataI`
17
+ instead of the mismatched `ISkillClaimCredential`.
18
+ - Fixed `SkillEndorsed.frameworkMatch[].socCode` type: `string` to `string[]`
19
+ (the pipeline emits multiple SOC code matches per skill).
20
+ - Bumped `hr-context` to `^0.2.0`, which defines the `inferredSkill`, `model`,
21
+ `source`, `frameworkMatch`, and `socCode` (`@container: @set`) terms, and
22
+ consumes its `https://w3id.org/hr/v1` context directly (no local patching).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cooperation/vc-storage",
3
3
  "type": "module",
4
- "version": "1.0.46",
4
+ "version": "1.0.48",
5
5
  "description": "Sign and store your verifiable credentials.",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/types/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "crypto-js": "^4.2.0",
33
33
  "crypto-ld": "^7.0.0",
34
34
  "ethers": "^6.13.2",
35
- "hr-context": "^0.1.6",
35
+ "hr-context": "^0.2.0",
36
36
  "jest": "^29.7.0",
37
37
  "multiformats": "^13.3.6",
38
38
  "ts-jest": "^29.2.5",