@midnight-ntwrk/credential-model 0.3.0-rc1 → 0.3.0

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 CHANGED
@@ -4,6 +4,12 @@ All notable changes to this package are documented in this file.
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ ## 0.3.0 - 2026-10-01
8
+
9
+ - Add normative credential-family validation vectors and execute them through
10
+ the package's public assertion API and clean packed consumer.
11
+ - Keep the repository's pnpm requirement development-only so published model
12
+ consumers are not coupled to this monorepo's package manager.
7
13
  - Advance the package manifest to the `0.3.0` release base.
8
14
 
9
15
  ## 0.2.0 - 2026-09-25
package/README.md CHANGED
@@ -11,15 +11,20 @@ deployment, proof artifacts, or encoding.
11
11
  ## Install
12
12
 
13
13
  ```bash
14
- pnpm add -E @midnight-ntwrk/credential-model@latest
14
+ pnpm add -E @midnight-ntwrk/credential-model@0.2.0
15
15
  ```
16
16
 
17
- `-E` records the version currently selected by `latest` as an exact dependency.
18
- The release line is pre-1.0, so keep that resolved version pinned when a
19
- credential-family repository requires reproducible builds. Use the `rc`
20
- dist-tag only after `npm view @midnight-ntwrk/credential-model dist-tags --json`
21
- confirms that it identifies the exact prerelease you intend to evaluate; the
22
- moving tag may be older or newer than `latest`.
17
+ `0.2.0` is the current stable release. The release line is pre-1.0, so keep the
18
+ resolved version pinned when a credential-family repository requires
19
+ reproducible builds. To evaluate the current 0.3 release candidate explicitly:
20
+
21
+ ```bash
22
+ pnpm add -E @midnight-ntwrk/credential-model@0.3.0-rc1
23
+ ```
24
+
25
+ Before adopting an RC, confirm the moving tag still names that immutable
26
+ version with
27
+ `npm view @midnight-ntwrk/credential-model dist-tags --json`.
23
28
 
24
29
  ## Public API
25
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midnight-ntwrk/credential-model",
3
- "version": "0.3.0-rc1",
3
+ "version": "0.3.0",
4
4
  "description": "Protocol-neutral credential-family contracts for Midnight verifiable credentials",
5
5
  "license": "Apache-2.0",
6
6
  "private": false,
@@ -24,8 +24,7 @@
24
24
  "registry": "https://registry.npmjs.org/"
25
25
  },
26
26
  "engines": {
27
- "node": ">=24",
28
- "pnpm": ">=10.34.5"
27
+ "node": ">=24"
29
28
  },
30
29
  "main": "dist/index.js",
31
30
  "module": "dist/index.js",
@@ -46,6 +45,7 @@
46
45
  "scripts": {
47
46
  "build": "rm -rf dist .cache && tsc -b tsconfig.build.json --force",
48
47
  "test": "vitest run",
48
+ "test:conformance": "vitest run src/test/conformance.test.ts",
49
49
  "typecheck": "tsc -p tsconfig.json --noEmit",
50
50
  "lint": "eslint \"src/**/*.ts\"",
51
51
  "lint:fix": "eslint \"src/**/*.ts\" --fix",