@valve-tech/tx-tracker 0.0.1 → 0.4.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/package.json +4 -5
package/CHANGELOG.md ADDED
@@ -0,0 +1,59 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@valve-tech/tx-tracker` are documented in
4
+ this file.
5
+
6
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
+ and this project adheres to [Semantic Versioning](https://semver.org/).
8
+
9
+ ## [0.4.0] — 2026-05-04
10
+
11
+ ### Notes
12
+
13
+ - Synchronized release — no changes to this package. Bumped in
14
+ lockstep with the rest of the toolkit, which adds two new packages:
15
+ `@valve-tech/viem-errors` (cause-chain error utilities) and
16
+ `@valve-tech/wallet-adapter` (wallet contract + lifecycle hooks).
17
+ The contract additions in `wallet-adapter` (notably `onDropped` /
18
+ `onReplaced` hooks plus the `WritePhase` discriminated union) are
19
+ designed to be the consumer-facing surface that this tracker fires
20
+ against once its v0.3.x implementation lands.
21
+
22
+ ## [0.3.1] — 2026-05-04
23
+
24
+ > **First fully-synchronized release.** Part of the
25
+ > `valve-tech/evm-toolkit` v0.3.1 synchronized release line. All
26
+ > three packages in the toolkit (`@valve-tech/chain-source`,
27
+ > `@valve-tech/gas-oracle`, `@valve-tech/tx-tracker`) ship in
28
+ > lockstep from this version onwards under a single `vX.Y.Z` tag.
29
+
30
+ ### Notes
31
+
32
+ - v0.3.1 contents are byte-identical to the planned v0.3.0 — still
33
+ a name reservation and minimal scaffold (the `index` exports
34
+ nothing). The actual per-tx state machine (the `TxEvent`
35
+ discriminated union, `TxTrackerStore` interface + in-memory
36
+ default, bulk-subscription matchers, reorg detector, three
37
+ consumption shapes) lands in subsequent 0.3.x releases per the
38
+ design contract in
39
+ [`docs/tx-tracker-spec.md`](https://github.com/valve-tech/evm-toolkit/blob/main/docs/tx-tracker-spec.md).
40
+ - v0.3.0 was tagged but did not publish to npm — the toolkit-wide
41
+ release workflow failed at the gas-oracle publish step (OIDC
42
+ trusted-publisher mismatch from the repo rename) and aborted
43
+ before reaching this package. The publisher record was fixed and
44
+ v0.3.1 re-releases all three packages.
45
+ - `viem ^2.0.0` is the only peer dependency. The dependency on
46
+ `@valve-tech/chain-source` will be declared once the implementation
47
+ actually imports it (subsequent 0.3.x release).
48
+
49
+ ## [0.3.0] — 2026-05-04 — *unpublished; superseded by 0.3.1*
50
+
51
+ > Tagged but never published to npm — the toolkit's release workflow
52
+ > aborted before reaching this package's publish step (see Notes
53
+ > above). Superseded by v0.3.1 which carries identical content.
54
+
55
+ ## [0.0.1] — 2026-05-04 — *initial name-reservation publish*
56
+
57
+ > Manually published from a maintainer's machine during the toolkit
58
+ > rename + first-publish setup. No content — `index` exports nothing.
59
+ > Superseded by the v0.3.x synchronized line.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@valve-tech/tx-tracker",
3
- "version": "0.0.1",
4
- "description": "Per-tx state machine for EVM chains: emits neutral observations (`seen-in-mempool`, `seen-in-block`, `replaced-by`, `vanished-from-block`, `unseen-for-N-blocks`, etc.) so wallet UIs, indexers, and relays can write their own interpretations on top. Three consumption shapes (callback, async iterator, snapshot) over one push-based core. Per-method capability detection — works on HTTP, WS, both, or neither. Implementation lands in v0.1.0this 0.0.1 stub claims the npm name.",
3
+ "version": "0.4.0",
4
+ "description": "Per-tx state machine for EVM chains: emits neutral observations (`seen-in-mempool`, `seen-in-block`, `replaced-by`, `vanished-from-block`, `unseen-for-N-blocks`, etc.) so wallet UIs, indexers, and relays can write their own interpretations on top. Three consumption shapes (callback, async iterator, snapshot) over one push-based core. Per-method capability detection — works on HTTP, WS, both, or neither. Part of the valve-tech/evm-toolkit synchronized release line implementation lands in subsequent 0.3.x releases per docs/tx-tracker-spec.md.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/valve-tech/evm-toolkit/tree/main/packages/tx-tracker#readme",
7
7
  "repository": {
@@ -35,6 +35,7 @@
35
35
  "files": [
36
36
  "dist",
37
37
  "README.md",
38
+ "CHANGELOG.md",
38
39
  "LICENSE"
39
40
  ],
40
41
  "scripts": {
@@ -42,12 +43,10 @@
42
43
  "typecheck": "tsc -p . --noEmit",
43
44
  "lint": "eslint src",
44
45
  "test": "vitest run",
46
+ "test:coverage": "vitest run --coverage",
45
47
  "prepare": "yarn build"
46
48
  },
47
49
  "peerDependencies": {
48
50
  "viem": "^2.0.0"
49
- },
50
- "dependencies": {
51
- "@valve-tech/chain-source": "workspace:^"
52
51
  }
53
52
  }