Skip to content

@reown/appkit-wallet@1.6.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jan 12:17
· 10 commits to main since this release
15550cd

Patch Changes

  • #3579 8ddfbf2 Thanks @magiziz! - Added an error message for when the user provides an invalid project id.

  • #3562 fbafcea Thanks @tomiir! - Sets secure site version to 3.
    Handles case where Magic SDK connection fizzled, causing magic to connected while AppKit believed it was not connected

  • #3564 6284eb1 Thanks @magiziz! - Fixed an issue where the balance endpoint was being called every 30 seconds for unsupported networks.

  • #3575 37901c6 Thanks @enesozturk! - Exposes publicKey and path for bitcoin connectors in allAccounts

  • #3596 150cdb6 Thanks @enesozturk! - Adds client check for the methods in bitcoin connectors for ssr issues

  • #3560 83635a4 Thanks @tomiir! - Fixes issue where closing the modal mid embedded wallet request would not abort the request

  • #3568 87029c0 Thanks @tomiir! - Fixes issue where only wallets from the initially active chain ID would be fetched. Re-fetches wallets from API when network changes.

  • #3563 35a4f56 Thanks @magiziz! - Fixed an issue where the modal didn't close after completing login if users navigated between different social login options.

  • #3583 34ed47e Thanks @svenvoskamp! - Fix an issue where swap button shows an infinite spinner

  • #3573 d9a96a5 Thanks @magiziz! - Added a new required option to SIWE/SIWX. This option determines whether the wallet stays connected when the user denies the signature request. If set to true it will disconnect the wallet and close the modal. If set to false it will close the modal without disconnecting the wallet.

    Example usage

    import { createSIWEConfig } from '@reown/appkit-siwe'
    import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs } from '@reown/appkit-siwe'
    
    export const siweConfig = createSIWEConfig({
      required: false, // Optional - defaults to true
      getMessageParams: async () => {
        // Return message parameters
      },
      createMessage: ({ address, ...args }: SIWECreateMessageArgs) => {
        // Return formatted message
      },
      getNonce: async () => {
        // Return nonce
      },
      getSession: async () => {
        // Return session
      },
      verifyMessage: async ({ message, signature }: SIWEVerifyMessageArgs) => {
        // Verify message
      },
      signOut: async () => {
        // Sign out
      }
    })
  • #3586 d5b811c Thanks @enesozturk! - Adds add/remove adapter methods to appkit client, moves active connector state to connected connector

  • #3565 93cee5c Thanks @svenvoskamp! - Fix an issue where users with an ENS couldn't copy their address.

  • #3590 56d82e8 Thanks @magiziz! - Fixed an issue where wagmi did not reconnect on page reload

  • #3584 7703d40 Thanks @tomiir! - Fixes issue where status would not be set for non-connected namespaces. Make syncExistingConnection call syncNamespaceConnection for non-connected namespaces as well, resulting in status being set correctly'

  • #3554 7a7df99 Thanks @svenvoskamp! - Fix farcaster issue, so user can see their correct username in account view

  • #3555 3ee19a2 Thanks @lukaisailovic! - add create subscription method

  • #3558 a48e2f9 Thanks @magiziz! - Added embedded wallet info to useAppKitAccount hook.

    Example usage

    import { useAppKitAccount } from '@reown/appkit/react'
    
    export function YourApp() {
      const { embeddedWalletInfo } = useAppKitAccount()
    
      const email = embeddedWalletInfo.user?.email
    
      return email && <p>Email address: {email}</p>
    }
  • #3592 14d6281 Thanks @tomiir! - Fixed issue where balance would not be properly synced due to not finding correct chainId or pointing to other tokens in portfolio instead of native token

  • Updated dependencies [8ddfbf2, fbafcea, 6284eb1, 37901c6, 150cdb6, 83635a4, 87029c0, 35a4f56, 34ed47e, d9a96a5, d5b811c, 93cee5c, 56d82e8, 7703d40, 7a7df99, 3ee19a2, a48e2f9, 14d6281]:

    • @reown/appkit-common@1.6.4
    • @reown/appkit-polyfills@1.6.4