Taquito v19.2.1-beta.0
Pre-release
Pre-release
·
19 commits
to beacon-4.2.2
since this release
Summary
⚠️ Breaking Changes ⚠️
Beacon Migration
As of Beacon version 4.2.0, Beacon have migrated from using dAppClient.getActiveAccount()
to using an event subscription method BeaconEvent.ACTIVE_ACCOUNT_SET
for handling active account changes.
IF YOU ARE STILL USING THE eventHandlers
PROPERTY WHEN INITIALIZING A DAPP CLIENT, PLEASE UPDATE YOUR CODE.
const wallet = new BeaconWallet(options);
await wallet.client.subscribeToEvent(BeaconEvent.ACTIVE_ACCOUNT_SET, (data) => {
// your logic to update your state
console.log(data.address);
console.log(data.network.type);
});
await wallet.requestPermissions();
For a more detailed migration guide, please refer to this document
New Features
- Updated Beacon version to v4.2.2-beta.2
Documentation
- Updated Beacon wallet documentation method order on Taquito docs PR#2913
- Updated README for the Beacon wallet package #2908
- Fixed broken links in documentation PR#2903
- Fixed typos in documentation PR#2901