Skip to content

Taquito v19.2.1-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@dsawali dsawali released this 25 Apr 18:10
· 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

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

Internals

  • Migrated Taquito test dapp deployment to CF pages PR#2894
  • Integration test improvements PR#2897
  • Updated Ledger versions PR#2902