You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest versions of @airgap/beacon-sdk require an additional listener (ACTIVE_ACCOUNT_SET) that emits events when users switch accounts or disconnect their address on the wallet side.
// Listen for all the active account changeswallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET,async(account)=>{// An active account has been set, update the dApp UIconsole.log(`${BeaconEvent.ACTIVE_ACCOUNT_SET} triggered: `,account);},);
The text was updated successfully, but these errors were encountered:
The latest versions of @airgap/beacon-sdk require an additional listener (
ACTIVE_ACCOUNT_SET
) that emits events when users switch accounts or disconnect their address on the wallet side.The README.md file (in packages/taquito-beacon-wallet/README.md) needs to match Beacon's documentation (see taquito tab) which includes the following:
The text was updated successfully, but these errors were encountered: