@indexnetwork/protocol 14.2.1-rc.472.1 → 14.2.2-rc.473.1

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 +45 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -20,6 +20,51 @@ went 6.7.1 → 8.0.2 with no 7.x in between because the whole 7.x line shipped a
20
20
  prereleases between the two promotions. To track every change, read `rc`; to
21
21
  pin a supported release, use `latest`.
22
22
 
23
+ ## 14.2.2 - 2026-08-16
24
+
25
+ No public API change: all 443 exported symbols are byte-identical to 14.2.1.
26
+ Test layout only; no test changed meaning.
27
+
28
+ ### Changed
29
+
30
+ - One `tests/` directory per capability. Six directories nested a level deeper
31
+ (`intents/application/tests`, `opportunities/{discriminator,outcome,negotiation-evidence}/tests`,
32
+ `questions/{domain,ports}/tests`) merged into their capability's own, taking
33
+ the nested count from 13 to 7 and the total from 27 to 21.
34
+
35
+ The seven that remain are all under `shared/`, which has no capability root —
36
+ merging them would produce a single 40-file directory mixing model config,
37
+ HyDE, schemas, and observability. One `tests/` per shared module is the
38
+ consistent reading of the same rule there.
39
+
40
+ - Moved the two specs that sat outside any `tests/` directory
41
+ (`opportunities/delivery-card.cache.spec.ts`, `shared/agent/model-signal.spec.ts`)
42
+ into their module's `tests/`.
43
+
44
+ - Renamed the four `.test.ts` files to `.spec.ts`, against 211 already using
45
+ that suffix. The runner still discovers both, so this is convention only.
46
+
47
+ ### Removed
48
+
49
+ - All 12 test `tsconfig.json` files. They were **not** load-bearing: 9 of the 21
50
+ `tests/` directories never had one, and the build, the isolated test runner,
51
+ and `tsc` all pass without them — the build excludes tests by both
52
+ `**/tests/**` and `**/*.spec.ts`, and Bun does not read them.
53
+
54
+ `networks/tests/tsconfig.json` had been extending `../../tsconfig.json`, which
55
+ resolves to `src/tsconfig.json` and does not exist — `tsc` reports TS5083 and
56
+ silently falls back to defaults, dropping `esModuleInterop`. It had been
57
+ broken with nothing to notice.
58
+
59
+ ### Note
60
+
61
+ Colocating every spec beside its subject was considered and rejected on
62
+ evidence: only 155 of 215 specs (72%) name a single source module. The other 60
63
+ are cross-module behaviour tests — `negotiation.continuation.spec.ts`,
64
+ `introducer-gating-lifecycle.spec.ts`, `negotiation.seat-rules.spec.ts` — and
65
+ filing those next to one arbitrary module they partly exercise would be worse
66
+ than leaving them grouped.
67
+
23
68
  ## 14.2.1 - 2026-08-16
24
69
 
25
70
  No public API change: all 443 exported symbols are byte-identical to 14.2.0.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indexnetwork/protocol",
3
- "version": "14.2.1-rc.472.1",
3
+ "version": "14.2.2-rc.473.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",