@rotorsoft/act-tck 1.41.4 → 2.1.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/README.md +3 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/@types/fixtures/helpers.d.ts.map +1 -1
- package/dist/@types/store-differential-tck.d.ts.map +1 -1
- package/dist/@types/store-property-tck.d.ts.map +1 -1
- package/dist/@types/store-tck.d.ts +2 -2
- package/dist/@types/store-tck.d.ts.map +1 -1
- package/dist/index.cjs +935 -419
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +936 -420
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -56,6 +56,7 @@ That's the whole integration. `run*Tck` calls vitest's `describe`/`it` internall
|
|
|
56
56
|
Every method on the `Store` interface in [`libs/act/src/types/ports.ts`](https://github.com/Rotorsoft/act-root/blob/master/libs/act/src/types/ports.ts):
|
|
57
57
|
|
|
58
58
|
- `commit` — single + multi-event commits, optimistic concurrency, preserved state on rejection
|
|
59
|
+
- `commit across streams` — every append lands whole or none do, a stale append anywhere refuses the commit and names its stream, the loser of a race leaves nothing on any of its streams
|
|
59
60
|
- `query` — stream, names, correlation, before/after, created_after/before, limit, with_snaps, stream_exact, backward traversal
|
|
60
61
|
- `subscribe` — idempotent re-subscribe
|
|
61
62
|
- `claim` / `ack` — lease lifecycle, dual frontiers, leased streams not double-claimed, ack rejected from wrong holder, exact-source fetch, timed-out-lease retry accounting
|
|
@@ -65,7 +66,7 @@ Every method on the `Store` interface in [`libs/act/src/types/ports.ts`](https:/
|
|
|
65
66
|
- `truncate` — snapshot vs tombstone seeding, empty inputs, missing streams
|
|
66
67
|
- `query_streams` — filters, exact-match, pagination, blocked
|
|
67
68
|
- `query_stats` — array + filter forms, opt-in count/tail/names, exclude + before, snapshot count via `names`
|
|
68
|
-
- `notify` (capability-gated) — cross-instance delivery, self-filtering (an instance never receives its own commits), one notification per commit
|
|
69
|
+
- `notify` (capability-gated) — cross-instance delivery, self-filtering (an instance never receives its own commits), one notification per stream a commit appends to, with that stream's events; requires the `factory` to produce instances sharing one backing store
|
|
69
70
|
|
|
70
71
|
### `runStoreDifferentialTck`
|
|
71
72
|
|
|
@@ -181,7 +182,7 @@ New / changed methods on `Store`, `Cache`, or `Logger` are added to `libs/act-tc
|
|
|
181
182
|
|
|
182
183
|
## Compatibility
|
|
183
184
|
|
|
184
|
-
- **Node**: >=22.23.
|
|
185
|
+
- **Node**: >=22.23.4
|
|
185
186
|
- **Peer**: `@rotorsoft/act`, `vitest`, `zod` and `@fast-check/vitest`; the ranges are in [`package.json`](./package.json) `peerDependencies`
|
|
186
187
|
- **Runtime deps**: none — pure test code
|
|
187
188
|
|