@valve-tech/chain-source 0.3.0 → 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 +42 -9
  2. package/package.json +2 -1
package/CHANGELOG.md CHANGED
@@ -6,13 +6,47 @@ this file.
6
6
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
7
7
  and this project adheres to [Semantic Versioning](https://semver.org/).
8
8
 
9
- ## [0.3.0] — 2026-05-04
9
+ ## [0.4.0] — 2026-05-04
10
10
 
11
- > **First release.** Part of the `valve-tech/evm-toolkit` v0.3.0
12
- > synchronized release line. All three packages in the toolkit
13
- > (`@valve-tech/chain-source`, `@valve-tech/gas-oracle`,
14
- > `@valve-tech/tx-tracker`) ship in lockstep from this version
15
- > onwards under a single `vX.Y.Z` tag.
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` and `@valve-tech/wallet-adapter`). The
16
+ v0.3.x ChainSource implementation track is unaffected by this
17
+ release and remains in flight under PR #12; it will land in a
18
+ subsequent version.
19
+
20
+ ## [0.3.1] — 2026-05-04
21
+
22
+ > **First fully-synchronized release.** v0.3.0 was a partial publish:
23
+ > `@valve-tech/chain-source@0.3.0` made it onto npm, but the
24
+ > simultaneous `@valve-tech/gas-oracle@0.3.0` publish failed with an
25
+ > OIDC trusted-publisher mismatch (the gas-oracle record was pinned
26
+ > to the pre-rename `valve-tech/gas-oracle` repo, not the renamed
27
+ > `valve-tech/evm-toolkit`). The trusted-publisher record was fixed
28
+ > and v0.3.1 re-publishes all three packages at the same version to
29
+ > restore synced state.
30
+
31
+ ### Notes
32
+
33
+ - No functional change vs. v0.3.0. This package's contents are
34
+ byte-identical (still an `export {}` stub for the v0.3.x
35
+ implementation roadmap).
36
+ - Use v0.3.1 over v0.3.0 — they're identical in this package, but
37
+ v0.3.1 is the version where every toolkit package ships at the
38
+ same number.
39
+
40
+ ## [0.3.0] — 2026-05-04 — *partially published; superseded by 0.3.1*
41
+
42
+ > Published successfully here, but the simultaneous publishes for
43
+ > `@valve-tech/gas-oracle` and `@valve-tech/tx-tracker` did not land
44
+ > (npm OIDC trusted-publisher mismatch on gas-oracle, which then
45
+ > aborted the workflow before tx-tracker). All three packages were
46
+ > re-released as v0.3.1 to restore synced state.
47
+ >
48
+ > The v0.3.0 tarball remains on npm and is byte-identical to v0.3.1
49
+ > for this package.
16
50
 
17
51
  ### Added
18
52
 
@@ -27,9 +61,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/).
27
61
 
28
62
  ### Notes
29
63
 
64
+ - First release of this package. No published predecessor on npm.
30
65
  - The version starts at `0.3.0` rather than `0.1.0` because the
31
66
  toolkit converted to synchronized versioning at this release — all
32
- three packages share the same version going forward. This package
33
- has no published predecessor on npm; consumers can treat `0.3.0`
34
- as the initial release.
67
+ three packages share the same version going forward.
35
68
  - `viem ^2.0.0` is the only peer dependency. No runtime deps.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valve-tech/chain-source",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Canonical EVM chain-observation primitive: a unified push-or-poll source for new blocks, mempool snapshots, on-demand receipt + tx lookups, and capability disclosure (HTTP / WS / per-method gating). Used as the shared foundation by @valve-tech/gas-oracle and @valve-tech/tx-tracker; consumable directly by anyone building their own derived view on chain state. viem-native. 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/chain-source#readme",
@@ -41,6 +41,7 @@
41
41
  "typecheck": "tsc -p . --noEmit",
42
42
  "lint": "eslint src",
43
43
  "test": "vitest run",
44
+ "test:coverage": "vitest run --coverage",
44
45
  "prepare": "yarn build"
45
46
  },
46
47
  "peerDependencies": {