Releases: airgap-it/beacon-sdk
Releases · airgap-it/beacon-sdk
v4.2.2
4.2.2 (2024-05-15)
Features
- tezos: Added Parisnet support
Improvements
- WalletConnect: Enhanced error handling for IndexedDB.
- WalletConnect: For WalletConnect, both pairing and active sessions are now deleted when running
clearActiveAccount
. - internal: Improved internal subscription management for the transport client communication layer. Internal subscriptions are now freed when running
dAppClient.destroy()
.
v4.2.1
4.2.1 (2024-04-04)
Bugfixes
- internal: Fixed a bug which caused an “aborted error” to interrupt a request permissions flow
- internal: ACTIVE_ACCOUNT_SET is no longer emitted twice when requesting permissions
- internal: We now throw an error preventing someone to disconnect multiple times over a disconnected transport
- WalletConnect: The error “Error: No matching key” should no longer appear in dApps running in a single browser tab
v4.2.0
4.2.0 (2024-03-25)
Features
- BREAKING CHANGE: DApp instances are now automatically destroyed when no active
ACTIVE_ACCOUNT
subscription is detected and the wallet sends asession_update
indicating an account change. For more details, please visit the dedicated page in our wiki. - Tezos: Fireblocks and Kukai Mobile wallets are now included in our supported wallets list.
- Tezos Tzip 28 is now supported, thanks to the contribution from @quentin-burg.
- Performance: Introducing
enableMetrics
inDAppClientOptions
. Set this totrue
to enable performance metrics tracking. For further information, visit our metrics guide. - UI: The migration guide link has been updated in the “No Subscription to Active Account” error alert and logs for better clarity and guidance.
- Tezos: Missing
OperationTypes
such astransfer_ticket
have been added. - SDK:
enableAppSwitching
has been introduced. To prevent automatic app switching on mobile devices, set this option tofalse
inDAppClientOptions
. - WalletConnect: Significant improvements in performance and stability for WalletConnect communications on mobile platforms.
- SDK: On mobile, the
senderId
inrequestPermissions
now utilizessessionTopic
instead ofpairingTopic
, addressing the absence ofpairingTopic
in mobile sessions. - UI: The
type?: TransportType
parameter is no longer part of thehideUI
method inDAppClient
.
v4.1.2
4.1.2 (2024-01-30)
Hotfixes
- Tezos: Change iOS deeplink of "Feral File" wallet
v4.1.1
4.1.1 (2024-01-29)
Features
- Tezos: Rename wallet "Autonomy" to "Feral File"
Bugfixes
- WC2: An error in the WalletConnect 2 transport could result in a successfully established P2P connection to be aborted with a "Channel closed" message. This has been fixed.
v4.1.0
4.1.0 (2023-12-28)
Features
- Add support for Proof of Event (PoE) according to this TZIP. The
DAppClient
now has a new method calledrequestProofOfEventChallenge
to request a PoE challenge. - Add TzSafe wallet
- Re-add Galleon wallet
- Updated dependencies
- Introduced a localStorage listener to prevent external tab interference leading to a "broken state" in the SDK
Bugfixes
- Fixed a problem where alerts would endlessly load if there was no internet connection
- Corrected an issue where the wallet icon failed to display after refreshing a page
- Solved a bug causing the wallet to open targeting an incorrect platform under certain conditions
- Change "mondaynet" name to "weeklynet"
WalletConnect 2
This release includes a variety of WalletConnect 2 related bugfixes to make the transport more stable.
- Resolved an issue preventing a web wallet from opening on a new tab using WC transport
- Addressed a crash in the SDK occurring during synchronisation with the wallet through WalletConnect without an internet connection
- Rectified a bug where approving two consecutive requests on the wallet side would inadvertently close the new session
- Improved UI updates when a session_update is received
- Fixed a bug that opened an unintended wallet when using WalletConnect on mobile
- Implemented localStorage and IndexedDB checks for better tracking of WalletConnect's internal state
- Added a manual WalletConnect reset feature to prevent multiple instances of broken states
- Introduced a WalletConnect ping function to assess wallet readiness
- Resolved an issue where acknowledgement toasts would not show up during multiple wallet requests
v4.0.12
4.0.12 (2023-10-06)
There are no code changes between 4.0.11
and this version. Version 4.0.12
was released because NPM has internal problems and some 4.0.11
packages are currently unavailable.
v4.0.11
4.0.11 (2023-10-05)
Fixes
- Matrix: Handle case when node reports that no members are in a room after creating it
v4.0.10
4.0.10 (2023-09-07)
Features
- Tezos: Add Oxfordnet
Fixes
- WalletConnect: Lock to lower version because of WalletConnect/walletconnect-monorepo#3500
- UI: Do not reset UI on error, which caused flickering
- Tezos: Fix typo in dailynet
- WC2: Clear session when permission request is aborted
v4.0.9
4.0.9 (2023-08-29)
Features
- Wallet: Add MetaMask (Note: This is an early preview and is only intended for developers.)