Repository navigation
chore: bump @bitgo/public-types to 7.6.5 - #10316
Merged
Merged
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
zahin-mohammad
marked this pull request as draft
December 4, 2026 15:49
Align every module on 7.6.5, which declares the Apache-2.0 license and ships a LICENSE file (earlier 6.90.0 and 7.1.0 tarballs declared UNLICENSED, which a customer license scanner flagged). Collapses three resolved versions in yarn.lock into one. The only breaking change between 6.90.0 and 7.6.5 is 7.0.0 requiring all defiParams fields in TxSendBody; no module in this repo references defiParams or TxSendBody, and no symbol imported from the package was removed. TICKET: WCN-5332 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
|
zahin-mohammad
force-pushed
the
WEB-000-bump-public-types-7.6.5
branch
from
December 4, 2026 15:50
8f03b93 to
3cc5b40
Compare
zahin-mohammad
marked this pull request as ready for review
December 4, 2026 15:51
zahin-mohammad
requested a deployment
to
breaking-changes-override
December 4, 2026 15:58 — with
GitHub Actions
Waiting
pranishnepal
previously approved these changes
Dec 4, 2026
pranishnepal
previously approved these changes
Dec 4, 2026
zahin-mohammad
commented
Dec 4, 2026
zahin-mohammad
marked this pull request as draft
December 4, 2026 16:04
davidkaplanbitgo
previously approved these changes
Dec 4, 2026
public-types 7.6.x defines `BaseIntentCatchAll` with `t.refinement`, which the OpenAPI generator has no handler for. It emitted a dangling `#/components/schemas/refinement` reference, failing the Vacuum audit and reporting the catch-all intent's fields as removed in the breaking-change check. Register a `refinement` handler that returns the wrapped codec's schema, since a refinement only narrows decoding at runtime and leaves the wire shape unchanged. The generator merges custom handlers per package, so an `io-ts` entry would drop every built-in io-ts handler; fall back to them through the public `Project#resolveKnownImport` rather than importing the generator's `dist` internals. TICKET: WCN-5332 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
zahin-mohammad
dismissed stale reviews from davidkaplanbitgo and pranishnepal
via
December 4, 2026 16:08
b949a4e
zahin-mohammad
force-pushed
the
WEB-000-bump-public-types-7.6.5
branch
from
December 4, 2026 16:08
08b0f41 to
b949a4e
Compare
zahin-mohammad
marked this pull request as ready for review
December 4, 2026 17:08
davidkaplanbitgo
approved these changes
Dec 4, 2026
bhargavirao24
approved these changes
Dec 4, 2026
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
@bitgo/public-typesto 7.6.5 in all nine modules that depend on it:abstract-lightning,bitgo,express,passkey-crypto,sdk-coin-canton,sdk-coin-flrp,sdk-coin-sol,sdk-core,sdk-lib-safes.yarn.lockgoes from three resolved versions (6.90.0, 7.1.0, 7.6.0) to one.t.refinement(modules/express/openapi-generator.rc.js). Needed because of the bump, see below.Why
7.6.5 declares
Apache-2.0and ships aLICENSEfile (BitGo/public-types#511). The 6.90.0 and 7.1.0 tarballs declaredUNLICENSED, which a customer's license scanner flagged.OpenAPI generator fix
Express was on public-types 7.1.0. Since then public-types added
BaseIntentCatchAll, defined witht.refinement, as the fallback member of the transaction-intent union. The generator has no handler fort.refinement, so it emitted a dangling#/components/schemas/refinementreference. That failed the Vacuum audit and made the breaking-change check report the catch-all intent's fields (intentType,sequenceId,comment,nonce) as removed.The new handler returns the wrapped codec's schema, because a refinement only narrows decoding at runtime and leaves the wire shape unchanged. The built-in
io-tshandlers are spread back in because the generator merges custom handlers per module, not per export.Verified by generating the spec on
masterand on this branch and comparing them (ignoring descriptions and titles):ZecPaymentIntent,BaseIntentCatchAll.IntentTypeenum grew, andCantonCosignDelegationProposalIntentgained auserAuthorizationproperty.Breaking-change review
The only breaking change in the public-types release notes between 6.90.0 and 7.6.5 is 7.0.0 (
defiParamsfields now required inTxSendBody). No file undermodules/*/srcormodules/*/testreferencesdefiParams,DefiParamsorTxSendBody, and none of the 117 symbols the SDK imports from the package was removed.Ticket: WCN-5332
🤖 Generated with Claude Code