Skip to content

chore(deps): bump @zkp2p/sdk to 0.17.0 - #52

Open
ADWilkinson wants to merge 1 commit into
mainfrom
oneshot/bump-sdk-0.17.0
Open

ADWilkinson wants to merge 1 commit into
mainfrom
oneshot/bump-sdk-0.17.0

Conversation

@ADWilkinson

Copy link
Copy Markdown
Collaborator

Absorbs the @zkp2p/sdk 0.17.0 release on npm latest (published 2026-11-25). The pin moves from 0.16.0 to 0.17.0. package.json and package-lock.json carry the bump, and the README line naming the SDK version the Cash tools run on now says 0.17.0. The lockfile changes only the @zkp2p/sdk entry; its integrity matches the registry's dist.integrity for 0.17.0.

Breaking-change review (0.16.0 → 0.17.0)

I compared the SDK changelog for 0.16.1, 0.16.2 and 0.17.0 with what peer-cli calls.

  • 0.16.1 / 0.16.2: these add peer.sell() premiumBps, prepareSpeedUp and sellAmountForPremium, and fix the units of paidAt. All of it is additive or a fix. peer-cli reads none of these fields.
  • 0.17.0: the SDK bundles @zkp2p/contracts-v2@0.4.5-rc.2 with UPV5 addresses. unifiedPaymentVerifier now resolves the newest recorded verifier, and addresses.unifiedPaymentVerifiers is new. verifyDisputeAttestation accepts DisputeVerifierV2 evidence. readDisputeAttestationConfig() follows O4's live settlementPolicy(). src/, tests/ and scripts/ never reference unifiedPaymentVerifier, verifyDisputeAttestation, readDisputeAttestationConfig, paidAt or the speed-up APIs. Existing ABI files are unchanged.
  • Transitive dependencies are unchanged (@zkp2p/zkp2p-attestation stays at 4.0.0-rc.12).

Verdict: no source changes are needed. This is a 0.x minor bump between two stable releases.

Validation

npm install, then npm run check (lint, typecheck, vitest run --coverage, build) on b8cd071: 24 test files and 265 tests pass, with 98.34% line coverage. The build succeeds.

npm audit --omit=dev reports advisories in @modelcontextprotocol/sdk, @hono/node-server and fast-uri. The same lockfile on main has them too, because this bump changes no other package. They are left out of this PR.

@ADWilkinson

Copy link
Copy Markdown
Collaborator Author

Engineering claim: key=zkp2p/peer-cli@oneshot/bump-sdk-0.17.0 builder=oneshot

@ADWilkinson
ADWilkinson marked this pull request as ready for review November 25, 2026 15:00
@ADWilkinson

Copy link
Copy Markdown
Collaborator Author

Ship status: NEEDS ATTENTION (head b8cd071d5753b64df5e2f13b86bd5a0e373628a2)

Checked on this head:

  • CI check passes (run). Mergeable and clean against main.
  • The lockfile changes only @zkp2p/sdk. Its integrity matches npm dist.integrity for 0.17.0, and 0.17.0 is npm latest.
  • dependencies and peerDependencies for @zkp2p/sdk are identical in 0.16.0 and 0.17.0.
  • src/, tests/ and scripts/ don't reference unifiedPaymentVerifier, verifyDisputeAttestation, readDisputeAttestationConfig, paidAt, prepareSpeedUp, sellAmountForPremium or premiumBps. Reading the diff by hand found nothing to change.
  • There are no review threads or change requests.

Blockers:

  1. The independent code review hasn't run on this head yet. It can resume after 2026-11-27 00:05 UTC.
  2. No trusted human has approved b8cd071 yet. It needs one approval from a maintainer other than the author.

Next action: when both gates cover b8cd071, squash-merge with --match-head-commit b8cd071d5753b64df5e2f13b86bd5a0e373628a2.

@ADWilkinson

Copy link
Copy Markdown
Collaborator Author

Asked Kohai for an independent full review of b8cd071d5753b64df5e2f13b86bd5a0e373628a2: https://zkp2pworkspace.slack.com/archives/C09BUN18CHK/p1795619996228089. Its Review receipt: line goes in that thread.

@kohai-peer

Copy link
Copy Markdown
Collaborator

Review risk: MEDIUM (advisory path classification)

Head: b8cd071d5753b64df5e2f13b86bd5a0e373628a2

Recommended attention: 1 human reviewer(s); one review: code taste, static checks, real data. Area owner(s): unassigned.

Reasons: unclassified code or configuration.

Semantic review is pending and may raise this tier. Classification is not a completed code review or a merge gate.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants