# Wallet SDK v1.2.0 release notes

> For the complete documentation index, see [llms.txt](https://docs.midnight.network/llms.txt)

* **Version**: v1.2.0
* **Date**: 1 July, 2026
* **Environment**: Mainnet, Preprod, Preview

***

## High-level summary[​](#high-level-summary "Direct link to 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[​](#audience "Direct link to 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)[​](#what-changed-summary-of-updates "Direct link to 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[​](#breaking-changes-or-required-actions "Direct link to 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[​](#known-issues "Direct link to Known issues")

No new known issues in this release.

***

## Links and references[​](#links-and-references "Direct link to Links and references")

* [GitHub release: Wallet SDK 1.2.0](https://github.com/midnightntwrk/midnight-wallet/releases/tag/%40midnightntwrk%2Fwallet-sdk%401.2.0)
* [`@midnightntwrk/wallet-sdk` on npm](https://www.npmjs.com/package/@midnightntwrk/wallet-sdk/v/1.2.0)
* [Wallet SDK v1.1.0 release notes](https://docs.midnight.network/relnotes/wallet/wallet-sdk-1-1-0.md)
