When upgrading from Breez SDK 0.4.2 to 0.5.2, the wallet may hang during loading due to incompatible IndexedDB storage formats.
If your wallet is stuck on "Loading wallet..." with no errors:
- Open browser DevTools (F12 or Cmd+Option+I)
- Go to the Console tab
- Type this command and press Enter:
window.resetBreezWallet()
- Wait for the page to reload
- Restore your wallet with your mnemonic
- Open browser DevTools (F12)
- Go to Application tab
- IndexedDB section:
- Expand IndexedDB
- Delete
breez-spark-walletdatabase - Delete any other
breezorsparkdatabases
- Local Storage section:
- Click on your domain
- Delete all keys starting with
breez_orspark_
- Reload the page
- Restore your wallet with your mnemonic
New Features:
- ✅ Zap description field now populated (fixes issue #397)
- ✅ Nostr zap support in private mode
- ✅ Zap receipt publishing
- ✅ LNURL comment support
Breaking Change:
- IndexedDB storage format changed
- Old 0.4.2 data causes SDK to hang during initialization
- Solution: Clear storage and restore from mnemonic
The code now includes automatic storage clearing:
- Detects version change (0.4.2 → 0.5.2)
- Attempts to clear old IndexedDB automatically
- However, if SDK hangs before our code runs, use manual reset above
If you need to test the upgrade:
-
On first 0.5.2 load, check console for:
[BreezWallet] Detected SDK version change - clearing old storage [BreezWallet] Storage cleared successfully -
If wallet hangs, use emergency reset
-
Report issues to Breez team with console logs
If you encounter issues, send these details to the Breez team:
- SDK Version: 0.5.2
- Platform: Web (WASM)
- Browser: [Your browser]
- Issue: Wallet hangs during loading after upgrade from 0.4.2
- Console output: [Copy all console messages]
- GitHub Issue: breez/spark-sdk#397
If 0.5.2 is not working and you need to rollback:
git checkout main
npm install
npm run buildThis will revert to SDK 0.4.2.