TxnLab / use-wallet

A framework agnostic wallet integration library for Algorand dApps
https://txnlab.gitbook.io/use-wallet
MIT License
81 stars 32 forks source link

fix(wallets): correct disconnect handling for Pera and Defly #272

Closed drichar closed 2 weeks ago

drichar commented 2 weeks ago

Description

This PR fixes the disconnect event handling for Pera and Defly wallets. It addresses an issue where the wallet state wasn't updating correctly when a session was deleted in the mobile app.

Details

This fix improves wallet connection management reliability, especially when disconnecting from the mobile app. Users will now see the correct wallet state in their applications after external disconnection.

Closes #271