Skip to content

Releases: airgap-it/beacon-sdk

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

v2.2.6

29 Apr 11:04
v2.2.6
8d0dde3
Compare
Choose a tag to compare

2.2.6 (2021-04-29)

Fixes

  • ui: Ignore styling from parent page
  • types: Make operation request properties optional instead of omitting them

v2.2.5

28 Apr 12:23
v2.2.5
c30848b
Compare
Choose a tag to compare

2.2.5 (2021-04-26)

Fixes

  • p2p: Remove unknown rooms and retry on failure

v2.2.4

19 Apr 20:30
v2.2.4
f731121
Compare
Choose a tag to compare

Features

  • florencenet: Add Florencenet
  • p2p: Support federated matrix servers

Fixes

  • p2p: Fix timing issues during connection setup to improve reliability

v2.2.3

19 Apr 20:24
v2.2.3
3b5a0da
Compare
Choose a tag to compare

Fixes

  • UI: Make alert scrollable

v2.2.2

19 Apr 20:23
v2.2.2
9d610e0
Compare
Choose a tag to compare

Features

  • temple: Rename "Thanos" to "Temple"
  • kukai: Add edonet URL

Fixes

  • error: Fix removing of dom element that would result in an error

v2.2.1

08 Feb 13:18
v2.2.1
551ec84
Compare
Choose a tag to compare

Fixes

  • signing: The validation of the OPERATION and MICHELINE payloads is now correct
  • alert: The page no longer scrolls down when the alert opens
  • alert: Alert width fixed on mobile
  • toast: Toasts are now sticky to the top of the window, not the top of the page
  • toast: Toast height fixed on iOS
  • toast: If an acknowledge message is received after the response, it will be ignored
  • toast: The close button will now always be shown in the "awaiting" state
  • toast: Remove unnecessary "href" from link in error toast
  • toast: New toasts that are triggered while another one is being shown will now be handled correctly