Skip to content

Releases: airgap-it/beacon-sdk

v4.0.5

06 Jul 12:32
v4.0.5
1fb3d33
Compare
Choose a tag to compare

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

v4.0.4

21 Jun 07:45
v4.0.4
a899e91
Compare
Choose a tag to compare

4.0.4 (2023-05-22)

Features

  • WalletConnect: Update WalletConnect SDK to 2.7.5

v4.0.3

15 May 13:43
v4.0.3
869d864
Compare
Choose a tag to compare

4.0.3 (2023-05-15)

Features

  • UI: Add Naan wallet to default list

v4.0.2

25 Apr 08:26
v4.0.2
57ee250
Compare
Choose a tag to compare

4.0.1 (2023-04-25)

Features

  • internal: Update WalletConnect dependencies

Fixes

  • UI: Add white border around QR code in dark mode

v4.0.1

21 Apr 08:49
v4.0.1
70952b2
Compare
Choose a tag to compare

4.0.1 (2023-04-21)

Features

  • Tezos: Add Nairobinet
  • WalletConnect: If no public key is shared by the wallet, an error is thrown
  • internal: Update WalletConnect dependencies

Fixes

  • UI: Font styling is no longer overwritten by dApp styles
  • internal: Fix preferredNetwork preference with Kukai Wallet
  • internal: Remove unused dependencies
  • internal: Change build settings of beacon-ui package to improve compatibility with different frameworks

v4.0.0

04 Apr 04:48
v4.0.0
1762154
Compare
Choose a tag to compare

4.0.0 (2023-04-04)

Features

  • WalletConnect: Support for WalletConnect 2 has been added. This means that wallets that support Tezos and WalletConnect 2 (eg. TrustWallet) can easily add support for Tezos dApps. Read more about the supported WalletConnect 2 messages here: https://docs.walletconnect.com/2.0/advanced/rpc-reference/tezos-rpc. WalletConnect 2 support works out of the box, but some options can be customised by dApps.
const client = getDAppClientInstance({
    name: 'Name of the dApp',
    walletConnectOptions: {
        projectId: '97f804b46f0db632c52af0556586a5f3', // Project ID can be customised
        relayUrl: 'wss://relay.walletconnect.com' // WC2 relayUrl can be customised
    }
})
  • TrustWallet: Support for TrustWallet has been added
  • UI: Beacon now includes a completely new Pairing UI. The new modal provides a better onboarding experience for new users, as certain wallets are highlighted and the setup of wallets is explained.
    The list of the new UI is opinionated, but it can be adjusted by the dApps to include other wallets. The following code can be used to adjust the highlighted wallets:
const client = getDAppClientInstance({
    name: 'Name of the dApp',
    featuredWallets: ['airgap', 'kukai', 'temple', 'naan']
})
  • Analytics: DApps can now choose to pass an analytics instance to the beacon-sdk, where some events like clicks in the UI modal will be tracked. This feature is turned off by default and has to be explicitly enabled by dApps!
export class MyAnalytics implements AnalyticsInterface {
  track(
    trigger: 'click' | 'event',
    section: string,
    label: string,
    data?: Record<string, any>
  ) {
    console.log('##### TRACK', trigger, section, label, data)
  }
}

const client = getDAppClientInstance({
  name: 'Name of the dApp',
  analytics: new MyAnalytics()
})
  • Naan: Naan logo updated
  • SDK: Changed from browserify to webpack

v3.3.4

16 Feb 12:49
v3.3.4
f64700e
Compare
Choose a tag to compare

3.3.4 (2023-02-16)

Features

  • Internal: Update build environment

Fixes

  • Pairing: Remove Alert Overflow

v3.3.3

16 Feb 12:40
v3.3.3
dadc8c2
Compare
Choose a tag to compare

3.3.3 (2023-02-09)

Features

  • Wallet: Add Umami Mobile
  • Wallet: Add Atomex Mobile
  • Wallet: Update Naan Metadata
  • Wallet: Update AltMe Logo
  • Internal: Add support for svg logos
  • Internal: Use NPM Workspaces

v3.3.2

10 Jan 15:11
v3.3.2
956a496
Compare
Choose a tag to compare

3.3.2 (2023-01-10)

Features

  • Wallet: Add Atomex Wallet
  • Tezos: Add Limanet and Mumbainet

v3.3.1

10 Jan 15:11
v3.3.1
a826f1d
Compare
Choose a tag to compare

3.3.1 (2022-12-30)

Features

  • Wallet: Add Altme Wallet
  • Wallet: Add Infinity Wallet
  • Wallet: Update Autonomy logo
  • Wallet: Update AirGap logo

Fixes

  • Storage: Improve typescript typings