@midnight-ntwrk/wallet-sdk-hd breaking changes
@midnight-ntwrk/wallet-sdk-hd 4.0.0 (November 5, 2026) is its newest release with breaking changes, 2 of them. The first: Removed Roles.Metadata. Every breaking API change we have recorded in @midnight-ntwrk/wallet-sdk-hd on npm: 4 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 5, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@midnight-ntwrk/wallet-sdk-hd 4.0.0 breaking changes
- Removed
Roles.Metadata
Role 4 now derives ECDSA unshielded keys. Code that names Roles.Metadata must name Roles.EcdsaUnshielded or the value 4. github.com - Signature changed
Roles
Was const Roles: {readonly NightExternal: 0; readonly NightInternal: 1; readonly Dust: 2; readonly Zswap: 3; readonly Metadata: 4;}; now const Roles: {readonly NightExternal: 0; readonly NightInternal: 1; readonly Dust: 2; readonly Zswap... npmjs.com
@midnight-ntwrk/wallet-sdk-hd 3.0.3 breaking changes
- Behavior changed
deriveKeyAt
deriveKeyAt now returns keyOutOfBounds for invalid path components instead of throwing the raw invalid child index error from @scure/bip32. Code that catches or matches that thrown error must handle the new result. github.com - Behavior changed
deriveKeysAt
deriveKeysAt now returns keyOutOfBounds for invalid path components instead of throwing the raw invalid child index error from @scure/bip32. Code that catches or matches that thrown error must handle the new result. github.com
Related packages
- @midnight-ntwrk/wallet-sdk-facade
- @midnight-ntwrk/wallet-sdk-dust-wallet
- @midnight-ntwrk/wallet-sdk-shielded
- @midnight-ntwrk/wallet-sdk-unshielded-wallet
- @midnight-ntwrk/wallet-sdk-address-format
- @midnight-ntwrk/compact-runtime
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.