Skip to content

Releases: airgap-it/beacon-sdk

v2.3.6

10 Nov 10:51
v2.3.6
01ea422
Compare
Choose a tag to compare

2.3.6 (2021-11-04)

Fix

  • p2p: Improve the reconnection logic if a server is not available anymore.

v2.3.5

11 Oct 14:26
v2.3.5
d207bd4
Compare
Choose a tag to compare

2.3.5 (2021-10-11)

Fix

  • toast: Add back "open" button for Kukai and other wallets in toast.
  • toast: Make sure the "Reset Connection" option is always shown in the "Request sent" toast.

v2.3.4

11 Oct 14:26
v2.3.4
8224632
Compare
Choose a tag to compare

2.3.4 (2021-10-08)

Fix

  • reconnect: If an error is encountered during the sending of a message, it will now always show an alert that lets the user reset the connection.
  • licence: Add LICENCE file (MIT).

v2.3.3

01 Oct 12:19
v2.3.3
3bd6375
Compare
Choose a tag to compare

2.3.3 (2021-09-29)

Fix

  • network: Add support for Hangzhounet.
  • web-wallet: Open new tab on button press so it will not be blocked by the browser popup blocker.
  • kukai: Update icon.
  • ui: Add space between wallet name and logo in "Preparing" toast.

v2.3.2

01 Oct 12:19
v2.3.2
25d5ae0
Compare
Choose a tag to compare

2.3.2 (2021-09-10)

Fix

  • ui: Dynamically update pairing alert if new extension detected
  • migration: Remove migration code for matrix.papers.tech server.
  • ui: Avoid listener memory leak in pairing alert.

v2.3.1

21 Jul 18:53
v2.3.1
a406616
Compare
Choose a tag to compare

2.3.1 (2021-07-21)

Fix

  • types: The "disclaimerText" was not properly set as optional.
  • ui: When clicking on "AirGap Wallet" in the pairing alert, the loader was shown instead of the QR code.

v2.3.0

16 Jul 14:05
v2.3.0
f836f33
Compare
Choose a tag to compare

2.3.0 (2021-07-16)

Features

  • wallet: Add Umami wallet to the wallet list
  • pairing alert: The connection to the beacon network is now estabilished "lazily". This means that the connection is only established if the user selects a wallet that communicates over the beacon network. Users that select an extension wallet will no longer open an unused connection.
  • pairing alert: The DAppClientOptions new includes a disclaimerText field, which will be displayed in the Pairing Alert.
  • pairing: If the wallet rejects the initial permission request, the active peer will be reset and on the next action the user will be prompted to select his wallet again.
  • wallet list: The wallets in the wallet list now include a key property, which will allow developers to uniquely identify the wallet.
  • ui: A new "Prepare" UI state. This UI state can optionally be triggered by the developer in case there is a calculation or network request before the beacon request is sent. This will improve usability because there will be immediate feedback. If you are using taquito, the UI state will be triggered for you internally.
  • ui: After clicking on a desktop or web wallet, the alert will show a "connecting" state to indicate that the dApp is waiting for the response of the wallet.
  • ui: The wallet list is now ordered alphabetically.
  • p2p: Rooms created on the beacon nodes are now public instead of private. This will allow us to improve the reconnection flow in the future.
  • internal: Improve example dApp and example wallet
  • internal: Add E2E tests

Fix

  • peers: The activePeer is now no longer persisted in localStorage, which will improve the behavior if users refresh the page during a connection attempt.
  • ui: Small improvements and bug fixes in the alert.

v2.2.9

17 Jun 09:28
v2.2.9
56ef9da
Compare
Choose a tag to compare

2.2.9 (2021-06-16)

Features

  • ui: Add "open wallet" button to "request" toast. This button will appear when paired with Kukai Wallet or a mobile wallet (while on mobile)
  • p2p: Replace matrix.papers.tech node with beacon-node-1.sky.papers.tech
  • p2p: Use room_version v5 when creating rooms
  • p2p: Add forceNewConnection parameter to addPeer on the WalletClient class. The property is true by default (previous behavior), but it can be set to false in case an existing peer is re-added, but no new connection should be initiated.

Fixes

  • p2p: Using the "Reset Connection" button no longer requires a refresh

v2.2.8

03 Jun 17:33
v2.2.8
41ed641
Compare
Choose a tag to compare

2.2.8 (2021-06-03)

Fixes

  • p2p: Cached rooms are updated whenever a message is received or a new invite is received. This prevents peers from sending messages to "old" rooms where the other peer potentially no longer has access to
  • p2p: Improved the behaviour of the "re-pairing" for previously connected dApps. To prevent old state from affecting the connection, a new room is now always created when a connection is initialised
  • p2p: "Reset Connection" now works properly by making sure all old state is reset
  • p2p: Deterministically select the relay server based on the public key so it's always the same on by default
  • p2p: The SDK now resumes the connection after the server was unreachable for a while

v2.2.7

19 May 08:11
v2.2.7
170d0e8
Compare
Choose a tag to compare

2.2.7 (2021-05-16)

Features

  • network: Add Granadanet
  • p2p: Add second beacon-node to default nodes array
  • p2p: Improve reconnect behaviour if the previously used node is not reachable

Fix

  • ui: Limit toast width, which was causing styling issues on some devices