Skip to content

chore: bump SwapKit dependencies + fix auto-update lockfile convergence#114

Merged
towanTG merged 1 commit into
developfrom
claude/bump-swapkit-and-fix-dts
Jul 23, 2026
Merged

chore: bump SwapKit dependencies + fix auto-update lockfile convergence#114
towanTG merged 1 commit into
developfrom
claude/bump-swapkit-and-fix-dts

Conversation

@towanTG

@towanTG towanTG commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Bumps external @swapkit/* dependencies to the latest SDK patch train and fixes the TS2883 build:dts failure that killed the latest auto-update-core run.

Package Old New
@swapkit/core 4.6.0 4.6.1
@swapkit/helpers 4.19.0 4.19.1
@swapkit/plugins 4.7.0 4.7.1
@swapkit/server 4.4.1 4.4.2
@swapkit/toolboxes 4.26.0 4.26.1
@swapkit/wallet-core 4.3.18 4.3.19
@swapkit/wallet-keystore 4.5.1 4.5.2

Root cause of the TS2883 dts failure

The auto-bump edits manifests only for packages in the dispatch payload, and a plain bun install keeps stale lockfile resolutions for @swapkit consumers that weren't republished in the same train. In the failing run, wallet-core still resolved helpers@4.19.0 while the workspace's direct dep moved to 4.19.1 — with the isolated linker that means two copies of helpers in the store, so createWallet's inferred type references an AddChainType symbol that has no portable import path → TS2883 on keepkeyWallet/ledgerWallet/trezorWallet.

Reproduced locally byte-for-byte (develop lockfile + partial bump), then verified the fix on that exact state.

Workflow fix

The install step now converges the whole external @swapkit/* family via bun update (family derived from the manifests, workspace packages excluded). Since bun update also rewrites manifests (exact-pins root deps, adds named deps missing from root), they're saved and restored around it, followed by a normal bun install (which runs sherif as postinstall to validate).

Includes the changeset from generate:dep-changeset (patch bump for all 5 workspace packages) so merging triggers the Version Packages release PR.

Verification: sherif ✓, bun run build ✓, build:dts ✓ (previously failing), type-check ✓ (all 5 packages), bun test 43/43 ✓.

🤖 Generated with Claude Code

…ence

Bump to the latest SDK patch train (core 4.6.1, helpers 4.19.1,
plugins 4.7.1, server 4.4.2, toolboxes 4.26.1, wallet-core 4.3.19,
wallet-keystore 4.5.2).

Also fix the auto-update-core workflow's TS2883 dts failure: a plain
bun install keeps stale lockfile resolutions for @swapkit consumers not
in the dispatch payload (wallet-core kept helpers@4.19.0 next to the
bumped 4.19.1), so tsc declaration emit sees two AddChainType symbols
and cannot name the transitive one portably. The install step now runs
bun update across the whole external @swapkit family (manifests saved
and restored around it) so the lockfile converges on one copy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@towanTG
towanTG merged commit a5b2da2 into develop Jul 23, 2026
1 check passed
@towanTG
towanTG deleted the claude/bump-swapkit-and-fix-dts branch July 23, 2026 10:14
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.

1 participant