Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/witness-validator-read-types.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@viz-cx/api": patch
---

Fix read-path types for the viz-cpp-node witness→validator migration. The
site API now emits `current_validator` (was `current_witness`) on `GET /`,
and `validators_voted_for` / `validator_votes` (were `witnesses_voted_for` /
`witness_votes`) on `GET /profile/{user}`. The new field names are now the
primary types; the old names are retained as `@deprecated` aliases for
consumers still reading from older nodes.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with: { version: 10.34.4 }
- uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22
cache: pnpm
- name: Upgrade npm for OIDC Trusted Publisher support
run: npm install -g npm@latest
Expand Down