Releases: airgap-it/beacon-sdk
Releases · airgap-it/beacon-sdk
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.)
v4.0.8
4.0.8 (2023-08-25)
Features
- Wallet: Add Exodus Wallet
- Logger: Add
time
logging methods
Fixes
- Internal:
getPermissions
onWalletClient
did not return all permissions - Example: Use valid micheline in sign payload example
v4.0.7
4.0.7 (2023-08-24)
Features
- Wallet: Removed Galleon from the supported wallet list
Fixes
- UI: Resolved a bug in which the Beacon modal would have opened in mobile view even on desktop
- WalletConnect: Resolved a bug in which the dApp, once closed, would have not receive a "session closed" message from the wallet.
- WalletConnect: The alert correctly now closes down when the wallet refuses the permission request
- WalletConnect: Improved session initialisation, this should solve a bug which would have caused the dApp to be stuck forever in the loading state
- Internal: Added checks before returning values from localStorage, this should avoid nullish values propagation
v4.0.6
4.0.6 (2023-07-06)
Features
- UI: Rebrand Naan to Plenty Wallet
- Tezos: DAppClient option
preferredNetwork
is now deprecated andnetwork
should be used instead. Thenetwork
is used to constructpermission_request
andbroadcast_request
messages, therefore specifying network inDAppClient#requestPermission
orDAppClient#requestBroadcast
is no longer supported and any network value set while calling these methods won't be respected.
v4.0.5
4.0.5 (2023-07-06)
Features
- Internal: Make wallet list in alert dynamic, which means that it can be used in InApp Browsers, eg. Infinity Wallet
- Internal: Normalize public key to edpk... format
- Alert: Add WC2 QR code in pairing alert
- Toast: Add "open wallet" button for web wallets
- WalletConnect: Update walletconnect dependency to 2.9.0
Fixes
- WalletConnect: Update property name according to docs
- WalletConnect: Show wallet icon in toast
- Internal: Ignore empty regions and prevent invalid network requests
- Alert: Open web wallets in new tab immediately, which will prevent them from being blocked by browsers