Skip to main content

Wallet SDK v1.2.0 release notes

For the complete documentation index, see llms.txt
  • Version: v1.2.0
  • Date: 1 July, 2026
  • Environment: Mainnet, Preprod, Preview

High-level summary

Wallet SDK 1.2.0 is a minor release that hardens DUST registration against fee underestimation and gives callers a way to wait for DUST to accrue before registering. Starting with this version, the package publishes under the @midnightntwrk npm scope (previously @midnight-ntwrk).


Audience

This release is relevant for developers who:

  • Register NIGHT UTXOs for DUST generation from their wallet or DApp
  • Automate DUST provisioning flows and need to time registration

What changed (Summary of updates)

  • Fixed a race in WalletFacade.registerNightUtxosForDustGeneration where the registration's allow_fee_payment could fall below its own fee, causing the chain to reject the submission with BalanceCheckOverspend. The wallet now estimates the fee at build time, reverts the booking, and throws before submission.
  • Added WalletFacade.waitForGeneratedDust(utxos, requiredAmount, opts?), so callers can defer registration until enough DUST has accrued. Pair it with estimateRegistration to pick the threshold.
  • The SDK now publishes under the @midnightntwrk npm scope. Version 1.2.0 is available under both scopes; later versions target the new scope.

Breaking changes or required actions

No breaking API changes. When you update, consider moving your dependency to @midnightntwrk/wallet-sdk to follow the new scope.


Known issues

No new known issues in this release.