@midnight-ntwrk/wallet-sdk-dust-wallet breaking changes
Updated December 4, 2026
On this page
Latest version 5.1.0, released November 16, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 4.2.0 to 5.1.0: 185 breaking changes in 7 versions.
- From 4.0.0 to 5.1.0: 199 breaking changes in 9 versions.
@midnight-ntwrk/wallet-sdk-dust-wallet 5.1.0 breaking changes
- Behavior changed
Restore now rejects a dust snapshot with out-of-range or malformed pendingDust values, publicKey, offset or protocolVersion with SnapshotRestoreError (invalid-shape). Code that restores such snapshots must handle the error. github.com - Behavior changed
Remote network presets now set skipLedgerV8DustHistory, so a new wallet on a network that crossed the v9 fork skips the ledger-v8 Dust history instead of replaying it. github.com
@midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0 breaking changes
- Removed
DustWallet.startWithSecretKey
Call startWithKeys({ v8, v9 }, rates?) instead of startWithSecretKey. github.com - Removed
DustWalletCapabilities
The shared types now live in DustWalletTypes. npmjs.com - Removed
DustWalletClass.configuration
DustWalletClass.configuration was removed in @midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0 npmjs.com - Removed
DustWalletServices
The shared types now live in DustWalletTypes. npmjs.com - Removed
DustWalletState.capabilities
DustWalletState.capabilities was removed in @midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0 npmjs.com - Removed
DustWalletState.mapState
Use fromVariant in place of mapState; services and capabilities are no longer on the state. npmjs.com - Removed
DustWalletState.services
DustWalletState.services was removed in @midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0 npmjs.com - Removed
DustWithNullifier
Use PendingDust entries ({ coin, nullifier, declaredTime }) in CoreWallet.pendingDust. github.com - Removed
v1 WalletError.Other
Unreadable snapshots are refused with SnapshotRestoreError; restore throws that tagged error. github.com - Removed
v1:CustomDustWallet
CustomDustWallet was removed in @midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0 npmjs.com
And 115 more in this version. Sign up to see every change
@midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0-rc.2 breaking changes
- Removed
DustWithNullifier
CoreWallet.pendingDust now holds PendingDust entries, and DustWithNullifier is removed. github.com - Renamed
startWithSecretKey
Call startWithKeys({ v8, v9 }, rates?) instead of startWithSecretKey. github.com - Behavior changed
dryRunFee
With no inputs, dryRunFee prices the transactions as they are rather than with an extra empty intent, and takes an optional trailing parameter. github.com - Behavior changed
restore
restore throws the tagged SnapshotRestoreError for an unreadable snapshot instead of Wallet.Other. github.com - Behavior changed
revertTransaction
Reverting now releases only the Dust the transaction booked, no longer dropping unspent decaying coins or releasing coins held by other pending transactions. github.com - Behavior changed
WalletError
The WalletError union gains SnapshotRestoreError, OutOfOrderSyncUpdateError and InsufficientDustForFeeError, so exhaustive matches must handle them. github.com - Signature changed
balanceTransactions
balanceTransactions no longer takes a secret key and resolves { transaction, blockData } instead of the previous result. github.com - Signature changed
CoreWallet.restore
CoreWallet.restore takes a required syncKind as its last argument. github.com - Signature changed
CustomDustWallet
CustomDustWallet now composes one ledger-v9 variant from a V2 builder, cannot cross a fork, and its instance start takes { v9: key }. npmjs.com - Signature changed
DustWallet
DustWallet(configuration) runs a ledger-v8 variant below forks.v9 and a ledger-v9 variant from it, and forks is required. npmjs.com
And 7 more in this version. Sign up to see every change
@midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0-rc.1 breaking changes
- Behavior changed
An unreadable snapshot is refused with SnapshotRestoreError instead of Wallet.Other, so error handling keyed on the old tag must change. github.com - Behavior changed
A finalized history entry with no block now fails with BlocklessFinalizedEntryError instead of TransactionHistoryError. github.com - Behavior changed
computeBalancingRecipe
A coin selector that returns a coin it was not offered now fails with TransactingError. github.com - Behavior changed
dryRunFee
With no inputs, dryRunFee now prices the transactions as they are instead of adding an extra empty intent, which changes the fee it reports. github.com - Behavior changed
hasTTLExpired
hasTTLExpired applies the dust grace period only to transactions carrying shielded offers, and to transactions with no intents. github.com - Behavior changed
InMemoryTransactionHistoryStorage.restore
restore throws TransactionHistoryRestoreError on failure instead of returning an empty store; use tryRestore to get the error as a Left. github.com - Behavior changed
NoOpTransactionHistoryStorage.serialize
NoOpTransactionHistoryStorage.serialize now writes the v2 history format. github.com - Behavior changed
signUnprovenTransaction
Methods that change a transaction now return it with the protocol version stamp it came in with instead of re-stamping it. github.com - Signature changed
FinalizedLifecycle.finalizedBlock
finalizedBlock is now optional on FinalizedLifecycle and FinalizedWalletEntry, so code reading it must handle a missing block. github.com - Signature changed
upgradeToCurrentFormat
upgradeToCurrentFormat returns an Either, so callers must unwrap the result. github.com
And 2 more in this version. Sign up to see every change
@midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0-beta.4 breaking changes
- Behavior changed
A batch whose ids are not strictly ascending is rejected whole with OutOfOrderSyncUpdateError, and the cursor does not move. github.com - Behavior changed
Background sync repeats passes every backgroundSyncInterval milliseconds (default 5000), which costs more on a wallet holding Dust. github.com - Signature changed
SyncService
Custom sync services must add backgroundRepeat, either BackgroundRepeat.Once() or BackgroundRepeat.WithDelay({ delay }). github.com
@midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0-beta.3 breaking changes
- Removed
DustWalletClass.startWithSecretKey
Start wallets from seeds with startWithSeed, or with startWithKeys({ v8, v9 }). npmjs.com - Removed
secretKeys
Transaction-building methods no longer accept secretKeys; key material comes from the started wallet. github.com - Removed
startWithSecretKeys
Start wallets from seeds with startWithSeed, or with startWithKeys({ v8, v9 }). github.com - Renamed
AnyValidatableTransaction
Use the AnyV9ValidatableTransaction type name. github.com - Renamed
BalancingResult
Use the ShieldedBalancingResult type name. github.com - Renamed
fromProvingProvider
Update imports to the V9-prefixed names. github.com - Renamed
fromProvingProviderEffect
Update imports to the V9-prefixed names. github.com - Renamed
makeDefaultValidationService
Update imports to the V9-prefixed names. github.com - Renamed
makeDefaultValidationServiceEffect
Update imports to the V9-prefixed names. github.com - Renamed
makeServerProvingService
Update imports to the V9-prefixed names. github.com
And 13 more in this version. Sign up to see every change
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
@midnight-ntwrk/wallet-sdk-dust-wallet 5.0.0-beta.0 breaking changes
- Configuration changed
Consumers must resolve @midnightntwrk/ledger-v9 instead of @midnight-ntwrk/ledger-v8. github.com - Signature changed
createKeystore
Pass an object with kind and secret instead of a Uint8Array seed. getPublicKey now returns the tagged SignatureVerifyingKey. github.com
And 1 more in this version.
@midnight-ntwrk/wallet-sdk-dust-wallet 4.2.0 breaking changes
- Signature changed
DustWalletAPI
Was type DustWalletAPI<TStartAux = DustSecretKey, TSerialized = string> = {readonly state: rx.Observable<DustWalletState<TSerialized>>; start(secretKey: TStartAux): Promise<void>; createDustGenerationTransaction(currentTime: Date |... npmjs.com - Signature changed
v1:SyncService.IndexerClientConnection
Was type IndexerClientConnection = {indexerHttpUrl: string; indexerWsUrl?: string; keepAlive?: number;}; now type IndexerClientConnection = {indexerHttpUrl: string; indexerWsUrl?: string; keepAlive?: number; bufferSize?: number... npmjs.com
@midnight-ntwrk/wallet-sdk-dust-wallet 4.1.0 breaking changes
- Behavior changed
Night UTxOs chosen for a Dust registration are booked at build time, so a conflicting concurrent build throws SpendUtxoError immediately rather than at submission. github.com - Signature changed
DustWalletAPI
Was type DustWalletAPI<TStartAux = DustSecretKey, TSerialized = string> = {readonly state: rx.Observable<DustWalletState<TSerialized>>; start(secretKey: TStartAux): Promise<void>; createDustGenerationTransaction(currentTime: Date |... npmjs.com
And 10 more in this version.
@midnight-ntwrk/wallet-sdk-dust-wallet 4.0.0 breaking changes
- Removed
DustWalletState.availableCoinsWithFullInfo
DustWalletState.availableCoinsWithFullInfo was removed in @midnight-ntwrk/wallet-sdk-dust-wallet 4.0.0 npmjs.com - Removed
DustWalletState.transactionHistory
DustWalletState.transactionHistory was removed in @midnight-ntwrk/wallet-sdk-dust-wallet 4.0.0 npmjs.com
And 39 more in this version.
Related packages
- @midnight-ntwrk/wallet-sdk-facade
- @midnight-ntwrk/wallet-sdk-shielded
- @midnight-ntwrk/wallet-sdk-hd
- @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.