diff --git a/.changeset/breezy-candles-nail.md b/.changeset/breezy-candles-nail.md deleted file mode 100644 index f7709f457c..0000000000 --- a/.changeset/breezy-candles-nail.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-solana': patch -'@reown/appkit-utils': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Abstracts Connectors management in Solana Adapter diff --git a/.changeset/cuddly-pumpkins-bake.md b/.changeset/cuddly-pumpkins-bake.md deleted file mode 100644 index c7938c8084..0000000000 --- a/.changeset/cuddly-pumpkins-bake.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixes issue where mobile view would show auth login options without adapters diff --git a/.changeset/dull-turkeys-roll.md b/.changeset/dull-turkeys-roll.md deleted file mode 100644 index a172fe2047..0000000000 --- a/.changeset/dull-turkeys-roll.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fix condition for unsupported chain for `chainChanged` event on wallet connect event diff --git a/.changeset/eight-forks-smoke.md b/.changeset/eight-forks-smoke.md deleted file mode 100644 index fc1a5a06f1..0000000000 --- a/.changeset/eight-forks-smoke.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Add default value if namespace is not available on upa getAccounts diff --git a/.changeset/few-birds-speak.md b/.changeset/few-birds-speak.md deleted file mode 100644 index bf7f34575e..0000000000 --- a/.changeset/few-birds-speak.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fix BitcoinAdapter `switchNetwork` function execution diff --git a/.changeset/forty-zoos-cry.md b/.changeset/forty-zoos-cry.md deleted file mode 100644 index 3eb0e01896..0000000000 --- a/.changeset/forty-zoos-cry.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fetches native balance when on testnets diff --git a/.changeset/four-mangos-yell.md b/.changeset/four-mangos-yell.md deleted file mode 100644 index de11251f51..0000000000 --- a/.changeset/four-mangos-yell.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. - -**Example usage** - -```tsx -import { createAppKit } from '@reown/appkit' - -const VIEWS = [ - { label: 'Open "On-Ramp" modal view', view: 'Swap' }, - { label: 'Open "Send" modal view', view: 'WalletSend' }, - { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, - { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, - { label: 'Open "All Wallets" modal view', view: 'AllWallets' } -] as const - -const modal = createAppKit({ - adapters: [], // Add your adapters here - networks: [], // Add your networks here - projectId: 'YOUR_PROJECT_ID' -}) - -export function YourApp() { - return ( - <> - {VIEWS.map(({ label, view }) => ( - - ))} - - ) -} -``` \ No newline at end of file diff --git a/.changeset/four-yaks-mate.md b/.changeset/four-yaks-mate.md deleted file mode 100644 index 9b53555df3..0000000000 --- a/.changeset/four-yaks-mate.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixes issue where opening the modal without adapters would open regular connect WC screen diff --git a/.changeset/funny-bulldogs-cheer.md b/.changeset/funny-bulldogs-cheer.md deleted file mode 100644 index 2a3b9c5282..0000000000 --- a/.changeset/funny-bulldogs-cheer.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-siwe': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Update @walletconnect packages to latest version. diff --git a/.changeset/grumpy-games-fly.md b/.changeset/grumpy-games-fly.md deleted file mode 100644 index e1d0cde782..0000000000 --- a/.changeset/grumpy-games-fly.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -'@reown/appkit-wallet-button': patch -'@reown/appkit': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch ---- - -Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. - -**Example usage** - -```tsx -import { useEffect, useState } from 'react' -import { createAppKitWalletButton } from '@reown/appkit-wallet-button' - -const appKitWalletButton = createAppKitWalletButton() - -export function YourApp() { - const [isReady, setIsReady] = useState(false) - - useEffect(() => { - // Check if Wallet Buttons are ready - if (appKitWalletButton.isReady()) { - setIsReady(true) - } else { - // Subscribe to ready state changes - appKitWalletButton.subscribeIsReady(state => { - setIsReady(state.isReady) - }) - } - }, [appKitWalletButton]) - - return ( - <> - - {' '} - - - ) -} -``` \ No newline at end of file diff --git a/.changeset/hot-dogs-rest.md b/.changeset/hot-dogs-rest.md deleted file mode 100644 index 5b4f07a583..0000000000 --- a/.changeset/hot-dogs-rest.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-scaffold-ui': patch -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixes redundant goBack call when switching to another namespace diff --git a/.changeset/nervous-bugs-brake.md b/.changeset/nervous-bugs-brake.md deleted file mode 100644 index 9ecbf4c72f..0000000000 --- a/.changeset/nervous-bugs-brake.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixes issue where appKit.getProvider() would not return correct provider. diff --git a/.changeset/nine-cats-talk.md b/.changeset/nine-cats-talk.md deleted file mode 100644 index de676ccaa1..0000000000 --- a/.changeset/nine-cats-talk.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fetches native balance when API does not support it diff --git a/.changeset/nine-chicken-join.md b/.changeset/nine-chicken-join.md deleted file mode 100644 index e34abb16fc..0000000000 --- a/.changeset/nine-chicken-join.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Refactors AppKit client to handle syncBalance call for unsupported networks as expected diff --git a/.changeset/nine-frogs-drive.md b/.changeset/nine-frogs-drive.md deleted file mode 100644 index 00b9cd3f4f..0000000000 --- a/.changeset/nine-frogs-drive.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Add defaultAccountTypes option for AppKit initialization. diff --git a/.changeset/plenty-colts-rush.md b/.changeset/plenty-colts-rush.md deleted file mode 100644 index 926ff7d74b..0000000000 --- a/.changeset/plenty-colts-rush.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' diff --git a/.changeset/pretty-impalas-sit.md b/.changeset/pretty-impalas-sit.md deleted file mode 100644 index 64aed874cd..0000000000 --- a/.changeset/pretty-impalas-sit.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-ui': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Added a loading indicator to the account button component when the balance has not been fetched. diff --git a/.changeset/rich-monkeys-smell.md b/.changeset/rich-monkeys-smell.md deleted file mode 100644 index a0856fb9cc..0000000000 --- a/.changeset/rich-monkeys-smell.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list diff --git a/.changeset/selfish-comics-rule.md b/.changeset/selfish-comics-rule.md deleted file mode 100644 index 2605ec02ab..0000000000 --- a/.changeset/selfish-comics-rule.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider diff --git a/.changeset/selfish-rivers-shout.md b/.changeset/selfish-rivers-shout.md deleted file mode 100644 index 29764b5c42..0000000000 --- a/.changeset/selfish-rivers-shout.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. diff --git a/.changeset/serious-ravens-appear.md b/.changeset/serious-ravens-appear.md deleted file mode 100644 index bc77407a11..0000000000 --- a/.changeset/serious-ravens-appear.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-siwx': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' diff --git a/.changeset/shy-lamps-build.md b/.changeset/shy-lamps-build.md deleted file mode 100644 index db27b88324..0000000000 --- a/.changeset/shy-lamps-build.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixed an issue where wagmi connectors were not appearing in the connect modal diff --git a/.changeset/sour-rules-cheer.md b/.changeset/sour-rules-cheer.md deleted file mode 100644 index 485ffc653e..0000000000 --- a/.changeset/sour-rules-cheer.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters diff --git a/.changeset/sweet-sloths-sneeze.md b/.changeset/sweet-sloths-sneeze.md deleted file mode 100644 index 550c1983ad..0000000000 --- a/.changeset/sweet-sloths-sneeze.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Removes duplicated all wallets button on AppKit Basic diff --git a/.changeset/thin-bananas-try.md b/.changeset/thin-bananas-try.md deleted file mode 100644 index da5a7e8b02..0000000000 --- a/.changeset/thin-bananas-try.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixes issue where onramp and activity were enabled in non-supported networks' diff --git a/.changeset/tricky-spies-reply.md b/.changeset/tricky-spies-reply.md deleted file mode 100644 index aa12296974..0000000000 --- a/.changeset/tricky-spies-reply.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - - Added an alert error if the analytics event fails with a forbidden status. diff --git a/.changeset/unlucky-islands-juggle.md b/.changeset/unlucky-islands-juggle.md deleted file mode 100644 index ea2c7db045..0000000000 --- a/.changeset/unlucky-islands-juggle.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit': patch -'@reown/appkit-core': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Adds authProvider to embeddedWalletInfo in useAppKitAccount diff --git a/.changeset/violet-monkeys-dream.md b/.changeset/violet-monkeys-dream.md deleted file mode 100644 index 4d5f46fd4a..0000000000 --- a/.changeset/violet-monkeys-dream.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit-adapter-bitcoin': patch -'@reown/appkit-adapter-ethers': patch -'@reown/appkit-adapter-ethers5': patch -'@reown/appkit-adapter-solana': patch -'@reown/appkit': patch -'@reown/appkit-utils': patch -'@reown/appkit-cdn': patch -'@reown/appkit-cli': patch -'@reown/appkit-common': patch -'@reown/appkit-core': patch -'@reown/appkit-experimental': patch -'@reown/appkit-polyfills': patch -'@reown/appkit-scaffold-ui': patch -'@reown/appkit-siwe': patch -'@reown/appkit-siwx': patch -'@reown/appkit-ui': patch -'@reown/appkit-wallet': patch -'@reown/appkit-wallet-button': patch ---- - -Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. diff --git a/apps/builder/components/chain-list.tsx b/apps/builder/components/chain-list.tsx new file mode 100644 index 0000000000..173f29a9f5 --- /dev/null +++ b/apps/builder/components/chain-list.tsx @@ -0,0 +1,63 @@ +'use client' + +import type { ChainNamespace } from '@reown/appkit-common' +import { useAppKitAccount } from '@reown/appkit-core/react' + +import { ExclamationMarkIcon } from '@/components/icon/exclamation-mark' +import { AlertDescription } from '@/components/ui/alert' +import { Alert } from '@/components/ui/alert' +import { useAppKitContext } from '@/hooks/use-appkit' + +import { RoundOptionItem } from './ui/round-option-item' + +const CHAIN_OPTIONS = [ + { id: 'eip155', name: 'EVM', imageSrc: '/ethereum.png' }, + { id: 'solana', name: 'Solana', imageSrc: '/solana.png' }, + { id: 'bip122', name: 'Bitcoin', imageSrc: '/bitcoin.png' } +] as { + id: ChainNamespace + name: string + imageSrc: string +}[] + +export function ChainList() { + const { caipAddress } = useAppKitAccount() + const { enabledChains, removeChain, addChain } = useAppKitContext() + const handleChainChange = (chainId: ChainNamespace) => { + if (enabledChains.includes(chainId)) { + if (enabledChains.length > 1) { + removeChain(chainId) + } + } else { + addChain(chainId) + } + } + + return ( +
+
+ {CHAIN_OPTIONS.map(chain => ( + handleChainChange(chain.id)} + name={chain.name} + /> + ))} +
+ {caipAddress ? ( + +
+ + Customizing the chains available when disconnected +
+
+ ) : null} +
+ ) +} diff --git a/apps/builder/components/configuration-sections/section-connect-options.tsx b/apps/builder/components/configuration-sections/section-connect-options.tsx index a1a18d44fa..7c726eb178 100644 --- a/apps/builder/components/configuration-sections/section-connect-options.tsx +++ b/apps/builder/components/configuration-sections/section-connect-options.tsx @@ -25,6 +25,10 @@ const SortableConnectMethodList = dynamic( } ) +const ChainList = dynamic(() => import('@/components/chain-list').then(mod => mod.ChainList), { + ssr: false +}) + export function SectionConnectOptions() { const { config, updateFeatures, updateSocials, updateEnableWallets } = useAppKitContext() const collapseWallets = config.features.collapseWallets @@ -61,19 +65,21 @@ export function SectionConnectOptions() { return (
+
Connect Options
-
-
Wallet options
+
Layout options
+
Chains
+
) } diff --git a/apps/builder/components/configuration-sections/section-wallet-features.tsx b/apps/builder/components/configuration-sections/section-wallet-features.tsx index e3e4e0745f..41931c5c0f 100644 --- a/apps/builder/components/configuration-sections/section-wallet-features.tsx +++ b/apps/builder/components/configuration-sections/section-wallet-features.tsx @@ -3,6 +3,7 @@ import { UniqueIdentifier } from '@dnd-kit/core' import { ConstantsUtil, WalletFeature } from '@reown/appkit-core' import { useAppKitAccount } from '@reown/appkit-core/react' +import { ExclamationMarkIcon } from '@/components/icon/exclamation-mark' import { SortableWalletFeatureList } from '@/components/sortable-list-wallet-features' import { Alert, AlertDescription } from '@/components/ui/alert' import { useAppKitContext } from '@/hooks/use-appkit' @@ -69,12 +70,7 @@ export function SectionWalletFeatures() { {!caipAddress ? (
- - - + Connect to a wallet to view feature customization
diff --git a/apps/builder/components/connect-method-item/connect-method-item.module.css b/apps/builder/components/connect-method-item/connect-method-item.module.css index d5b46464c4..5d93f67c8b 100644 --- a/apps/builder/components/connect-method-item/connect-method-item.module.css +++ b/apps/builder/components/connect-method-item/connect-method-item.module.css @@ -17,25 +17,25 @@ scaleY(var(--scale-y, 1)); transform-origin: 0 0; touch-action: manipulation; +} - &.fadeIn { - animation: fadeIn 500ms ease; - } +.Wrapper.fadeIn { + animation: fadeIn 500ms ease; +} - &.dragOverlay { - transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); - box-shadow: var(--box-shadow-picked-up); - z-index: 999; - opacity: 1; - } +.Wrapper.dragOverlay { + transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); + box-shadow: var(--box-shadow-picked-up); + z-index: 999; + opacity: 1; +} - &.dragging:not(.dragOverlay) { - opacity: 0.5; - display: flex; - flex-direction: column; - gap: 0.5rem; - z-index: 0; - } +.Wrapper.dragging:not(.dragOverlay) { + opacity: 0.5; + display: flex; + flex-direction: column; + gap: 0.5rem; + z-index: 0; } .Item { @@ -50,19 +50,19 @@ list-style: none; transform-origin: 50% 50%; white-space: nowrap; +} - &:not(.withHandle) { - touch-action: manipulation; - cursor: grab; - } +.Item:not(.withHandle) { + touch-action: manipulation; + cursor: grab; +} - &.disabled { - color: #999; - background-color: #f1f1f1; - cursor: not-allowed; - } +.Item.disabled { + color: #999; + background-color: #f1f1f1; + cursor: not-allowed; +} - & span { - user-select: none; - } +.Item span { + user-select: none; } diff --git a/apps/builder/components/icon/exclamation-mark.tsx b/apps/builder/components/icon/exclamation-mark.tsx new file mode 100644 index 0000000000..9929e4055c --- /dev/null +++ b/apps/builder/components/icon/exclamation-mark.tsx @@ -0,0 +1,10 @@ +export function ExclamationMarkIcon() { + return ( + + + + ) +} diff --git a/apps/builder/components/social-option-item/social-option-item.tsx b/apps/builder/components/social-option-item/social-option-item.tsx index ed2724b2e7..a0d1548fa3 100644 --- a/apps/builder/components/social-option-item/social-option-item.tsx +++ b/apps/builder/components/social-option-item/social-option-item.tsx @@ -125,7 +125,7 @@ export const SocialOptionItem = React.memo( dragOverlay && styles.dragOverlay, socials.includes(value as SocialProvider) ? 'border border-border-accent bg-background-accent-primary/10' - : 'border border-neutral-700' + : 'border border-neutral-300 dark:border-neutral-700' )} style={ { diff --git a/apps/builder/components/social-option-item/sortable-social-item.module.css b/apps/builder/components/social-option-item/sortable-social-item.module.css index 8956acd3a2..6c454612ea 100644 --- a/apps/builder/components/social-option-item/sortable-social-item.module.css +++ b/apps/builder/components/social-option-item/sortable-social-item.module.css @@ -31,25 +31,25 @@ scaleY(var(--scale-y, 1)); transform-origin: 0 0; touch-action: manipulation; +} - &.fadeIn { - animation: fadeIn 500ms ease; - } +.Wrapper.fadeIn { + animation: fadeIn 500ms ease; +} - &.dragOverlay { - --scale: 1.05; - --box-shadow: $box-shadow; - --box-shadow-picked-up: $box-shadow-border, -1px 0 15px 0 rgba(34, 33, 81, 0.01), - 0px 15px 15px 0 rgba(34, 33, 81, 0.25); - z-index: 999; - opacity: 1; - } +.Wrapper.dragOverlay { + --scale: 1.05; + --box-shadow: $box-shadow; + --box-shadow-picked-up: $box-shadow-border, -1px 0 15px 0 rgba(34, 33, 81, 0.01), + 0px 15px 15px 0 rgba(34, 33, 81, 0.25); + z-index: 999; + opacity: 1; +} - &.enabled { - --tw-border-opacity: 1; - border: 1px solid var(--wallet-connect-border-border-accent-primary, #0988f0); - background: var(--foreground-foreground-accent-primary-010, rgba(9, 136, 240, 0.1)); - } +.Wrapper.enabled { + --tw-border-opacity: 1; + border: 1px solid var(--wallet-connect-border-border-accent-primary, #0988f0); + background: var(--foreground-foreground-accent-primary-010, rgba(9, 136, 240, 0.1)); } .ListItem { @@ -70,61 +70,56 @@ user-select: none; width: 32px; height: 32px; - -webkit-tap-highlight-color: transparent; - transform: scale(var(--scale, 1)); transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); +} - &:not(.withHandle) { - touch-action: manipulation; - cursor: grab; - } +.Item:not(.withHandle) { + touch-action: manipulation; + cursor: grab; +} - &.dragging:not(.dragOverlay) { - opacity: var(--dragging-opacity, 0.5); - z-index: 0; - } +.Item.dragging:not(.dragOverlay) { + opacity: var(--dragging-opacity, 0.5); + z-index: 0; +} - &.disabled { - color: #999; - background-color: #f1f1f1; - cursor: not-allowed; - } +.Item.disabled { + color: #999; + background-color: #f1f1f1; + cursor: not-allowed; +} - &.dragOverlay { - cursor: inherit; - /* box-shadow: 0 0px 6px 2px $focused-outline-color; */ - animation: pop 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); - transform: scale(var(--scale)); - opacity: 1; - } +.Item.dragOverlay { + cursor: inherit; + animation: pop 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); + transform: scale(var(--scale)); + opacity: 1; +} - &.color:before { - content: ''; - position: absolute; - top: 50%; - transform: translateY(-50%); - left: 0; - height: 100%; - width: 3px; - display: block; - border-top-left-radius: 3px; - border-bottom-left-radius: 3px; - } +.Item.color:before { + content: ''; + position: absolute; + top: 50%; + transform: translateY(-50%); + left: 0; + height: 100%; + width: 3px; + display: block; + border-top-left-radius: 3px; + border-bottom-left-radius: 3px; +} - &:hover { - .Remove { - visibility: visible; - } - } +.Item:hover .Remove { + visibility: visible; +} - & span { - user-select: none; - } +.Item span { + user-select: none; +} - & wui-logo { - width: 32px; - height: 32px; - } +.Item wui-logo { + width: 32px; + height: 32px; } diff --git a/apps/builder/components/social-options-grid/social-options-grid.module.css b/apps/builder/components/social-options-grid/social-options-grid.module.css index 3e1be8841f..da29133873 100644 --- a/apps/builder/components/social-options-grid/social-options-grid.module.css +++ b/apps/builder/components/social-options-grid/social-options-grid.module.css @@ -4,12 +4,16 @@ grid-template-columns: repeat(var(--col-count), 1fr); grid-gap: 10px; padding: 20px; +} - @media (max-width: 850px) { +@media (max-width: 850px) { + .GridContainer { grid-template-columns: repeat(calc(var(--col-count) - 1), 1fr); } +} - @media (max-width: 650px) { +@media (max-width: 650px) { + .GridContainer { grid-template-columns: repeat(calc(var(--col-count) - 2), 1fr); } } diff --git a/apps/builder/components/ui/round-option-item.tsx b/apps/builder/components/ui/round-option-item.tsx new file mode 100644 index 0000000000..535bbc8412 --- /dev/null +++ b/apps/builder/components/ui/round-option-item.tsx @@ -0,0 +1,46 @@ +import Image from 'next/image' + +import { cn } from '@/lib/utils' + +import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from './tooltip' + +interface RoundOptionItemProps { + enabled: boolean + imageSrc: string + onChange: () => void + disabled?: boolean + name: string +} + +export function RoundOptionItem({ + enabled, + imageSrc, + onChange, + disabled, + name +}: RoundOptionItemProps) { + return ( + + + + + + +

{name}

+
+
+
+ ) +} diff --git a/apps/builder/components/ui/tooltip.tsx b/apps/builder/components/ui/tooltip.tsx new file mode 100644 index 0000000000..ddcf257796 --- /dev/null +++ b/apps/builder/components/ui/tooltip.tsx @@ -0,0 +1,33 @@ +'use client' + +import * as React from 'react' + +import * as TooltipPrimitive from '@radix-ui/react-tooltip' + +import { cn } from '@/lib/utils' + +const TooltipProvider = TooltipPrimitive.Provider + +const Tooltip = TooltipPrimitive.Root + +const TooltipTrigger = TooltipPrimitive.Trigger + +const TooltipContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, sideOffset = 4, ...props }, ref) => ( + + + +)) +TooltipContent.displayName = TooltipPrimitive.Content.displayName + +export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } diff --git a/apps/builder/components/wallet-feature-item/wallet-feature-item.module.css b/apps/builder/components/wallet-feature-item/wallet-feature-item.module.css index f629c347d6..c40f865a45 100644 --- a/apps/builder/components/wallet-feature-item/wallet-feature-item.module.css +++ b/apps/builder/components/wallet-feature-item/wallet-feature-item.module.css @@ -28,25 +28,25 @@ scaleY(var(--scale-y, 1)); transform-origin: 0 0; touch-action: manipulation; +} - &.fadeIn { - animation: fadeIn 500ms ease; - } +.Wrapper.fadeIn { + animation: fadeIn 500ms ease; +} - &.dragOverlay { - transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); - box-shadow: var(--box-shadow-picked-up); - z-index: 999; - opacity: 1; - } +.Wrapper.dragOverlay { + transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); + box-shadow: var(--box-shadow-picked-up); + z-index: 999; + opacity: 1; +} - &.dragging:not(.dragOverlay) { - opacity: var(--dragging-opacity, 0.5); - display: flex; - flex-direction: column; - gap: 0.5rem; - z-index: 0; - } +.Wrapper.dragging:not(.dragOverlay) { + opacity: var(--dragging-opacity, 0.5); + display: flex; + flex-direction: column; + gap: 0.5rem; + z-index: 0; } .ListItem { @@ -64,23 +64,22 @@ box-sizing: border-box; list-style: none; transform-origin: 50% 50%; - white-space: nowrap; transform: scale(var(--scale, 1)); transition: box-shadow 200ms cubic-bezier(0.18, 0.67, 0.6, 1.22); +} - &:not(.withHandle) { - touch-action: manipulation; - cursor: grab; - } +.Item:not(.withHandle) { + touch-action: manipulation; + cursor: grab; +} - &.disabled { - color: #999; - background-color: #f1f1f1; - cursor: not-allowed; - } +.Item.disabled { + color: #999; + background-color: #f1f1f1; + cursor: not-allowed; +} - & span { - user-select: none; - } +.Item span { + user-select: none; } diff --git a/apps/builder/contexts/appkit-context.tsx b/apps/builder/contexts/appkit-context.tsx index 2ea8a28fea..ebd4bdcf74 100644 --- a/apps/builder/contexts/appkit-context.tsx +++ b/apps/builder/contexts/appkit-context.tsx @@ -4,6 +4,7 @@ import { createContext } from 'react' import { UniqueIdentifier } from '@dnd-kit/core' +import type { ChainNamespace } from '@reown/appkit-common' import type { Features, SocialProvider, ThemeMode } from '@reown/appkit-core' import { URLState } from '@/lib/url-state' @@ -13,6 +14,9 @@ interface AppKitContextType { enableWallets: boolean socialsEnabled: boolean isDraggingByKey: Record + enabledChains: ChainNamespace[] + removeChain: (chain: ChainNamespace) => void + addChain: (chain: ChainNamespace) => void updateThemeMode: (mode: ThemeMode) => void updateFeatures: (features: Partial) => void updateSocials: (enabled: boolean) => void diff --git a/apps/builder/lib/config.ts b/apps/builder/lib/config.ts index e1e01cde92..c8d8dfbc7b 100644 --- a/apps/builder/lib/config.ts +++ b/apps/builder/lib/config.ts @@ -1,23 +1,32 @@ -import { cookieStorage, createStorage } from '@wagmi/core' +import { HuobiWalletAdapter, SolflareWalletAdapter } from '@solana/wallet-adapter-wallets' -import { WagmiAdapter } from '@reown/appkit-adapter-wagmi' -import { ConstantsUtil } from '@reown/appkit-core' +import { BitcoinAdapter } from '@reown/appkit-adapter-bitcoin' +import { EthersAdapter } from '@reown/appkit-adapter-ethers' +import { SolanaAdapter } from '@reown/appkit-adapter-solana' +import { type ChainNamespace } from '@reown/appkit-common' +import { ChainAdapter, ConstantsUtil } from '@reown/appkit-core' import { type AppKitNetwork, arbitrum, aurora, base, baseSepolia, + bitcoin, + bitcoinTestnet, gnosis, hedera, mainnet, optimism, polygon, sepolia, + solana, + solanaDevnet, unichainSepolia, zksync } from '@reown/appkit/networks' -import { ThemeMode } from '@reown/appkit/react' +import { CreateAppKit } from '@reown/appkit/react' + +import { urlStateUtils } from '@/lib/url-state' export const projectId = process.env.NEXT_PUBLIC_PROJECT_ID @@ -25,7 +34,7 @@ if (!projectId) { throw new Error('Project ID is not defined') } -const EvmNetworks = [ +const evmNetworks = [ mainnet, optimism, polygon, @@ -40,26 +49,72 @@ const EvmNetworks = [ aurora ] as [AppKitNetwork, ...AppKitNetwork[]] -export const networks = [...EvmNetworks] as [AppKitNetwork, ...AppKitNetwork[]] +export const solanaNetworks = [solana, solanaDevnet] as [AppKitNetwork, ...AppKitNetwork[]] -export const wagmiAdapter = new WagmiAdapter({ - storage: createStorage({ - storage: cookieStorage - }), - ssr: true, - projectId, - networks +export const bitcoinNetworks = [bitcoin, bitcoinTestnet] as [AppKitNetwork, ...AppKitNetwork[]] + +export const namespaceNetworksMap: Record = { + eip155: evmNetworks, + solana: solanaNetworks, + bip122: bitcoinNetworks, + // @ts-expect-error Polkadot is not supported yet + polkadot: [] +} + +export const networks = [...evmNetworks, ...solanaNetworks, ...bitcoinNetworks] as [ + AppKitNetwork, + ...AppKitNetwork[] +] + +export const evmAdapter = new EthersAdapter() + +export const solanaAdapter = new SolanaAdapter({ + wallets: [new HuobiWalletAdapter(), new SolflareWalletAdapter()] }) -export const wagmiConfig = wagmiAdapter.wagmiConfig +export const bitcoinAdapter = new BitcoinAdapter({}) -export const defaultCustomizationConfig = { - features: ConstantsUtil.DEFAULT_FEATURES, - collapseWallets: false, - enableWallets: true, - themeMode: 'dark' as ThemeMode, - themeVariables: {}, - termsConditionsUrl: 'https://reown.com/terms-of-service', - privacyPolicyUrl: 'https://reown.com/privacy-policy', - enableEmbedded: true +export const allAdapters = [evmAdapter, solanaAdapter, bitcoinAdapter] + +const metadata = { + name: 'AppKit Builder', + description: 'The full stack toolkit to build onchain app UX', + url: 'https://github.com/0xonerb/next-reown-appkit-ssr', // origin must match your domain & subdomain + icons: ['https://avatars.githubusercontent.com/u/179229932'] } + +export const initialConfig = urlStateUtils.getStateFromURL() +const initialEnabledChains = initialConfig?.enabledChains || ['eip155', 'solana', 'bip122'] + +const adapters: ChainAdapter[] = [] +const initialNetworks: AppKitNetwork[] = [] + +initialEnabledChains.forEach(chain => { + if (chain === 'eip155') { + initialNetworks.push(...evmNetworks) + return adapters.push(evmAdapter) + } + if (chain === 'solana') { + initialNetworks.push(...solanaNetworks) + return adapters.push(solanaAdapter) + } + if (chain === 'bip122') { + initialNetworks.push(...bitcoinNetworks) + return adapters.push(bitcoinAdapter) + } +}) + +export const appKitConfigs = { + adapters, + projectId, + networks: initialNetworks as [AppKitNetwork, ...AppKitNetwork[]], + defaultNetwork: mainnet, + metadata: metadata, + features: initialConfig?.features || ConstantsUtil.DEFAULT_FEATURES, + enableWallets: initialConfig?.enableWallets || true, + themeMode: initialConfig?.themeMode || 'dark', + themeVariables: initialConfig?.themeVariables || {}, + termsConditionsUrl: initialConfig?.termsConditionsUrl || '', + privacyPolicyUrl: initialConfig?.privacyPolicyUrl || '', + enableEmbedded: true +} as CreateAppKit diff --git a/apps/builder/lib/defaultConfig.ts b/apps/builder/lib/defaultConfig.ts new file mode 100644 index 0000000000..ee72c85139 --- /dev/null +++ b/apps/builder/lib/defaultConfig.ts @@ -0,0 +1,12 @@ +import { ConstantsUtil, ThemeMode } from '@reown/appkit-core' + +export const defaultCustomizationConfig = { + features: ConstantsUtil.DEFAULT_FEATURES, + collapseWallets: false, + enableWallets: true, + themeMode: 'dark' as ThemeMode, + themeVariables: {}, + termsConditionsUrl: 'https://reown.com/terms-of-service', + privacyPolicyUrl: 'https://reown.com/privacy-policy', + enableEmbedded: true +} diff --git a/apps/builder/lib/url-state.ts b/apps/builder/lib/url-state.ts index 19c6189fe6..4073952184 100644 --- a/apps/builder/lib/url-state.ts +++ b/apps/builder/lib/url-state.ts @@ -1,3 +1,4 @@ +import type { ChainNamespace } from '@reown/appkit-common' import { ConnectMethod, Features, @@ -6,7 +7,7 @@ import { WalletFeature } from '@reown/appkit-core' -import { defaultCustomizationConfig } from '@/lib/config' +import { defaultCustomizationConfig } from '@/lib/defaultConfig' export type URLState = { features: Features @@ -23,6 +24,7 @@ export type URLState = { mixColorStrength?: number borderRadius?: string fontFamily?: string + enabledChains?: ChainNamespace[] } export const urlStateUtils = { diff --git a/apps/builder/package.json b/apps/builder/package.json index f0d99eddea..b3e0f2be08 100644 --- a/apps/builder/package.json +++ b/apps/builder/package.json @@ -8,6 +8,7 @@ "start": "next start" }, "dependencies": { + "autoprefixer": "10.4.14", "@dnd-kit/core": "6.2.0", "@dnd-kit/modifiers": "8.0.0", "@dnd-kit/sortable": "9.0.0", @@ -24,11 +25,19 @@ "@radix-ui/react-slot": "1.1.0", "@radix-ui/react-switch": "1.1.1", "@radix-ui/react-tabs": "1.1.1", + "@radix-ui/react-tooltip": "1.1.6", "@reown/appkit": "workspace:*", - "@reown/appkit-adapter-wagmi": "workspace:*", + "@reown/appkit-common": "workspace:*", + "@reown/appkit-adapter-ethers": "workspace:*", + "@reown/appkit-adapter-solana": "workspace:*", + "@reown/appkit-adapter-bitcoin": "workspace:*", "@reown/appkit-core": "workspace:*", "@reown/appkit-scaffold-ui": "workspace:*", + "ethers": "6.13.2", + "@sentry/core": "8.45.1", "@sentry/nextjs": "8.45.1", + "@solana/wallet-adapter-wallets": "0.19.32", + "@solana/web3.js": "1.95.8", "@tanstack/react-query": "5.56.2", "@wagmi/core": "2.13.8", "class-variance-authority": "0.7.0", diff --git a/apps/builder/postcss.config.mjs b/apps/builder/postcss.config.mjs index b1d7bf474c..f193efe51b 100644 --- a/apps/builder/postcss.config.mjs +++ b/apps/builder/postcss.config.mjs @@ -1,7 +1,10 @@ /** @type {import('postcss-load-config').Config} */ const config = { plugins: { - tailwindcss: {} + 'postcss-import': {}, + 'tailwindcss/nesting': {}, + tailwindcss: {}, + autoprefixer: {} } } diff --git a/apps/builder/providers/appkit-context-provider.tsx b/apps/builder/providers/appkit-context-provider.tsx index c882dafca0..0e6a7ced80 100644 --- a/apps/builder/providers/appkit-context-provider.tsx +++ b/apps/builder/providers/appkit-context-provider.tsx @@ -7,11 +7,13 @@ import { useTheme } from 'next-themes' import { Toaster } from 'sonner' import { useSnapshot } from 'valtio' +import { type ChainNamespace } from '@reown/appkit-common' import { ConnectMethod, ConstantsUtil } from '@reown/appkit-core' import { Features, ThemeMode, ThemeVariables, useAppKitState } from '@reown/appkit/react' import { AppKitContext } from '@/contexts/appkit-context' -import { defaultCustomizationConfig } from '@/lib/config' +import { allAdapters, initialConfig, namespaceNetworksMap } from '@/lib/config' +import { defaultCustomizationConfig } from '@/lib/defaultConfig' import { inter } from '@/lib/fonts' import { URLState, urlStateUtils } from '@/lib/url-state' @@ -26,8 +28,6 @@ interface AppKitProviderProps { initialConfig?: URLState | null } -const initialConfig = urlStateUtils.getStateFromURL() - export const ContextProvider: React.FC = ({ children }) => { const { initialized } = useAppKitState() @@ -47,6 +47,9 @@ export const ContextProvider: React.FC = ({ children }) => wallet: false, social: false }) + const [enabledChains, setEnabledChains] = useState( + initialConfig?.enabledChains || ['eip155', 'solana', 'bip122'] + ) const themeStore = useSnapshot(ThemeStore.state) const appKit = themeStore.modal @@ -57,6 +60,28 @@ export const ContextProvider: React.FC = ({ children }) => })) } + function removeChain(chain: ChainNamespace) { + setEnabledChains(prev => { + const newEnabledChains = prev.filter(c => c !== chain) + urlStateUtils.updateURLWithState({ enabledChains: newEnabledChains }) + return newEnabledChains + }) + appKit?.removeAdapter(chain) + } + + function addChain(chain: ChainNamespace) { + setEnabledChains(prev => { + const newEnabledChains = [...prev, chain] + urlStateUtils.updateURLWithState({ enabledChains: newEnabledChains }) + return newEnabledChains + }) + // Doing this inside the setEnabledChains calling it two times - not sure why + const adapter = allAdapters.find(a => a.namespace === chain) + if (adapter) { + appKit?.addAdapter(adapter, namespaceNetworksMap[chain]) + } + } + function updateFeatures(newFeatures: Partial) { setFeatures(prev => { // Update the AppKit state first @@ -164,6 +189,9 @@ export const ContextProvider: React.FC = ({ children }) => termsConditionsUrl, privacyPolicyUrl }, + enabledChains, + removeChain, + addChain, socialsEnabled, enableWallets, isDraggingByKey, diff --git a/apps/builder/providers/appkit-provider.tsx b/apps/builder/providers/appkit-provider.tsx index 836d288407..e052b10808 100644 --- a/apps/builder/providers/appkit-provider.tsx +++ b/apps/builder/providers/appkit-provider.tsx @@ -2,18 +2,12 @@ import React, { type ReactNode } from 'react' -import { QueryClient, QueryClientProvider } from '@tanstack/react-query' -import { type Config, WagmiProvider, cookieToInitialState } from 'wagmi' +import { ref } from 'valtio/vanilla' -import { ConstantsUtil } from '@reown/appkit-core' -import { mainnet } from '@reown/appkit/networks' import { createAppKit } from '@reown/appkit/react' -import { networks, wagmiAdapter } from '@/lib/config' +import { appKitConfigs, initialConfig } from '@/lib/config' import { ThemeStore } from '@/lib/theme-store' -import { urlStateUtils } from '@/lib/url-state' - -const queryClient = new QueryClient() const projectId = process.env.NEXT_PUBLIC_PROJECT_ID @@ -21,45 +15,16 @@ if (!projectId) { throw new Error('Project ID is not defined') } -const metadata = { - name: 'AppKit Builder', - description: 'The full stack toolkit to build onchain app UX', - url: window?.origin || 'https://demo.reown.com', // origin must match your domain & subdomain - icons: ['https://avatars.githubusercontent.com/u/179229932'] -} - -const initialConfig = urlStateUtils.getStateFromURL() +export const modal = createAppKit(appKitConfigs) -export const modal = createAppKit({ - adapters: [wagmiAdapter], - projectId, - networks, - defaultNetwork: mainnet, - metadata: metadata, - features: initialConfig?.features || ConstantsUtil.DEFAULT_FEATURES, - enableWallets: initialConfig?.enableWallets || true, - themeMode: initialConfig?.themeMode || 'dark', - themeVariables: initialConfig?.themeVariables || {}, - termsConditionsUrl: initialConfig?.termsConditionsUrl || '', - privacyPolicyUrl: initialConfig?.privacyPolicyUrl || '', - disableAppend: true -}) - -ThemeStore.setModal(modal) +ThemeStore.setModal(ref(modal)) ThemeStore.initializeThemeVariables(initialConfig?.themeVariables || {}) -export function AppKitProvider({ - children, - cookies -}: { +type AppKitProviderProps = { children: ReactNode cookies: string | null -}) { - const initialState = cookieToInitialState(wagmiAdapter.wagmiConfig as Config, cookies) +} - return ( - - {children} - - ) +export function AppKitProvider({ children, cookies }: AppKitProviderProps) { + return <>{children} } diff --git a/apps/builder/public/bitcoin.png b/apps/builder/public/bitcoin.png new file mode 100644 index 0000000000..d7fb05a43a Binary files /dev/null and b/apps/builder/public/bitcoin.png differ diff --git a/apps/builder/public/ethereum.png b/apps/builder/public/ethereum.png new file mode 100644 index 0000000000..e111674c6e Binary files /dev/null and b/apps/builder/public/ethereum.png differ diff --git a/apps/builder/public/solana.png b/apps/builder/public/solana.png new file mode 100644 index 0000000000..abe523d71e Binary files /dev/null and b/apps/builder/public/solana.png differ diff --git a/apps/laboratory/src/components/DefaultSIWXStatus.tsx b/apps/laboratory/src/components/DefaultSIWXStatus.tsx new file mode 100644 index 0000000000..c68118c7f1 --- /dev/null +++ b/apps/laboratory/src/components/DefaultSIWXStatus.tsx @@ -0,0 +1,44 @@ +'use client' + +import { useEffect, useState } from 'react' + +import { Card, CardHeader, Code, Heading, Text } from '@chakra-ui/react' + +export interface DefaultSIWXStatusProps { + localStorageKey?: string +} + +export function DefaultSIWXStatus({ localStorageKey = '@appkit/siwx' }: DefaultSIWXStatusProps) { + const [status, setStatus] = useState('') + + useEffect(() => { + const interval = setInterval(() => { + const newStatus = localStorage.getItem(localStorageKey) || '' + if (newStatus !== status) { + setStatus(newStatus) + } + }, 1000) + + return () => { + clearInterval(interval) + } + }, []) + + if (!status) { + return null + } + + return ( + + + SIWX Status + + + Below is shown the data stored for SIWX sessions: + + + {JSON.stringify(JSON.parse(status), null, 2)} + + + ) +} diff --git a/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsAsyncTest.tsx b/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsAsyncTest.tsx index 06c4643273..3116ff96eb 100644 --- a/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsAsyncTest.tsx +++ b/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsAsyncTest.tsx @@ -1,4 +1,4 @@ -import { useCallback, useMemo, useState } from 'react' +import { useCallback, useState } from 'react' import { Button, Stack, Text } from '@chakra-ui/react' import { type Address, toHex } from 'viem' @@ -18,10 +18,10 @@ import { getPurchaseDonutPermissions } from '../../utils/ERC7715Utils' import { useChakraToast } from '../Toast' export function WagmiRequestPermissionsAsyncTest() { - const { address, isConnected, status } = useAppKitAccount() + const { address, isConnected } = useAppKitAccount() const { chainId } = useAppKitNetwork() - const isSupported = useMemo(() => isSmartSessionSupported(), [status]) + const isSupported = isSmartSessionSupported() if (!isConnected || !address || !chainId) { return ( diff --git a/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsSyncTest.tsx b/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsSyncTest.tsx index 8fa3e5e54c..9f1a5e0381 100644 --- a/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsSyncTest.tsx +++ b/apps/laboratory/src/components/Wagmi/WagmiRequestPermissionsSyncTest.tsx @@ -1,4 +1,4 @@ -import { useCallback, useMemo, useState } from 'react' +import { useCallback, useState } from 'react' import { Button, Stack, Text } from '@chakra-ui/react' import { type Address, toHex } from 'viem' @@ -18,9 +18,9 @@ import { getPurchaseDonutPermissions } from '../../utils/ERC7715Utils' import { useChakraToast } from '../Toast' export function WagmiRequestPermissionsSyncTest() { - const { address, isConnected, status } = useAppKitAccount() + const { address, isConnected } = useAppKitAccount() const { chainId } = useAppKitNetwork() - const isSupported = useMemo(() => isSmartSessionSupported(), [status]) + const isSupported = isSmartSessionSupported() if (!isConnected || !address || !chainId) { return ( diff --git a/apps/laboratory/src/pages/library/siwx-default.tsx b/apps/laboratory/src/pages/library/siwx-default.tsx index b7fe6ff9fe..9bf822c673 100644 --- a/apps/laboratory/src/pages/library/siwx-default.tsx +++ b/apps/laboratory/src/pages/library/siwx-default.tsx @@ -5,9 +5,13 @@ import { EthersAdapter } from '@reown/appkit-adapter-ethers' import { SolanaAdapter } from '@reown/appkit-adapter-solana' import { DefaultSIWX } from '@reown/appkit-siwx' import { mainnet } from '@reown/appkit/networks' -import { createAppKit } from '@reown/appkit/react' +import { createAppKit, useAppKitNetwork } from '@reown/appkit/react' import { AppKitButtons } from '../../components/AppKitButtons' +import { BitcoinTests } from '../../components/Bitcoin/BitcoinTests' +import { DefaultSIWXStatus } from '../../components/DefaultSIWXStatus' +import { EthersTests } from '../../components/Ethers/EthersTests' +import { SolanaTests } from '../../components/Solana/SolanaTests' import { ConstantsUtil } from '../../utils/ConstantsUtil' import { ThemeStore } from '../../utils/StoreUtil' @@ -38,9 +42,16 @@ const modal = createAppKit({ ThemeStore.setModal(modal) export default function SIWXDefault() { + const { caipNetwork } = useAppKitNetwork() + return ( <> + + + {caipNetwork?.chainNamespace === 'eip155' && } + {caipNetwork?.chainNamespace === 'solana' && } + {caipNetwork?.chainNamespace === 'bip122' && } ) } diff --git a/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx b/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx index aecef4d34a..94583b96cc 100644 --- a/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx +++ b/apps/laboratory/src/pages/library/wagmi-permissions-async.tsx @@ -2,7 +2,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { WagmiProvider } from 'wagmi' import { WagmiAdapter } from '@reown/appkit-adapter-wagmi' -import { type AppKitNetwork, baseSepolia, sepolia } from '@reown/appkit/networks' +import { type AppKitNetwork, base, baseSepolia, sepolia } from '@reown/appkit/networks' import { createAppKit } from '@reown/appkit/react' import { AppKitButtons } from '../../components/AppKitButtons' @@ -14,7 +14,7 @@ import { ThemeStore } from '../../utils/StoreUtil' const queryClient = new QueryClient() -const networks = [baseSepolia, sepolia] as [AppKitNetwork, ...AppKitNetwork[]] +const networks = [baseSepolia, sepolia, base] as [AppKitNetwork, ...AppKitNetwork[]] const wagmiAdapter = new WagmiAdapter({ ssr: true, diff --git a/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx b/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx index 10db7234d8..1bbc2e5619 100644 --- a/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx +++ b/apps/laboratory/src/pages/library/wagmi-permissions-sync.tsx @@ -2,7 +2,7 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query' import { WagmiProvider } from 'wagmi' import { WagmiAdapter } from '@reown/appkit-adapter-wagmi' -import { type AppKitNetwork, baseSepolia, sepolia } from '@reown/appkit/networks' +import { type AppKitNetwork, base, baseSepolia, sepolia } from '@reown/appkit/networks' import { createAppKit } from '@reown/appkit/react' import { AppKitButtons } from '../../components/AppKitButtons' @@ -14,7 +14,7 @@ import { ThemeStore } from '../../utils/StoreUtil' const queryClient = new QueryClient() -const networks = [baseSepolia, sepolia] as [AppKitNetwork, ...AppKitNetwork[]] +const networks = [baseSepolia, sepolia, base] as [AppKitNetwork, ...AppKitNetwork[]] const wagmiAdapter = new WagmiAdapter({ ssr: true, diff --git a/examples/next-wagmi-app-router/src/context/index.tsx b/examples/next-wagmi-app-router/src/context/index.tsx index 3a8aa974eb..00e657e67e 100644 --- a/examples/next-wagmi-app-router/src/context/index.tsx +++ b/examples/next-wagmi-app-router/src/context/index.tsx @@ -18,27 +18,6 @@ if (!projectId) { throw new Error('Project ID is not defined') } -// Set up metadata -export const appKitMetadata = { - name: 'AppKit Next.js Wagmi', - description: 'AppKit Next.js App Router Wagmi Example', - url: 'https://github.com/0xonerb/next-reown-appkit-ssr', // origin must match your domain & subdomain - icons: ['https://avatars.githubusercontent.com/u/179229932'] -} - -// Create the modal -export const modal = createAppKit({ - adapters: [wagmiAdapter], - projectId, - networks, - defaultNetwork: mainnet, - metadata: appKitMetadata, - themeMode: 'light', - features: { - analytics: true // Optional - defaults to your Cloud configuration - } -}) - function ContextProvider({ children, cookies }: { children: ReactNode; cookies: string | null }) { const initialState = cookieToInitialState(wagmiAdapter.wagmiConfig as Config, cookies) diff --git a/package.json b/package.json index c9642cef2a..050d9c9965 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ "builder:build": "pnpm build; pnpm --filter @apps/builder build", "laboratory-new": "pnpm --filter @apps/laboratory-new dev", "browser-extension": "pnpm --filter @apps/browser-extension dev", - "demo": "turbo run dev --filter={./apps/demo}", "examples": "turbo run dev --filter={./examples/*}", "build:gallery": "pnpm build; pnpm --filter=./apps/gallery build", "build:gallery-new": "pnpm build; pnpm --filter=./apps/gallery-new build", diff --git a/packages/adapters/bitcoin/CHANGELOG.md b/packages/adapters/bitcoin/CHANGELOG.md index 9f0611cca4..d017c734f8 100644 --- a/packages/adapters/bitcoin/CHANGELOG.md +++ b/packages/adapters/bitcoin/CHANGELOG.md @@ -1,5 +1,149 @@ # @reown/appkit-adapter-bitcoin +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/adapters/bitcoin/package.json b/packages/adapters/bitcoin/package.json index 36aeb23875..1982e9ba83 100644 --- a/packages/adapters/bitcoin/package.json +++ b/packages/adapters/bitcoin/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-adapter-bitcoin", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/adapters/ethers/CHANGELOG.md b/packages/adapters/ethers/CHANGELOG.md index 97ef7e036c..fb245e2d81 100644 --- a/packages/adapters/ethers/CHANGELOG.md +++ b/packages/adapters/ethers/CHANGELOG.md @@ -1,5 +1,154 @@ # @reown/appkit-adapter-ethers +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-polyfills@1.6.5 + - @reown/appkit-scaffold-ui@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/adapters/ethers/package.json b/packages/adapters/ethers/package.json index f03b9c934a..b631e6ac3d 100644 --- a/packages/adapters/ethers/package.json +++ b/packages/adapters/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-adapter-ethers", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/src/index.js", "types": "./dist/types/src/index.d.ts", diff --git a/packages/adapters/ethers5/CHANGELOG.md b/packages/adapters/ethers5/CHANGELOG.md index 99e724a5c7..bd3ec66380 100644 --- a/packages/adapters/ethers5/CHANGELOG.md +++ b/packages/adapters/ethers5/CHANGELOG.md @@ -1,5 +1,154 @@ # @reown/appkit-adapter-ethers5 +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-polyfills@1.6.5 + - @reown/appkit-scaffold-ui@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/adapters/ethers5/package.json b/packages/adapters/ethers5/package.json index f0cfa6f77e..501d62b1a5 100644 --- a/packages/adapters/ethers5/package.json +++ b/packages/adapters/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-adapter-ethers5", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/src/index.js", "types": "./dist/types/src/index.d.ts", diff --git a/packages/adapters/solana/CHANGELOG.md b/packages/adapters/solana/CHANGELOG.md index 6348ea6468..5888981d3c 100644 --- a/packages/adapters/solana/CHANGELOG.md +++ b/packages/adapters/solana/CHANGELOG.md @@ -1,5 +1,154 @@ # @reown/appkit-adapter-solana +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-polyfills@1.6.5 + - @reown/appkit-scaffold-ui@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/adapters/solana/package.json b/packages/adapters/solana/package.json index 37878bb4f9..7761dbe050 100644 --- a/packages/adapters/solana/package.json +++ b/packages/adapters/solana/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-adapter-solana", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/src/index.js", "types": "./dist/types/src/index.d.ts", diff --git a/packages/adapters/solana/src/providers/AuthProvider.ts b/packages/adapters/solana/src/providers/AuthProvider.ts index c55ad9fc93..4f9127a349 100644 --- a/packages/adapters/solana/src/providers/AuthProvider.ts +++ b/packages/adapters/solana/src/providers/AuthProvider.ts @@ -18,7 +18,7 @@ import { ProviderEventEmitter } from './shared/ProviderEventEmitter.js' export class AuthProvider extends ProviderEventEmitter implements SolanaProvider { public readonly id = ConstantsUtil.CONNECTOR_ID.AUTH - public readonly name = ConstantsUtil.CONNECTOR_ID.AUTH + public readonly name = ConstantsUtil.CONNECTOR_NAMES.AUTH public readonly type = 'AUTH' public readonly chain = ConstantsUtil.CHAIN.SOLANA public readonly provider: W3mFrameProvider diff --git a/packages/adapters/solana/src/tests/AuthProvider.test.ts b/packages/adapters/solana/src/tests/AuthProvider.test.ts index 415ee4e3b7..5938b2776e 100644 --- a/packages/adapters/solana/src/tests/AuthProvider.test.ts +++ b/packages/adapters/solana/src/tests/AuthProvider.test.ts @@ -1,5 +1,7 @@ import { beforeEach, describe, expect, it, vi } from 'vitest' +import { ConstantsUtil } from '@reown/appkit-common' + import { AuthProvider } from '../providers/AuthProvider' import { mockLegacyTransaction, mockVersionedTransaction } from './mocks/Transaction' import { mockW3mFrameProvider } from './mocks/W3mFrameProvider' @@ -24,6 +26,18 @@ describe('AuthProvider specific tests', () => { }) }) + it('should have correct metadata', () => { + expect(authProvider).toEqual( + expect.objectContaining({ + id: ConstantsUtil.CONNECTOR_ID.AUTH, + name: ConstantsUtil.CONNECTOR_NAMES.AUTH, + type: 'AUTH', + chain: ConstantsUtil.CHAIN.SOLANA, + provider + }) + ) + }) + it('should call connect', async () => { await authProvider.connect() diff --git a/packages/adapters/wagmi/CHANGELOG.md b/packages/adapters/wagmi/CHANGELOG.md index 9e8fe20aa3..9394e4bad1 100644 --- a/packages/adapters/wagmi/CHANGELOG.md +++ b/packages/adapters/wagmi/CHANGELOG.md @@ -1,5 +1,154 @@ # @reown/appkit-adapter-wagmi +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-polyfills@1.6.5 + - @reown/appkit-scaffold-ui@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/adapters/wagmi/package.json b/packages/adapters/wagmi/package.json index ac86555339..5e00e432bc 100644 --- a/packages/adapters/wagmi/package.json +++ b/packages/adapters/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-adapter-wagmi", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/src/index.js", "types": "./dist/types/src/index.d.ts", diff --git a/packages/adapters/wagmi/src/connectors/AuthConnector.ts b/packages/adapters/wagmi/src/connectors/AuthConnector.ts index 6e461067cc..a4fb5f6507 100644 --- a/packages/adapters/wagmi/src/connectors/AuthConnector.ts +++ b/packages/adapters/wagmi/src/connectors/AuthConnector.ts @@ -34,7 +34,7 @@ export function authConnector(parameters: AuthParameters) { return createConnector(config => ({ id: CommonConstantsUtil.CONNECTOR_ID.AUTH, - name: 'AppKit Auth', + name: CommonConstantsUtil.CONNECTOR_NAMES.AUTH, type: 'AUTH', chain: CommonConstantsUtil.CHAIN.EVM, diff --git a/packages/appkit-utils/CHANGELOG.md b/packages/appkit-utils/CHANGELOG.md index 5cf96032d5..b3ce7ffa0e 100644 --- a/packages/appkit-utils/CHANGELOG.md +++ b/packages/appkit-utils/CHANGELOG.md @@ -1,5 +1,150 @@ # @reown/appkit-utils +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-polyfills@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/appkit-utils/package.json b/packages/appkit-utils/package.json index 952ee63387..7227148b49 100644 --- a/packages/appkit-utils/package.json +++ b/packages/appkit-utils/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-utils", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/appkit/CHANGELOG.md b/packages/appkit/CHANGELOG.md index 154e296820..91f5339a94 100644 --- a/packages/appkit/CHANGELOG.md +++ b/packages/appkit/CHANGELOG.md @@ -1,5 +1,154 @@ # @reown/appkit +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-polyfills@1.6.5 + - @reown/appkit-scaffold-ui@1.6.5 + - @reown/appkit-siwe@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/appkit/package.json b/packages/appkit/package.json index b9353b990a..0a181f6483 100644 --- a/packages/appkit/package.json +++ b/packages/appkit/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/appkit/src/adapters/ChainAdapterBlueprint.ts b/packages/appkit/src/adapters/ChainAdapterBlueprint.ts index 6025af47fe..ab84b4ed1f 100644 --- a/packages/appkit/src/adapters/ChainAdapterBlueprint.ts +++ b/packages/appkit/src/adapters/ChainAdapterBlueprint.ts @@ -105,7 +105,7 @@ export abstract class AdapterBlueprint< this.addConnector({ id: CommonConstantsUtil.CONNECTOR_ID.AUTH, type: 'AUTH', - name: 'Auth', + name: CommonConstantsUtil.CONNECTOR_NAMES.AUTH, provider: authProvider, imageId: PresetsUtil.ConnectorImageIds[CommonConstantsUtil.CONNECTOR_ID.AUTH], chain: this.namespace, diff --git a/packages/cdn/CHANGELOG.md b/packages/cdn/CHANGELOG.md index 66cc188413..a44690fdf3 100644 --- a/packages/cdn/CHANGELOG.md +++ b/packages/cdn/CHANGELOG.md @@ -1,5 +1,152 @@ # @reown/appkit-cdn +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-adapter-solana@1.6.5 + - @reown/appkit-adapter-ethers@1.6.5 + - @reown/appkit-adapter-ethers5@1.6.5 + - @reown/appkit-adapter-wagmi@1.6.5 + - @reown/appkit@1.6.5 + - @reown/appkit-polyfills@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/cdn/package.json b/packages/cdn/package.json index 7a3e2edf3b..e742f66e1b 100644 --- a/packages/cdn/package.json +++ b/packages/cdn/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-cdn", - "version": "1.6.4", + "version": "1.6.5", "main": "dist/wagmi.js", "type": "module", "files": [ diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index dc3eae1361..6d75e8b291 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,144 @@ # @reown/appkit-cli +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + ## 1.6.4 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index 7e3a6cce39..c590a35eff 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-cli", - "version": "1.6.4", + "version": "1.6.5", "description": "Reown AppKit CLI", "main": "index.js", "type": "module", diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index 92bf8cd005..332087a3a0 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,144 @@ # @reown/appkit-common +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + ## 1.6.4 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 2e8a4fe4f2..70e368efcd 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-common", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/common/src/utils/ConstantsUtil.ts b/packages/common/src/utils/ConstantsUtil.ts index ca46c73d1f..a0ca9d3bb4 100644 --- a/packages/common/src/utils/ConstantsUtil.ts +++ b/packages/common/src/utils/ConstantsUtil.ts @@ -18,6 +18,9 @@ export const ConstantsUtil = { EIP6963: 'eip6963', AUTH: 'ID_AUTH' }, + CONNECTOR_NAMES: { + AUTH: 'Auth' + }, AUTH_CONNECTOR_SUPPORTED_CHAINS: ['eip155', 'solana'], LIMITS: { PENDING_TRANSACTIONS: 99 diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 551fa6ef63..33a6fc073a 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,148 @@ # @reown/appkit-core +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-common@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 54c5c5bccf..4bb087cfd7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-core", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/core/src/controllers/ChainController.ts b/packages/core/src/controllers/ChainController.ts index aa761fb09a..fc6d4374b3 100644 --- a/packages/core/src/controllers/ChainController.ts +++ b/packages/core/src/controllers/ChainController.ts @@ -6,6 +6,7 @@ import { type CaipNetwork, type CaipNetworkId, type ChainNamespace, + ConstantsUtil as CommonConstantsUtil, NetworkUtil } from '@reown/appkit-common' @@ -153,6 +154,17 @@ export const ChainController = { }, removeAdapter(namespace: ChainNamespace) { + if (state.activeChain === namespace) { + const nextAdapter = Array.from(state.chains.entries()).find( + ([chainNamespace]) => chainNamespace !== namespace + ) + if (nextAdapter) { + const caipNetwork = nextAdapter[1]?.caipNetworks?.[0] + if (caipNetwork) { + this.setActiveCaipNetwork(caipNetwork) + } + } + } state.chains.delete(namespace) }, @@ -599,5 +611,29 @@ export const ChainController = { setIsSwitchingNamespace(isSwitchingNamespace: boolean) { state.isSwitchingNamespace = isSwitchingNamespace + }, + + getFirstCaipNetworkSupportsAuthConnector() { + const availableChains: ChainNamespace[] = [] + let firstCaipNetwork: CaipNetwork | undefined = undefined + + state.chains.forEach(chain => { + if (CommonConstantsUtil.AUTH_CONNECTOR_SUPPORTED_CHAINS.find(ns => ns === chain.namespace)) { + if (chain.namespace) { + availableChains.push(chain.namespace) + } + } + }) + + if (availableChains.length > 0) { + const firstAvailableChain = availableChains[0] + firstCaipNetwork = firstAvailableChain + ? state.chains.get(firstAvailableChain)?.caipNetworks?.[0] + : undefined + + return firstCaipNetwork + } + + return undefined } } diff --git a/packages/core/src/utils/TypeUtil.ts b/packages/core/src/utils/TypeUtil.ts index 55f994c3ab..3ae0954213 100644 --- a/packages/core/src/utils/TypeUtil.ts +++ b/packages/core/src/utils/TypeUtil.ts @@ -973,7 +973,7 @@ export type ChainAdapter = { accountState?: AdapterAccountState networkState?: AdapterNetworkState namespace?: ChainNamespace - caipNetworks?: CaipNetwork[] | AppKitNetwork[] + caipNetworks?: CaipNetwork[] projectId?: string adapterType?: string } diff --git a/packages/experimental/CHANGELOG.md b/packages/experimental/CHANGELOG.md index 4acd5ab43a..65f5d17e2f 100644 --- a/packages/experimental/CHANGELOG.md +++ b/packages/experimental/CHANGELOG.md @@ -1,5 +1,150 @@ # @reown/appkit-experimental +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-ui@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/experimental/package.json b/packages/experimental/package.json index c5d0f23f1b..9376fb5c68 100644 --- a/packages/experimental/package.json +++ b/packages/experimental/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-experimental", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index dbf0034520..87aee25941 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,144 @@ # @reown/appkit-polyfills +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + ## 1.6.4 ### Patch Changes diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index 0489000d09..4412829635 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-polyfills", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/scaffold-ui/CHANGELOG.md b/packages/scaffold-ui/CHANGELOG.md index 5fec2966f8..a9d266023f 100644 --- a/packages/scaffold-ui/CHANGELOG.md +++ b/packages/scaffold-ui/CHANGELOG.md @@ -1,5 +1,151 @@ # @reown/appkit-scaffold-ui +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/scaffold-ui/package.json b/packages/scaffold-ui/package.json index d1835064b1..686dcd1a38 100644 --- a/packages/scaffold-ui/package.json +++ b/packages/scaffold-ui/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-scaffold-ui", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/scaffold-ui/src/modal/w3m-modal/index.ts b/packages/scaffold-ui/src/modal/w3m-modal/index.ts index 19b3c278ad..7dafd11ed3 100644 --- a/packages/scaffold-ui/src/modal/w3m-modal/index.ts +++ b/packages/scaffold-ui/src/modal/w3m-modal/index.ts @@ -234,6 +234,12 @@ export class W3mModal extends LitElement { const isSwitchingNamespace = ChainController.state.isSwitchingNamespace const isUnsupportedNetwork = this.caipNetwork?.name === ConstantsUtil.UNSUPPORTED_NETWORK_NAME + /** + * If user is on connecting external, there is a case that they might select a connector which is in another adapter. + * In this case, we are switching both network and namespace. And this logic will be triggered. + * But we don't want to go back because we are already on the connecting external view. + */ + const isConnectingExternal = RouterController.state.view === 'ConnectingExternal' // If user is not connected, we should go back const isNotConnected = !this.caipAddress // If network has been changed in the same namespace and it's not an unsupported network, we should go back @@ -242,7 +248,10 @@ export class W3mModal extends LitElement { // If user is on the unsupported network screen, we should go back when network has been changed const isUnsupportedNetworkScreen = RouterController.state.view === 'UnsupportedChain' - if (isNotConnected || isUnsupportedNetworkScreen || isNetworkChangedInSameNamespace) { + if ( + !isConnectingExternal && + (isNotConnected || isUnsupportedNetworkScreen || isNetworkChangedInSameNamespace) + ) { RouterController.goBack() } diff --git a/packages/scaffold-ui/src/partials/w3m-email-login-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-email-login-widget/index.ts index d6ee0c0f99..b72eb4c34b 100644 --- a/packages/scaffold-ui/src/partials/w3m-email-login-widget/index.ts +++ b/packages/scaffold-ui/src/partials/w3m-email-login-widget/index.ts @@ -102,17 +102,22 @@ export class W3mEmailLoginWidget extends LitElement { } private async onSubmitEmail(event: Event) { - const availableChains = [ConstantsUtil.CHAIN.EVM, ConstantsUtil.CHAIN.SOLANA] - const isAvailableChain = availableChains.find( + const isAvailableChain = ConstantsUtil.AUTH_CONNECTOR_SUPPORTED_CHAINS.find( chain => chain === ChainController.state.activeChain ) if (!isAvailableChain) { - RouterController.push('SwitchActiveChain', { - switchToChain: ConstantsUtil.CHAIN.EVM - }) + const caipNetwork = ChainController.getFirstCaipNetworkSupportsAuthConnector() - return + if (caipNetwork) { + /** + * If we are trying to call this function when active network is nut supported by auth connector, we should switch to the first available network + * This will redirect us to SwitchNetwork screen and back to the current screen again + */ + RouterController.push('SwitchNetwork', { network: caipNetwork }) + + return + } } try { diff --git a/packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts b/packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts index d73fffb7ed..905211344a 100644 --- a/packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts +++ b/packages/scaffold-ui/src/partials/w3m-social-login-widget/index.ts @@ -2,6 +2,7 @@ import { LitElement, html } from 'lit' import { property, state } from 'lit/decorators.js' import { ifDefined } from 'lit/directives/if-defined.js' +import { ConstantsUtil as CommonConstantsUtil } from '@reown/appkit-common' import { AccountController, ChainController, @@ -182,6 +183,24 @@ export class W3mSocialLoginWidget extends LitElement { } async onSocialClick(socialProvider?: SocialProvider) { + const isAvailableChain = CommonConstantsUtil.AUTH_CONNECTOR_SUPPORTED_CHAINS.find( + chain => chain === ChainController.state.activeChain + ) + + if (!isAvailableChain) { + /** + * If we are trying to call this function when active network is nut supported by auth connector, we should switch to the first available network + * This will redirect us to SwitchNetwork screen and back to the current screen again + */ + const caipNetwork = ChainController.getFirstCaipNetworkSupportsAuthConnector() + + if (caipNetwork) { + RouterController.push('SwitchNetwork', { network: caipNetwork }) + + return + } + } + if (socialProvider) { AccountController.setSocialProvider(socialProvider, ChainController.state.activeChain) diff --git a/packages/scaffold-ui/src/views/w3m-connect-view/index.ts b/packages/scaffold-ui/src/views/w3m-connect-view/index.ts index ea97d3ac6a..81bc867404 100644 --- a/packages/scaffold-ui/src/views/w3m-connect-view/index.ts +++ b/packages/scaffold-ui/src/views/w3m-connect-view/index.ts @@ -4,16 +4,20 @@ import { state } from 'lit/decorators/state.js' import { classMap } from 'lit/directives/class-map.js' import { ifDefined } from 'lit/directives/if-defined.js' +import { ConstantsUtil } from '@reown/appkit-common' import { ChainController, ConnectionController, + type Connector, ConnectorController, CoreHelperUtil, + type Features, OptionsController, RouterController, type WalletGuideType } from '@reown/appkit-core' import { MathUtil, customElement } from '@reown/appkit-ui' +import { ConstantsUtil as AppKitConstantsUtil } from '@reown/appkit-utils' import { WalletUtil } from '../../utils/WalletUtil.js' import styles from './styles.js' @@ -37,6 +41,8 @@ export class W3mConnectView extends LitElement { @state() private enableWallets = OptionsController.state.enableWallets + @state() private noAdapters = ChainController.state.noAdapters + @property() private walletGuide: WalletGuideType = 'get-started' @state() private checked = false @@ -46,6 +52,8 @@ export class W3mConnectView extends LitElement { @state() private isSocialEnabled = this.features?.socials && this.features.socials.length > 0 && !ChainController.state.noAdapters + @state() private isAuthEnabled = this.checkIfAuthEnabled(this.connectors) + private resizeObserver?: ResizeObserver public constructor() { @@ -54,13 +62,15 @@ export class W3mConnectView extends LitElement { ConnectorController.subscribeKey('connectors', val => { this.connectors = val this.authConnector = this.connectors.find(c => c.type === 'AUTH') + this.isAuthEnabled = this.checkIfAuthEnabled(this.connectors) }), - OptionsController.subscribeKey('features', val => (this.features = val)), + OptionsController.subscribeKey('features', val => + this.setEmailAndSocialEnableCheck(val, this.noAdapters) + ), OptionsController.subscribeKey('enableWallets', val => (this.enableWallets = val)), - ChainController.subscribeKey('noAdapters', val => { - this.isEmailEnabled = this.features?.email && !val - this.isSocialEnabled = this.features?.socials && this.features.socials.length > 0 && !val - }) + ChainController.subscribeKey('noAdapters', val => + this.setEmailAndSocialEnableCheck(this.features, val) + ) ) } @@ -139,6 +149,22 @@ export class W3mConnectView extends LitElement { } // -- Private ------------------------------------------- // + private setEmailAndSocialEnableCheck(features: Features | undefined, noAdapters: boolean) { + this.isEmailEnabled = features?.email && !noAdapters + this.isSocialEnabled = features?.socials && features.socials.length > 0 && !noAdapters + this.features = features + this.noAdapters = noAdapters + } + + private checkIfAuthEnabled(connectors: Connector[]) { + const namespacesWithAuthConnector = connectors + .filter(c => c.type === AppKitConstantsUtil.CONNECTOR_TYPE_AUTH) + .map(i => i.chain) + const authSupportedNamespaces = ConstantsUtil.AUTH_CONNECTOR_SUPPORTED_CHAINS + + return authSupportedNamespaces.some(ns => namespacesWithAuthConnector.includes(ns)) + } + private renderConnectMethod(tabIndex?: number) { const connectMethodsOrder = WalletUtil.getConnectOrderMethod(this.features, this.connectors) @@ -163,9 +189,9 @@ export class W3mConnectView extends LitElement { case 'wallet': return this.enableWallets case 'social': - return this.isSocialEnabled + return this.isSocialEnabled && this.isAuthEnabled case 'email': - return this.isEmailEnabled + return this.isEmailEnabled && this.isAuthEnabled default: return null } @@ -206,7 +232,7 @@ export class W3mConnectView extends LitElement { case 'email': { const isNextMethodSocial = nextEnabledMethod === 'social' - return this.isEmailEnabled && !isNextMethodSocial && nextEnabledMethod + return this.isAuthEnabled && this.isEmailEnabled && !isNextMethodSocial && nextEnabledMethod ? html`` : null } @@ -226,7 +252,7 @@ export class W3mConnectView extends LitElement { } private emailTemplate(tabIndex?: number) { - if (!this.isEmailEnabled) { + if (!this.isEmailEnabled || !this.isAuthEnabled) { return null } @@ -237,7 +263,7 @@ export class W3mConnectView extends LitElement { } private socialListTemplate(tabIndex?: number) { - if (!this.isSocialEnabled) { + if (!this.isSocialEnabled || !this.isAuthEnabled) { return null } @@ -265,7 +291,7 @@ export class W3mConnectView extends LitElement { return null } - const hasOtherMethods = this.isEmailEnabled || this.isSocialEnabled + const hasOtherMethods = this.isAuthEnabled && (this.isEmailEnabled || this.isSocialEnabled) if (hasOtherMethods && shouldCollapseWallets) { return html` { const mockEmail = 'test@example.com' const mockAuthConnector = { @@ -27,9 +33,10 @@ describe('W3mEmailLoginWidget', () => { } beforeEach(() => { - vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ - activeChain: ConstantsUtil.CHAIN.EVM - } as ChainControllerState) + vi.mocked(ChainController.state).activeChain = ConstantsUtil.CHAIN.EVM + vi.mocked(ChainController.state).chains = new Map([ + [ConstantsUtil.CHAIN.EVM, { namespace: ConstantsUtil.CHAIN.EVM, caipNetworks: [mainnet] }] + ]) as unknown as ChainControllerState['chains'] vi.spyOn(ConnectorController, 'getAuthConnector').mockReturnValue( mockAuthConnector as unknown as AuthConnector ) @@ -94,20 +101,16 @@ describe('W3mEmailLoginWidget', () => { }) describe('Form Submission', () => { - it('redirects to chain switch when on unsupported chain', async () => { - vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ - activeChain: 'unsupported' - } as unknown as ChainControllerState) + it('redirects to network switch when on unsupported chain', async () => { + vi.mocked(ChainController.state).activeChain = 'unsupported' as ChainNamespace const element: W3mEmailLoginWidget = await fixture( html`` ) const form = HelpersUtil.querySelect(element, 'form') - await form?.dispatchEvent(new Event('submit')) + form?.dispatchEvent(new Event('submit')) - expect(RouterController.push).toHaveBeenCalledWith('SwitchActiveChain', { - switchToChain: ConstantsUtil.CHAIN.EVM - }) + expect(RouterController.push).toHaveBeenCalledWith('SwitchNetwork', { network: mainnet }) }) it('handles VERIFY_OTP action', async () => { diff --git a/packages/scaffold-ui/test/views/w3m-connect-view.test.ts b/packages/scaffold-ui/test/views/w3m-connect-view.test.ts index 50219d6c38..f81585bf2a 100644 --- a/packages/scaffold-ui/test/views/w3m-connect-view.test.ts +++ b/packages/scaffold-ui/test/views/w3m-connect-view.test.ts @@ -3,8 +3,10 @@ import { afterEach, beforeAll, beforeEach, describe, expect, it, vi } from 'vite import { html } from 'lit' +import { type CaipNetwork, ConstantsUtil } from '@reown/appkit-common' import { ChainController, + type ChainControllerState, ConnectorController, type ConnectorWithProviders, CoreHelperUtil, @@ -27,6 +29,18 @@ const INSTALLED_WALLET = { name: 'MetaMask', type: 'ANNOUNCED' } as ConnectorWithProviders +const AUTH_CONNECTOR = { + id: 'ID_AUTH', + type: 'AUTH', + name: 'Auth', + chain: 'eip155' +} as ConnectorWithProviders + +const mainnet = { + id: 1, + name: 'Ethereum', + namespace: ConstantsUtil.CHAIN.EVM +} as unknown as CaipNetwork // Mock ResizeObserver beforeAll(() => { @@ -40,7 +54,6 @@ beforeAll(() => { describe('W3mConnectView - Connection Methods', () => { beforeEach(() => { vi.spyOn(CoreHelperUtil, 'isMobile').mockReturnValue(false) - vi.spyOn(OptionsController, 'state', 'get').mockReturnValue({ ...OptionsController.state, enableWallets: true, @@ -51,6 +64,16 @@ describe('W3mConnectView - Connection Methods', () => { collapseWallets: false } }) + vi.spyOn(ConnectorController, 'state', 'get').mockReturnValue({ + ...ConnectorController.state, + connectors: [INSTALLED_WALLET, AUTH_CONNECTOR] + }) + vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ + ...ConnectorController.state, + chains: new Map([ + [ConstantsUtil.CHAIN.EVM, { namespace: ConstantsUtil.CHAIN.EVM, caipNetworks: [mainnet] }] + ]) + } as unknown as ChainControllerState) }) afterEach(() => { @@ -58,11 +81,6 @@ describe('W3mConnectView - Connection Methods', () => { }) it('should render connection methods in specified order based on connectMethodsOrder option', async () => { - vi.spyOn(ConnectorController, 'state', 'get').mockReturnValue({ - ...ConnectorController.state, - connectors: [INSTALLED_WALLET] - }) - const element: W3mConnectView = await fixture(html``) const children = Array.from( @@ -88,11 +106,6 @@ describe('W3mConnectView - Connection Methods', () => { } }) - vi.spyOn(ConnectorController, 'state', 'get').mockReturnValue({ - ...ConnectorController.state, - connectors: [INSTALLED_WALLET] - }) - const element: W3mConnectView = await fixture(html``) const children = Array.from( @@ -247,10 +260,7 @@ describe('W3mConnectView - Connection Methods', () => { }) it('should not render email nor social when there are no adapters', async () => { - vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ - ...ChainController.state, - noAdapters: true - }) + vi.mocked(ChainController.state).noAdapters = true const element: W3mConnectView = await fixture(html``) expect(HelpersUtil.querySelect(element, EMAIL_LOGIN_WIDGET)).toBeNull() @@ -271,10 +281,7 @@ describe('W3mConnectView - Explore Mode', () => { enableWallets: false, enableWalletGuide: true }) - vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ - ...ChainController.state, - noAdapters: false - }) + vi.mocked(ChainController.state).noAdapters = false }) it('should render a single separator in explore mode if wallet guide is enabled and there are adapters', async () => { const element: W3mConnectView = await fixture( @@ -287,10 +294,7 @@ describe('W3mConnectView - Explore Mode', () => { }) it('should render no separators in explore mode if wallet guide is enabled and there are no adapters', async () => { - vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ - ...ChainController.state, - noAdapters: true - }) + vi.mocked(ChainController.state).noAdapters = true const element: W3mConnectView = await fixture( html`` @@ -312,10 +316,7 @@ describe('W3mConnectView - Explore Mode', () => { describe('W3mConnectView - Wallet Guide Mode', () => { beforeEach(() => { - vi.spyOn(ChainController, 'state', 'get').mockReturnValue({ - ...ChainController.state, - noAdapters: false - }) + vi.mocked(ChainController.state).noAdapters = false }) it('should render wallet guide if enableWalletGuide is true', async () => { @@ -351,3 +352,87 @@ describe('W3mConnectView - Wallet Guide Mode', () => { expect(HelpersUtil.querySelect(element, 'w3m-wallet-guide')).toBeNull() }) }) + +describe('W3mConnectView - Email and Social Enable States', () => { + beforeEach(() => { + vi.clearAllMocks() + vi.spyOn(OptionsController, 'state', 'get').mockReturnValue({ + ...OptionsController.state, + features: { + email: true, + socials: ['google'], + connectMethodsOrder: ['social', 'email', 'wallet'] + } + }) + vi.mocked(ChainController.state).noAdapters = false + }) + + it('should disable email and social when noAdapters is true', async () => { + const element: W3mConnectView = await fixture(html``) + vi.mocked(ChainController.state).noAdapters = true + + // Trigger state update + element['setEmailAndSocialEnableCheck'](element['features'], true) + + expect(element['isEmailEnabled']).toBe(false) + expect(element['isSocialEnabled']).toBe(false) + }) + + it('should enable email and social when features are enabled and noAdapters is false', async () => { + const element: W3mConnectView = await fixture(html``) + + // Trigger state update with enabled features + element['setEmailAndSocialEnableCheck']( + { + email: true, + socials: ['google'] + }, + false + ) + + expect(element['isEmailEnabled']).toBe(true) + expect(element['isSocialEnabled']).toBe(true) + }) + + it('should disable email when email feature is disabled', async () => { + const element: W3mConnectView = await fixture(html``) + + // Trigger state update with email disabled + element['setEmailAndSocialEnableCheck']( + { + email: false, + socials: ['google'] + }, + false + ) + + expect(element['isEmailEnabled']).toBe(false) + expect(element['isSocialEnabled']).toBe(true) + }) + + it('should disable social when socials array is empty', async () => { + const element: W3mConnectView = await fixture(html``) + + // Trigger state update with empty socials array + element['setEmailAndSocialEnableCheck']( + { + email: true, + socials: [] + }, + false + ) + + expect(element['isEmailEnabled']).toBe(true) + expect(element['isSocialEnabled']).toBe(false) + }) + + it('should handle undefined features', async () => { + const element: W3mConnectView = await fixture(html``) + + // Trigger state update with undefined features + element['setEmailAndSocialEnableCheck'](undefined, false) + + expect(element['isEmailEnabled']).toBe(undefined) + expect(element['isSocialEnabled']).toBe(undefined) + }) +}) diff --git a/packages/scaffold-ui/test/views/w3m-profile-view.test.ts b/packages/scaffold-ui/test/views/w3m-profile-view.test.ts index 2b7227779b..3d3c947c46 100644 --- a/packages/scaffold-ui/test/views/w3m-profile-view.test.ts +++ b/packages/scaffold-ui/test/views/w3m-profile-view.test.ts @@ -1,5 +1,5 @@ import { fixture } from '@open-wc/testing' -import { beforeEach, describe, expect, test, vi } from 'vitest' +import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest' import { html } from 'lit' @@ -63,10 +63,13 @@ describe('W3mProfileView - Render', () => { allAccounts: TEST_ACCOUNTS, addressLabels: new Map() }) - vi.spyOn(ChainController, 'state', 'get').mockReturnValue(MOCK_CHAIN_STATE) }) + afterEach(() => { + vi.clearAllMocks() + }) + test('should render profile information correctly', async () => { const element: W3mProfileView = await fixture(html``) diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index ad36334c4e..c73a686c58 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,151 @@ # @reown/appkit-siwe +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-ui@1.6.5 + - @reown/appkit-wallet@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/siwe/package.json b/packages/siwe/package.json index bfcde735d5..9700bd1c9c 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-siwe", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/siwx/CHANGELOG.md b/packages/siwx/CHANGELOG.md index 6739ae7c0b..1c388ef863 100644 --- a/packages/siwx/CHANGELOG.md +++ b/packages/siwx/CHANGELOG.md @@ -1,5 +1,148 @@ # @reown/appkit-siwx +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/siwx/package.json b/packages/siwx/package.json index 237abe8a0a..caab5e569d 100644 --- a/packages/siwx/package.json +++ b/packages/siwx/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-siwx", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/src/index.js", "types": "./dist/types/src/index.d.ts", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 940b30c73f..7e3c0b9c27 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,146 @@ # @reown/appkit-ui +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + ## 1.6.4 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index ced8b8d9a0..d7c586fcba 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-ui", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/wallet-button/CHANGELOG.md b/packages/wallet-button/CHANGELOG.md index ecd1bd6b29..9da01668ec 100644 --- a/packages/wallet-button/CHANGELOG.md +++ b/packages/wallet-button/CHANGELOG.md @@ -1,5 +1,150 @@ # @reown/appkit-wallet-button +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-utils@1.6.5 + - @reown/appkit-common@1.6.5 + - @reown/appkit-core@1.6.5 + - @reown/appkit-ui@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/wallet-button/package.json b/packages/wallet-button/package.json index 55a6199d87..db1719133e 100644 --- a/packages/wallet-button/package.json +++ b/packages/wallet-button/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-wallet-button", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 3959797c96..fca9ed2431 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,148 @@ # @reown/appkit-wallet +## 1.6.5 + +### Patch Changes + +- [#3523](https://github.com/reown-com/appkit/pull/3523) [`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8) Thanks [@zoruka](https://github.com/zoruka)! - Abstracts Connectors management in Solana Adapter + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where mobile view would show auth login options without adapters + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors network switching when trying to use auth connector but active network is not supported by auth connector + +- [#3589](https://github.com/reown-com/appkit/pull/3589) [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connector rendering logics when add/remove adapters for email/social login + +- [#3638](https://github.com/reown-com/appkit/pull/3638) [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde) Thanks [@zoruka](https://github.com/zoruka)! - Fix condition for unsupported chain for `chainChanged` event on wallet connect event + +- [#3637](https://github.com/reown-com/appkit/pull/3637) [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a) Thanks [@zoruka](https://github.com/zoruka)! - Add default value if namespace is not available on upa getAccounts + +- [#3721](https://github.com/reown-com/appkit/pull/3721) [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically + +- [#3639](https://github.com/reown-com/appkit/pull/3639) [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3) Thanks [@zoruka](https://github.com/zoruka)! - Fix BitcoinAdapter `switchNetwork` function execution + +- [#3621](https://github.com/reown-com/appkit/pull/3621) [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when on testnets + +- [#3691](https://github.com/reown-com/appkit/pull/3691) [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc) Thanks [@magiziz](https://github.com/magiziz)! - Expanded more views in the modal open function to include Swap, Send, Wallet Is a Wallet, Wallet Is a Network and All Wallets screens. + + **Example usage** + + ```tsx + import { createAppKit } from '@reown/appkit' + + const VIEWS = [ + { label: 'Open "On-Ramp" modal view', view: 'Swap' }, + { label: 'Open "Send" modal view', view: 'WalletSend' }, + { label: 'Open "What Is a Wallet?" modal view', view: 'WhatIsAWallet' }, + { label: 'Open "What Is a Network?" modal view', view: 'WhatIsANetwork' }, + { label: 'Open "All Wallets" modal view', view: 'AllWallets' } + ] as const + + const modal = createAppKit({ + adapters: [], // Add your adapters here + networks: [], // Add your networks here + projectId: 'YOUR_PROJECT_ID' + }) + + export function YourApp() { + return ( + <> + {VIEWS.map(({ label, view }) => ( + + ))} + + ) + } + ``` + +- [#3648](https://github.com/reown-com/appkit/pull/3648) [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where opening the modal without adapters would open regular connect WC screen + +- [#3717](https://github.com/reown-com/appkit/pull/3717) [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901) Thanks [@zoruka](https://github.com/zoruka)! - Update @walletconnect packages to latest version. + +- [#3640](https://github.com/reown-com/appkit/pull/3640) [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4) Thanks [@magiziz](https://github.com/magiziz)! - Added `createAppKitWalletButton` function to `@reown/appkit-wallet-button` package for easier implementation of the Wallet Button feature without relying solely on hooks. + + **Example usage** + + ```tsx + import { useEffect, useState } from 'react' + + import { createAppKitWalletButton } from '@reown/appkit-wallet-button' + + const appKitWalletButton = createAppKitWalletButton() + + export function YourApp() { + const [isReady, setIsReady] = useState(false) + + useEffect(() => { + // Check if Wallet Buttons are ready + if (appKitWalletButton.isReady()) { + setIsReady(true) + } else { + // Subscribe to ready state changes + appKitWalletButton.subscribeIsReady(state => { + setIsReady(state.isReady) + }) + } + }, [appKitWalletButton]) + + return ( + <> + + + + ) + } + ``` + +- [#3681](https://github.com/reown-com/appkit/pull/3681) [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c) Thanks [@enesozturk](https://github.com/enesozturk)! - Fixes redundant goBack call when switching to another namespace + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where appKit.getProvider() would not return correct provider. + +- [#3716](https://github.com/reown-com/appkit/pull/3716) [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43) Thanks [@tomiir](https://github.com/tomiir)! - Fetches native balance when API does not support it + +- [#3679](https://github.com/reown-com/appkit/pull/3679) [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors AppKit client to handle syncBalance call for unsupported networks as expected + +- [#3607](https://github.com/reown-com/appkit/pull/3607) [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891) Thanks [@zoruka](https://github.com/zoruka)! - Add defaultAccountTypes option for AppKit initialization. + +- [#3682](https://github.com/reown-com/appkit/pull/3682) [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760) Thanks [@tomiir](https://github.com/tomiir)! - Prevents calls to Blockchain Api that would fail due to lack of support. Initialize supported list on AppKit initialization' + +- [#3576](https://github.com/reown-com/appkit/pull/3576) [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d) Thanks [@magiziz](https://github.com/magiziz)! - Added a loading indicator to the account button component when the balance has not been fetched. + +- [#3635](https://github.com/reown-com/appkit/pull/3635) [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6) Thanks [@enesozturk](https://github.com/enesozturk)! - Refactors connectExternal to call switch network if wallet's active chain is not in requested networks list + +- [#3663](https://github.com/reown-com/appkit/pull/3663) [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9) Thanks [@zoruka](https://github.com/zoruka)! - Remove all onUri callback drilling for all walletConnectConnect methods in favor of a single call when initializing the UniversalProvider + +- [#3672](https://github.com/reown-com/appkit/pull/3672) [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where `walletProvider` from the `useAppKitProvider` hook was `undefined` when the wallet was connected. This issue occurred only when using wagmi adapter. + +- [#3670](https://github.com/reown-com/appkit/pull/3670) [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where 1CA session would not be found because of non-cased addresses mismatching.' + +- [#3715](https://github.com/reown-com/appkit/pull/3715) [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi connectors were not appearing in the connect modal + +- [#3619](https://github.com/reown-com/appkit/pull/3619) [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842) Thanks [@zoruka](https://github.com/zoruka)! - Refactor to add WalletConnectConnector as extensible class and remove replicated code around adapters + +- [#3678](https://github.com/reown-com/appkit/pull/3678) [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46) Thanks [@tomiir](https://github.com/tomiir)! - Removes duplicated all wallets button on AppKit Basic + +- [#3680](https://github.com/reown-com/appkit/pull/3680) [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc) Thanks [@tomiir](https://github.com/tomiir)! - Fixes issue where onramp and activity were enabled in non-supported networks' + +- [#3692](https://github.com/reown-com/appkit/pull/3692) [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b) Thanks [@magiziz](https://github.com/magiziz)! - Added an alert error if the analytics event fails with a forbidden status. + +- [#3611](https://github.com/reown-com/appkit/pull/3611) [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac) Thanks [@tomiir](https://github.com/tomiir)! - Adds authProvider to embeddedWalletInfo in useAppKitAccount + +- [#3714](https://github.com/reown-com/appkit/pull/3714) [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where wagmi adapter would emit disconnect event when user was not connected causing SIWE to break. + +- [#3723](https://github.com/reown-com/appkit/pull/3723) [`a90474b`](https://github.com/reown-com/appkit/commit/a90474bec8d791d27dc0bec542f57193945b9e63) Thanks [@magiziz](https://github.com/magiziz)! - Fixed an issue where multichain social/email login was not working + +- Updated dependencies [[`427dde3`](https://github.com/reown-com/appkit/commit/427dde3cfb3bcb8a61d22b3732150c39958483e8), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`6932fbf`](https://github.com/reown-com/appkit/commit/6932fbf81d5e3e8bfbc67476c9cc521bb014be6a), [`86e7510`](https://github.com/reown-com/appkit/commit/86e75103084d6babdb0d0bb8afbbe30199fb3dde), [`40ef5c7`](https://github.com/reown-com/appkit/commit/40ef5c7b35e48a2271c27ae770b93061fa216d8a), [`eade9f2`](https://github.com/reown-com/appkit/commit/eade9f28e41b608db0237be526d65742cf13e991), [`489de7c`](https://github.com/reown-com/appkit/commit/489de7c77be40d8131b721d81cf89241fe5348b3), [`7b4f03f`](https://github.com/reown-com/appkit/commit/7b4f03f24d853a514d26f5d6dcc1c2255c3573b3), [`4075214`](https://github.com/reown-com/appkit/commit/4075214027e183c04b29758628b2fca81a25b5dc), [`225aba4`](https://github.com/reown-com/appkit/commit/225aba4f3839f34f5a838650d594ed9ec23e2e3f), [`72b14ce`](https://github.com/reown-com/appkit/commit/72b14ce20fdde3b0162e496756fdd96ac14ab901), [`2935978`](https://github.com/reown-com/appkit/commit/293597872b31eecf7c4d04e0f875688f6c795af4), [`20c608f`](https://github.com/reown-com/appkit/commit/20c608f30aef7df58b4da1bfb9d57967bfd0e46c), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`59f57f3`](https://github.com/reown-com/appkit/commit/59f57f356cd9887ce87e5877ec7561656eb32e43), [`3305586`](https://github.com/reown-com/appkit/commit/3305586614d73fe9a3b71919c2b29c3b1568826b), [`a66de04`](https://github.com/reown-com/appkit/commit/a66de0442e6d421e8d0dcf875573ee49071bf891), [`1ea9f7d`](https://github.com/reown-com/appkit/commit/1ea9f7d0b8a138376a10de7287cf0ed2254a7760), [`68bdd14`](https://github.com/reown-com/appkit/commit/68bdd1476b85b0d47d70ef2fe35bf8c6eba3c74d), [`190fdb9`](https://github.com/reown-com/appkit/commit/190fdb9c6f5563df2095e808bbdffac1ae73aed6), [`018c6f1`](https://github.com/reown-com/appkit/commit/018c6f1e87f4b5e0c14aff8c45b5713809defcc9), [`98ad777`](https://github.com/reown-com/appkit/commit/98ad777c5de798ae549ad4bac10b6ced7cda18b1), [`25a97c6`](https://github.com/reown-com/appkit/commit/25a97c66fe47c2c1d19cf8bbf5c5474612cd6e7b), [`3accd43`](https://github.com/reown-com/appkit/commit/3accd437e21dcb9316cbe83e0bf9a8a3268ab7ce), [`7296a32`](https://github.com/reown-com/appkit/commit/7296a32b99bac546ab84555ca6a71b8838b61842), [`1614ff6`](https://github.com/reown-com/appkit/commit/1614ff603d09fbfc9c2d70fc9a7c8cff33b98b46), [`62b4369`](https://github.com/reown-com/appkit/commit/62b4369ade281bdd5bcb90791817283e20c678cc), [`5472c34`](https://github.com/reown-com/appkit/commit/5472c34fd3ad4328d8de347c65801718ff970d3b), [`6431f0c`](https://github.com/reown-com/appkit/commit/6431f0cc99194c06eb93c3bc0ba7525b5b2c04ac), [`83d62d9`](https://github.com/reown-com/appkit/commit/83d62d98148fb5130a1698fdfa974db26cea66dc)]: + - @reown/appkit-common@1.6.5 + - @reown/appkit-polyfills@1.6.5 + ## 1.6.4 ### Patch Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index 64b960d781..e415d9177f 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@reown/appkit-wallet", - "version": "1.6.4", + "version": "1.6.5", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6f06f52530..c1038df63f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -114,7 +114,7 @@ importers: version: 1.6.3(@vanilla-extract/css@1.16.0(babel-plugin-macros@3.1.0)) '@vanilla-extract/webpack-plugin': specifier: 2.3.14 - version: 2.3.14(@types/node@20.11.5)(babel-plugin-macros@3.1.0)(lightningcss@1.29.1)(terser@5.37.0)(webpack@5.94.0) + version: 2.3.14(@types/node@20.11.5)(babel-plugin-macros@3.1.0)(lightningcss@1.29.1)(terser@5.37.0)(webpack@5.94.0(webpack-cli@5.1.4)) '@wagmi/core': specifier: 2.13.8 version: 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) @@ -123,7 +123,7 @@ importers: version: 1.1.0 babel-loader: specifier: 9.1.3 - version: 9.1.3(@babel/core@7.26.0)(webpack@5.94.0) + version: 9.1.3(@babel/core@7.26.0)(webpack@5.94.0(webpack-cli@5.1.4)) big.js: specifier: 6.2.2 version: 6.2.2 @@ -135,19 +135,19 @@ importers: version: 2.1.0 copy-webpack-plugin: specifier: 12.0.2 - version: 12.0.2(webpack@5.94.0) + version: 12.0.2(webpack@5.94.0(webpack-cli@5.1.4)) css-loader: specifier: 7.1.2 - version: 7.1.2(webpack@5.94.0) + version: 7.1.2(webpack@5.94.0(webpack-cli@5.1.4)) eventemitter3: specifier: 5.0.1 version: 5.0.1 html-webpack-plugin: specifier: 5.6.0 - version: 5.6.0(webpack@5.94.0) + version: 5.6.0(webpack@5.94.0(webpack-cli@5.1.4)) mini-css-extract-plugin: specifier: 2.9.2 - version: 2.9.2(webpack@5.94.0) + version: 2.9.2(webpack@5.94.0(webpack-cli@5.1.4)) mipd: specifier: 0.0.5 version: 0.0.5(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) @@ -193,10 +193,10 @@ importers: version: 10.0.0 dotenv-webpack: specifier: 8.1.0 - version: 8.1.0(webpack@5.94.0) + version: 8.1.0(webpack@5.94.0(webpack-cli@5.1.4)) ts-loader: specifier: 9.5.1 - version: 9.5.1(typescript@5.3.3)(webpack@5.94.0) + version: 9.5.1(typescript@5.3.3)(webpack@5.94.0(webpack-cli@5.1.4)) typescript: specifier: 5.3.3 version: 5.3.3 @@ -254,27 +254,51 @@ importers: '@radix-ui/react-tabs': specifier: 1.1.1 version: 1.1.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-tooltip': + specifier: 1.1.6 + version: 1.1.6(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@reown/appkit': specifier: workspace:* version: link:../../packages/appkit - '@reown/appkit-adapter-wagmi': + '@reown/appkit-adapter-bitcoin': specifier: workspace:* - version: link:../../packages/adapters/wagmi + version: link:../../packages/adapters/bitcoin + '@reown/appkit-adapter-ethers': + specifier: workspace:* + version: link:../../packages/adapters/ethers + '@reown/appkit-adapter-solana': + specifier: workspace:* + version: link:../../packages/adapters/solana + '@reown/appkit-common': + specifier: workspace:* + version: link:../../packages/common '@reown/appkit-core': specifier: workspace:* version: link:../../packages/core '@reown/appkit-scaffold-ui': specifier: workspace:* version: link:../../packages/scaffold-ui + '@sentry/core': + specifier: 8.45.1 + version: 8.45.1 '@sentry/nextjs': specifier: 8.45.1 - version: 8.45.1(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.56.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(next@14.2.3(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15))) + version: 8.45.1(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.56.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(next@14.2.3(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.94.0) + '@solana/wallet-adapter-wallets': + specifier: 0.19.32 + version: 0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(utf-8-validate@5.0.10) + '@solana/web3.js': + specifier: 1.95.8 + version: 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) '@tanstack/react-query': specifier: 5.56.2 version: 5.56.2(react@18.3.1) '@wagmi/core': specifier: 2.13.8 version: 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) + autoprefixer: + specifier: 10.4.14 + version: 10.4.14(postcss@8.5.1) class-variance-authority: specifier: 0.7.0 version: 0.7.0 @@ -284,9 +308,12 @@ importers: clsx: specifier: 2.1.0 version: 2.1.0 + ethers: + specifier: 6.13.2 + version: 6.13.2(bufferutil@4.0.9)(utf-8-validate@5.0.10) next: specifier: 14.2.3 - version: 14.2.3(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.3(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-themes: specifier: 0.4.3 version: 0.4.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -304,13 +331,13 @@ importers: version: 2.2.1 tailwindcss-animate: specifier: 1.0.7 - version: 1.0.7(tailwindcss@3.4.1(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))) + version: 1.0.7(tailwindcss@3.4.1(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3))) viem: specifier: 2.21.26 version: 2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) wagmi: specifier: 2.12.17 - version: 2.12.17(@tanstack/query-core@5.59.16)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.2.62)(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) + version: 2.12.17(@tanstack/query-core@5.59.16)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.2.62)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) devDependencies: '@types/node': specifier: 20.11.5 @@ -332,7 +359,7 @@ importers: version: 8.5.1 tailwindcss: specifier: 3.4.1 - version: 3.4.1(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)) + version: 3.4.1(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)) typescript: specifier: 5.3.3 version: 5.3.3 @@ -517,7 +544,7 @@ importers: version: 1.44.0 '@synthetixio/synpress': specifier: 4.0.0-alpha.7 - version: 4.0.0-alpha.7(@playwright/test@1.44.0)(@swc/core@1.10.8(@swc/helpers@0.5.15))(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) + version: 4.0.0-alpha.7(@playwright/test@1.44.0)(@swc/core@1.10.8)(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@types/node': specifier: 20.11.5 version: 20.11.5 @@ -659,7 +686,7 @@ importers: version: 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) next: specifier: 14.2.3 - version: 14.2.3(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + version: 14.2.3(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) next-themes: specifier: 0.4.3 version: 0.4.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -901,7 +928,7 @@ importers: version: 0.1.14(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-wallets': specifier: 0.19.32 - version: 0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(utf-8-validate@5.0.10) + version: 0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(utf-8-validate@5.0.10) '@tanstack/react-query': specifier: 5.24.8 version: 5.24.8(react@18.3.1) @@ -991,7 +1018,7 @@ importers: version: 5.0.0(svelte@5.0.0)(vite@6.0.0(@types/node@20.11.5)(jiti@2.4.2)(lightningcss@1.29.1)(terser@5.37.0)(yaml@2.7.0)) eslint-plugin-svelte: specifier: 2.36.0 - version: 2.36.0(eslint@8.56.0)(svelte@5.0.0)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)) + version: 2.36.0(eslint@8.56.0)(svelte@5.0.0)(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)) globals: specifier: 15.0.0 version: 15.0.0 @@ -1080,7 +1107,7 @@ importers: version: 0.1.14(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-wallets': specifier: 0.19.32 - version: 0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(utf-8-validate@5.0.10) + version: 0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) vue: specifier: 3.4.3 version: 3.4.3(typescript@5.3.3) @@ -1117,7 +1144,7 @@ importers: version: 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.3.1)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) '@wagmi/vue': specifier: 0.0.56 - version: 0.0.56(@tanstack/query-core@5.59.16)(@tanstack/vue-query@5.59.16(vue@3.4.3(typescript@5.3.3)))(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(nuxt@3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)))(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(vue@3.4.3(typescript@5.3.3))(zod@3.23.8) + version: 0.0.56(@tanstack/query-core@5.59.16)(@tanstack/vue-query@5.59.16(vue@3.4.3(typescript@5.3.3)))(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(nuxt@3.14.1592(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(ioredis@5.4.2)(lightningcss@1.29.1)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)))(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(vue@3.4.3(typescript@5.3.3))(zod@3.23.8) viem: specifier: 2.21.26 version: 2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) @@ -1166,7 +1193,7 @@ importers: version: 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.3.1)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) '@wagmi/vue': specifier: 0.0.56 - version: 0.0.56(@tanstack/query-core@5.59.16)(@tanstack/vue-query@5.59.16(vue@3.4.3(typescript@5.3.3)))(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(nuxt@3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)))(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(vue@3.4.3(typescript@5.3.3))(zod@3.23.8) + version: 0.0.56(@tanstack/query-core@5.59.16)(@tanstack/vue-query@5.59.16(vue@3.4.3(typescript@5.3.3)))(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(nuxt@3.14.1592(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(ioredis@5.4.2)(lightningcss@1.29.1)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)))(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(vue@3.4.3(typescript@5.3.3))(zod@3.23.8) viem: specifier: 2.21.26 version: 2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) @@ -1715,7 +1742,7 @@ importers: version: 3.2.25 ts-node: specifier: 10.9.2 - version: 10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3) + version: 10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3) packages/common: dependencies: @@ -6436,6 +6463,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-arrow@1.1.1': + resolution: {integrity: sha512-NaVpZfmv8SKeZbn4ijN2V3jlHA9ngBG16VnIIm22nUR0Yk8KUALyBxT3KYEUnNuch9sTE8UTsS3whzBgKOL30w==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-checkbox@1.1.2': resolution: {integrity: sha512-/i0fl686zaJbDQLNKrkCbMyDm6FQMt4jg323k7HuqitoANm9sE23Ql8yOK3Wusk34HSLKDChhMux05FnP6KUkw==} peerDependencies: @@ -6599,6 +6639,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-dismissable-layer@1.1.3': + resolution: {integrity: sha512-onrWn/72lQoEucDmJnr8uczSNTujT0vJnA/X5+3AkChVPowr8n1yvIKIabhWyMQeMvvmdpsvcyDqx3X1LEXCPg==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-focus-guards@1.0.1': resolution: {integrity: sha512-Rect2dWbQ8waGzhMavsIbmSVCgYxkXLxxR3ZvCX79JOglzdEy4JXMb98lq4hPxUbLr77nP0UOGf4rcMU+s1pUA==} peerDependencies: @@ -6705,6 +6758,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-popper@1.2.1': + resolution: {integrity: sha512-3kn5Me69L+jv82EKRuQCXdYyf1DqHwD2U/sxoNgBGCB7K9TRc3bQamQ+5EPM9EvyPdli0W41sROd+ZU1dTCztw==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-portal@1.0.3': resolution: {integrity: sha512-xLYZeHrWoPmA5mEKEfZZevoVRK/Q43GfzRXkWV6qawIWWK8t6ifIiLQdd7rmQ4Vk1bmI21XhqF9BN3jWf+phpA==} peerDependencies: @@ -6731,6 +6797,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-portal@1.1.3': + resolution: {integrity: sha512-NciRqhXnGojhT93RPyDaMPfLH3ZSl4jjIFbZQ1b/vxvZEdHsBZ49wP9w8L3HzUQwep01LcWtkUvm0OVB5JAHTw==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-presence@1.1.1': resolution: {integrity: sha512-IeFXVi4YS1K0wVZzXNrbaaUvIJ3qdY+/Ih4eHFhWA9SwGR9UDX7Ck8abvL57C4cv3wwMvUE0OG69Qc3NCcTe/A==} peerDependencies: @@ -6744,6 +6823,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-presence@1.1.2': + resolution: {integrity: sha512-18TFr80t5EVgL9x1SwF/YGtfG+l0BS0PRAlCWBDoBEiDQjeKgnNZRVJp/oVBl24sr3Gbfwc/Qpj4OcWTQMsAEg==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-primitive@1.0.3': resolution: {integrity: sha512-yi58uVyoAcK/Nq1inRY56ZSjKypBNKTa/1mcL8qdl6oJeEaDbOldlzrGn7P6Q3Id5d+SYNGc5AJgc4vGhjs5+g==} peerDependencies: @@ -6979,6 +7071,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-tooltip@1.1.6': + resolution: {integrity: sha512-TLB5D8QLExS1uDn7+wH/bjEmRurNMTzNrtq7IjaS4kjion9NtzsTGkvR5+i7yc9q01Pi2KMM2cN3f8UG4IvvXA==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/react-use-callback-ref@1.0.1': resolution: {integrity: sha512-D94LjX4Sp0xJFVaoQOd3OO9k7tpBYNOXdVhkltUbGv2Qb9OXdrg/CpsjlZv7ia14Sylv398LswWBVVu5nqKzAQ==} peerDependencies: @@ -7131,6 +7236,19 @@ packages: '@types/react-dom': optional: true + '@radix-ui/react-visually-hidden@1.1.1': + resolution: {integrity: sha512-vVfA2IZ9q/J+gEamvj761Oq1FpWgCDaNOOIfbPVp2MVPLEomUr5+Vf7kJGwQ24YxZSlQVar7Bes8kyTo5Dshpg==} + peerDependencies: + '@types/react': '*' + '@types/react-dom': '*' + react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc + peerDependenciesMeta: + '@types/react': + optional: true + '@types/react-dom': + optional: true + '@radix-ui/rect@1.0.1': resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==} @@ -9978,6 +10096,13 @@ packages: resolution: {integrity: sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==} engines: {node: '>=8.0.0'} + autoprefixer@10.4.14: + resolution: {integrity: sha512-FQzyfOsTlwVzjHxKEqRIAdJx9niO6VCBCoEwax/VLSoQF29ggECcPuBqUMZ+u8jCZOPSy8b8/8KnuFbp0SaFZQ==} + engines: {node: ^10 || ^12 || >=14} + hasBin: true + peerDependencies: + postcss: ^8.1.0 + autoprefixer@10.4.20: resolution: {integrity: sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==} engines: {node: ^10 || ^12 || >=14} @@ -21869,6 +21994,15 @@ snapshots: react-dom: 18.3.1(react@18.3.1) react-native: 0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + '@metamask/sdk-install-modal-web@0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + dependencies: + i18next: 23.11.5 + qr-code-styling: 1.9.1 + optionalDependencies: + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + react-native: 0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + '@metamask/sdk-install-modal-web@0.30.0(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: i18next: 23.11.5 @@ -21952,12 +22086,12 @@ snapshots: - supports-color - utf-8-validate - '@metamask/sdk@0.28.4(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(utf-8-validate@5.0.10)': + '@metamask/sdk@0.28.4(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@3.29.5)(utf-8-validate@5.0.10)': dependencies: '@metamask/onboarding': 1.0.1 '@metamask/providers': 16.1.0 '@metamask/sdk-communication-layer': 0.28.2(cross-fetch@4.1.0)(eciesjs@0.3.21)(eventemitter2@6.4.9)(readable-stream@3.6.2)(socket.io-client@4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10)) - '@metamask/sdk-install-modal-web': 0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + '@metamask/sdk-install-modal-web': 0.28.1(i18next@23.11.5)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) '@types/dom-screen-wake-lock': 1.0.3 '@types/uuid': 10.0.0 bowser: 2.11.0 @@ -21971,7 +22105,7 @@ snapshots: obj-multiplex: 1.0.0 pump: 3.0.2 qrcode-terminal-nooctal: 0.12.1 - react-native-webview: 11.26.1(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + react-native-webview: 11.26.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) readable-stream: 3.6.2 rollup-plugin-visualizer: 5.14.0(rollup@3.29.5) socket.io-client: 4.8.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -23676,6 +23810,15 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-arrow@1.1.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/react-primitive': 2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-checkbox@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/primitive': 1.1.0 @@ -23742,6 +23885,12 @@ snapshots: optionalDependencies: '@types/react': 18.2.62 + '@radix-ui/react-compose-refs@1.1.1(@types/react@18.2.62)(react@18.3.1)': + dependencies: + react: 18.3.1 + optionalDependencies: + '@types/react': 18.2.62 + '@radix-ui/react-compose-refs@1.1.1(@types/react@18.3.1)(react@18.3.1)': dependencies: react: 18.3.1 @@ -23841,6 +23990,19 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-dismissable-layer@1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/primitive': 1.1.1 + '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-use-escape-keydown': 1.1.0(@types/react@18.2.62)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-focus-guards@1.0.1(@types/react@18.3.1)(react@18.3.1)': dependencies: '@babel/runtime': 7.24.5 @@ -23949,6 +24111,24 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-popper@1.2.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@floating-ui/react-dom': 2.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-arrow': 1.1.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-context': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-primitive': 2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-callback-ref': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-use-rect': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-use-size': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/rect': 1.1.0 + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-portal@1.0.3(@types/react-dom@18.3.1)(@types/react@18.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.24.5 @@ -23969,6 +24149,16 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-portal@1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/react-primitive': 2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.62)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-presence@1.1.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/react-compose-refs': 1.1.0(@types/react@18.2.62)(react@18.3.1) @@ -23979,6 +24169,16 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-presence@1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-use-layout-effect': 1.1.0(@types/react@18.2.62)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-primitive@1.0.3(@types/react-dom@18.3.1)(@types/react@18.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.24.5 @@ -23998,6 +24198,15 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-primitive@2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/react-slot': 1.1.1(@types/react@18.2.62)(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-primitive@2.0.1(@types/react-dom@18.3.1)(@types/react@18.3.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@radix-ui/react-slot': 1.1.1(@types/react@18.3.1)(react@18.3.1) @@ -24170,6 +24379,13 @@ snapshots: optionalDependencies: '@types/react': 18.2.62 + '@radix-ui/react-slot@1.1.1(@types/react@18.2.62)(react@18.3.1)': + dependencies: + '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.62)(react@18.3.1) + react: 18.3.1 + optionalDependencies: + '@types/react': 18.2.62 + '@radix-ui/react-slot@1.1.1(@types/react@18.3.1)(react@18.3.1)': dependencies: '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.3.1)(react@18.3.1) @@ -24249,6 +24465,26 @@ snapshots: '@types/react': 18.3.1 '@types/react-dom': 18.3.1 + '@radix-ui/react-tooltip@1.1.6(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/primitive': 1.1.1 + '@radix-ui/react-compose-refs': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-context': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-dismissable-layer': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-id': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-popper': 1.2.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-portal': 1.1.3(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-presence': 1.1.2(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-primitive': 2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@radix-ui/react-slot': 1.1.1(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-use-controllable-state': 1.1.0(@types/react@18.2.62)(react@18.3.1) + '@radix-ui/react-visually-hidden': 1.1.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/react-use-callback-ref@1.0.1(@types/react@18.3.1)(react@18.3.1)': dependencies: '@babel/runtime': 7.24.5 @@ -24386,6 +24622,15 @@ snapshots: '@types/react': 18.2.62 '@types/react-dom': 18.2.7 + '@radix-ui/react-visually-hidden@1.1.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@radix-ui/react-primitive': 2.0.1(@types/react-dom@18.2.7)(@types/react@18.2.62)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + optionalDependencies: + '@types/react': 18.2.62 + '@types/react-dom': 18.2.7 + '@radix-ui/rect@1.0.1': dependencies: '@babel/runtime': 7.24.5 @@ -24530,6 +24775,15 @@ snapshots: optionalDependencies: '@types/react': 18.2.62 + '@react-native/virtualized-lists@0.77.0(@types/react@18.2.62)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': + dependencies: + invariant: 2.2.4 + nullthrows: 1.1.1 + react: 18.3.1 + react-native: 0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + optionalDependencies: + '@types/react': 18.2.62 + '@react-native/virtualized-lists@0.77.0(@types/react@18.3.1)(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)': dependencies: invariant: 2.2.4 @@ -24539,6 +24793,13 @@ snapshots: optionalDependencies: '@types/react': 18.3.1 + '@react-native/virtualized-lists@0.77.0(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))': + dependencies: + invariant: 2.2.4 + nullthrows: 1.1.1 + react-native: 0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10) + optional: true + '@redocly/ajv@8.11.2': dependencies: fast-deep-equal: 3.1.3 @@ -24941,7 +25202,7 @@ snapshots: '@sentry/utils': 7.119.1 localforage: 1.10.0 - '@sentry/nextjs@8.45.1(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.56.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(next@14.2.3(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15)))': + '@sentry/nextjs@8.45.1(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.56.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(next@14.2.3(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react@18.3.1)(webpack@5.94.0)': dependencies: '@opentelemetry/api': 1.9.0 '@opentelemetry/semantic-conventions': 1.28.0 @@ -24952,9 +25213,9 @@ snapshots: '@sentry/opentelemetry': 8.45.1(@opentelemetry/api@1.9.0)(@opentelemetry/core@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/instrumentation@0.56.0(@opentelemetry/api@1.9.0))(@opentelemetry/sdk-trace-base@1.30.1(@opentelemetry/api@1.9.0))(@opentelemetry/semantic-conventions@1.28.0) '@sentry/react': 8.45.1(react@18.3.1) '@sentry/vercel-edge': 8.45.1 - '@sentry/webpack-plugin': 2.22.7(webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15))) + '@sentry/webpack-plugin': 2.22.7(webpack@5.94.0) chalk: 3.0.0 - next: 14.2.3(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + next: 14.2.3(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) resolve: 1.22.8 rollup: 3.29.5 stacktrace-parser: 0.1.10 @@ -25062,12 +25323,12 @@ snapshots: '@opentelemetry/api': 1.9.0 '@sentry/core': 8.45.1 - '@sentry/webpack-plugin@2.22.7(webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15)))': + '@sentry/webpack-plugin@2.22.7(webpack@5.94.0)': dependencies: '@sentry/bundler-plugin-core': 2.22.7 unplugin: 1.0.1 uuid: 9.0.1 - webpack: 5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15)) + webpack: 5.94.0 transitivePeerDependencies: - encoding - supports-color @@ -25607,6 +25868,40 @@ snapshots: - tslib - utf-8-validate + '@solana/wallet-adapter-trezor@0.1.2(@babel/core@7.26.0)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@trezor/connect-web': 9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + buffer: 6.0.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - tslib + - utf-8-validate + + '@solana/wallet-adapter-trezor@0.1.2(@babel/core@7.26.0)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@trezor/connect-web': 9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + buffer: 6.0.3 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - tslib + - utf-8-validate + '@solana/wallet-adapter-trust@0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))': dependencies: '@solana/wallet-adapter-base': 0.9.23(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) @@ -25793,7 +26088,7 @@ snapshots: - uploadthing - utf-8-validate - '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(utf-8-validate@5.0.10)': + '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: '@solana/wallet-adapter-alpha': 0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-avana': 0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) @@ -25826,7 +26121,80 @@ snapshots: '@solana/wallet-adapter-tokenary': 0.1.12(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-tokenpocket': 0.4.19(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-torus': 0.11.28(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(utf-8-validate@5.0.10) - '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.26.0)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.26.0)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trust': 0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-unsafe-burner': 0.1.7(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-walletconnect': 0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-xdefi': 0.1.7(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@babel/core' + - '@babel/runtime' + - '@capacitor/preferences' + - '@deno/kv' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@sentry/types' + - '@upstash/redis' + - '@vercel/blob' + - '@vercel/kv' + - aws4fetch + - bs58 + - bufferutil + - db0 + - encoding + - expo-constants + - expo-localization + - ioredis + - react + - react-dom + - react-native + - supports-color + - tslib + - uploadthing + - utf-8-validate + + '@solana/wallet-adapter-wallets@0.19.32(@babel/core@7.26.0)(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@solana/wallet-adapter-alpha': 0.1.10(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-avana': 0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-bitkeep': 0.3.20(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-bitpie': 0.5.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-clover': 0.4.19(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coin98': 0.5.20(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coinbase': 0.1.19(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-coinhub': 0.3.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-fractal': 0.1.8(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@solana/wallet-adapter-huobi': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-hyperpay': 0.1.14(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-keystone': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-krystal': 0.1.12(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-ledger': 0.9.25(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-mathwallet': 0.9.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-neko': 0.2.12(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-nightly': 0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-nufi': 0.1.17(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-onto': 0.1.7(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-particle': 0.1.12(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bs58@6.0.0) + '@solana/wallet-adapter-phantom': 0.9.24(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-safepal': 0.5.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-saifu': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-salmon': 0.1.14(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-sky': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-solflare': 0.6.28(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-solong': 0.9.18(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-spot': 0.1.15(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-tokenary': 0.1.12(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-tokenpocket': 0.4.19(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/wallet-adapter-torus': 0.11.28(@babel/runtime@7.26.0)(@sentry/types@7.119.1)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@solana/wallet-adapter-trezor': 0.1.2(@babel/core@7.26.0)(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) '@solana/wallet-adapter-trust': 0.1.13(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-unsafe-burner': 0.1.7(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) '@solana/wallet-adapter-walletconnect': 0.1.16(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(utf-8-validate@5.0.10) @@ -26729,7 +27097,7 @@ snapshots: - utf-8-validate - zod - '@synthetixio/synpress-cache@0.0.1-alpha.7(@swc/core@1.10.8(@swc/helpers@0.5.15))(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)': + '@synthetixio/synpress-cache@0.0.1-alpha.7(@swc/core@1.10.8)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)': dependencies: axios: 1.6.7 chalk: 5.3.0 @@ -26740,7 +27108,7 @@ snapshots: gradient-string: 2.0.2 playwright-core: 1.44.0 progress: 2.0.3 - tsup: 8.0.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3) + tsup: 8.0.2(@swc/core@1.10.8)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3) unzipper: 0.10.14 zod: 3.22.4 transitivePeerDependencies: @@ -26756,10 +27124,10 @@ snapshots: dependencies: '@playwright/test': 1.44.0 - '@synthetixio/synpress-metamask@0.0.1-alpha.7(patch_hash=fj5b4lzbslgihe6pqcmuyxpfd4)(@playwright/test@1.44.0)(@swc/core@1.10.8(@swc/helpers@0.5.15))(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10)': + '@synthetixio/synpress-metamask@0.0.1-alpha.7(patch_hash=fj5b4lzbslgihe6pqcmuyxpfd4)(@playwright/test@1.44.0)(@swc/core@1.10.8)(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10)': dependencies: '@playwright/test': 1.44.0 - '@synthetixio/synpress-cache': 0.0.1-alpha.7(@swc/core@1.10.8(@swc/helpers@0.5.15))(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3) + '@synthetixio/synpress-cache': 0.0.1-alpha.7(@swc/core@1.10.8)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3) '@synthetixio/synpress-core': 0.0.1-alpha.7(@playwright/test@1.44.0) '@viem/anvil': 0.0.7(bufferutil@4.0.9)(utf-8-validate@5.0.10) fs-extra: 11.2.0 @@ -26776,13 +27144,13 @@ snapshots: - typescript - utf-8-validate - '@synthetixio/synpress@4.0.0-alpha.7(@playwright/test@1.44.0)(@swc/core@1.10.8(@swc/helpers@0.5.15))(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)': + '@synthetixio/synpress@4.0.0-alpha.7(@playwright/test@1.44.0)(@swc/core@1.10.8)(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)': dependencies: '@playwright/test': 1.44.0 '@synthetixio/ethereum-wallet-mock': 0.0.1-alpha.7(@playwright/test@1.44.0)(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) - '@synthetixio/synpress-cache': 0.0.1-alpha.7(@swc/core@1.10.8(@swc/helpers@0.5.15))(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3) + '@synthetixio/synpress-cache': 0.0.1-alpha.7(@swc/core@1.10.8)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3) '@synthetixio/synpress-core': 0.0.1-alpha.7(@playwright/test@1.44.0) - '@synthetixio/synpress-metamask': 0.0.1-alpha.7(patch_hash=fj5b4lzbslgihe6pqcmuyxpfd4)(@playwright/test@1.44.0)(@swc/core@1.10.8(@swc/helpers@0.5.15))(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10) + '@synthetixio/synpress-metamask': 0.0.1-alpha.7(patch_hash=fj5b4lzbslgihe6pqcmuyxpfd4)(@playwright/test@1.44.0)(@swc/core@1.10.8)(bufferutil@4.0.9)(playwright-core@1.44.0)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3)(utf-8-validate@5.0.10) transitivePeerDependencies: - '@microsoft/api-extractor' - '@swc/core' @@ -27061,6 +27429,26 @@ snapshots: - expo-localization - react-native + '@trezor/analytics@1.2.5(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.5(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/analytics@1.2.5(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.5(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + '@trezor/blockchain-link-types@1.2.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) @@ -27094,6 +27482,28 @@ snapshots: - expo-localization - react-native + '@trezor/blockchain-link-utils@1.2.6(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@mobily/ts-belt': 3.13.1 + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/blockchain-link-utils@1.2.6(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@mobily/ts-belt': 3.13.1 + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + '@trezor/blockchain-link@2.3.6(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: '@solana-program/token': 0.4.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) @@ -27142,6 +27552,54 @@ snapshots: - supports-color - utf-8-validate + '@trezor/blockchain-link@2.3.6(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@solana-program/token': 0.4.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.2.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-utils': 1.2.6(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + '@trezor/utxo-lib': 2.2.6(tslib@2.8.1) + '@types/web': 0.0.174 + events: 3.3.0 + ripple-lib: 1.10.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + socks-proxy-agent: 8.0.4 + tslib: 2.8.1 + ws: 8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/blockchain-link@2.3.6(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@solana-program/token': 0.4.1(@solana/web3.js@1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + '@solana/web3.js': 1.95.8(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.2.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-utils': 1.2.6(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + '@trezor/utxo-lib': 2.2.6(tslib@2.8.1) + '@types/web': 0.0.174 + events: 3.3.0 + ripple-lib: 1.10.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + socks-proxy-agent: 8.0.4 + tslib: 2.8.1 + ws: 8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) + transitivePeerDependencies: + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + '@trezor/connect-analytics@1.2.4(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: '@trezor/analytics': 1.2.5(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) @@ -27160,6 +27618,24 @@ snapshots: - expo-localization - react-native + '@trezor/connect-analytics@1.2.4(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@trezor/analytics': 1.2.5(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/connect-analytics@1.2.4(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@trezor/analytics': 1.2.5(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + '@trezor/connect-common@0.2.7(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) @@ -27180,6 +27656,26 @@ snapshots: - expo-localization - react-native + '@trezor/connect-common@0.2.7(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + + '@trezor/connect-common@0.2.7(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + '@trezor/env-utils': 1.2.1(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - expo-constants + - expo-localization + - react-native + '@trezor/connect-web@9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: '@trezor/connect': 9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) @@ -27212,6 +27708,38 @@ snapshots: - supports-color - utf-8-validate + '@trezor/connect-web@9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@trezor/connect': 9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/connect-common': 0.2.7(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect-web@9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@trezor/connect': 9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/connect-common': 0.2.7(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + tslib: 2.8.1 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + '@trezor/connect@9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': dependencies: '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) @@ -27274,6 +27802,68 @@ snapshots: - supports-color - utf-8-validate + '@trezor/connect@9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) + '@ethereumjs/common': 4.4.0 + '@ethereumjs/tx': 5.4.0 + '@fivebinaries/coin-selection': 2.2.1 + '@trezor/blockchain-link': 2.3.6(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.2.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.2.4(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/connect-common': 0.2.7(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/protobuf': 1.2.6(tslib@2.8.1) + '@trezor/protocol': 1.2.2(tslib@2.8.1) + '@trezor/schema-utils': 1.2.3(tslib@2.8.1) + '@trezor/transport': 1.3.7(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + '@trezor/utxo-lib': 2.2.6(tslib@2.8.1) + blakejs: 1.2.1 + bs58: 6.0.0 + bs58check: 4.0.0 + cross-fetch: 4.1.0 + tslib: 2.8.1 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + + '@trezor/connect@9.4.7(@babel/core@7.26.0)(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10)': + dependencies: + '@babel/preset-typescript': 7.26.0(@babel/core@7.26.0) + '@ethereumjs/common': 4.4.0 + '@ethereumjs/tx': 5.4.0 + '@fivebinaries/coin-selection': 2.2.1 + '@trezor/blockchain-link': 2.3.6(bufferutil@4.0.9)(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/blockchain-link-types': 1.2.5(bufferutil@4.0.9)(tslib@2.8.1)(utf-8-validate@5.0.10) + '@trezor/connect-analytics': 1.2.4(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/connect-common': 0.2.7(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1) + '@trezor/protobuf': 1.2.6(tslib@2.8.1) + '@trezor/protocol': 1.2.2(tslib@2.8.1) + '@trezor/schema-utils': 1.2.3(tslib@2.8.1) + '@trezor/transport': 1.3.7(tslib@2.8.1) + '@trezor/utils': 9.2.6(tslib@2.8.1) + '@trezor/utxo-lib': 2.2.6(tslib@2.8.1) + blakejs: 1.2.1 + bs58: 6.0.0 + bs58check: 4.0.0 + cross-fetch: 4.1.0 + tslib: 2.8.1 + transitivePeerDependencies: + - '@babel/core' + - bufferutil + - encoding + - expo-constants + - expo-localization + - react-native + - supports-color + - utf-8-validate + '@trezor/env-utils@1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': dependencies: tslib: 2.8.1 @@ -27288,6 +27878,20 @@ snapshots: optionalDependencies: react-native: 0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + '@trezor/env-utils@1.2.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + tslib: 2.8.1 + ua-parser-js: 1.0.40 + optionalDependencies: + react-native: 0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + + '@trezor/env-utils@1.2.1(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10))(tslib@2.8.1)': + dependencies: + tslib: 2.8.1 + ua-parser-js: 1.0.40 + optionalDependencies: + react-native: 0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@trezor/protobuf@1.2.6(tslib@2.8.1)': dependencies: '@trezor/schema-utils': 1.2.3(tslib@2.8.1) @@ -27931,7 +28535,7 @@ snapshots: dependencies: '@vanilla-extract/css': 1.16.0(babel-plugin-macros@3.1.0) - '@vanilla-extract/webpack-plugin@2.3.14(@types/node@20.11.5)(babel-plugin-macros@3.1.0)(lightningcss@1.29.1)(terser@5.37.0)(webpack@5.94.0)': + '@vanilla-extract/webpack-plugin@2.3.14(@types/node@20.11.5)(babel-plugin-macros@3.1.0)(lightningcss@1.29.1)(terser@5.37.0)(webpack@5.94.0(webpack-cli@5.1.4))': dependencies: '@vanilla-extract/integration': 7.1.12(@types/node@20.11.5)(babel-plugin-macros@3.1.0)(lightningcss@1.29.1)(terser@5.37.0) debug: 4.4.0(supports-color@9.4.0) @@ -28372,10 +28976,10 @@ snapshots: - utf-8-validate - zod - '@wagmi/connectors@5.1.15(@types/react@18.2.62)(@wagmi/core@2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)))(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8)': + '@wagmi/connectors@5.1.15(@types/react@18.2.62)(@wagmi/core@2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8)': dependencies: '@coinbase/wallet-sdk': 4.0.4 - '@metamask/sdk': 0.28.4(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(utf-8-validate@5.0.10) + '@metamask/sdk': 0.28.4(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@3.29.5)(utf-8-validate@5.0.10) '@safe-global/safe-apps-provider': 0.18.3(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@wagmi/core': 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) @@ -28423,7 +29027,7 @@ snapshots: '@safe-global/safe-apps-provider': 0.18.3(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@safe-global/safe-apps-sdk': 9.1.0(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) '@wagmi/core': 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) - '@walletconnect/ethereum-provider': 2.17.0(@types/react@18.2.62)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react@18.3.1)(utf-8-validate@5.0.10) + '@walletconnect/ethereum-provider': 2.17.0(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) '@walletconnect/modal': 2.7.0(@types/react@18.2.62)(react@18.3.1) cbw-sdk: '@coinbase/wallet-sdk@3.9.3' viem: 2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) @@ -28646,7 +29250,7 @@ snapshots: - react - use-sync-external-store - '@wagmi/vue@0.0.56(@tanstack/query-core@5.59.16)(@tanstack/vue-query@5.59.16(vue@3.4.3(typescript@5.3.3)))(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(nuxt@3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)))(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(vue@3.4.3(typescript@5.3.3))(zod@3.23.8)': + '@wagmi/vue@0.0.56(@tanstack/query-core@5.59.16)(@tanstack/vue-query@5.59.16(vue@3.4.3(typescript@5.3.3)))(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(nuxt@3.14.1592(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(ioredis@5.4.2)(lightningcss@1.29.1)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)))(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(vue@3.4.3(typescript@5.3.3))(zod@3.23.8)': dependencies: '@tanstack/vue-query': 5.59.16(vue@3.4.3(typescript@5.3.3)) '@wagmi/connectors': 5.3.3(@types/react@18.3.1)(@wagmi/core@2.14.1(@tanstack/query-core@5.59.16)(@types/react@18.3.1)(react@18.3.1)(typescript@5.3.3)(use-sync-external-store@1.2.0(react@18.3.1))(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) @@ -28654,7 +29258,7 @@ snapshots: viem: 2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8) vue: 3.4.3(typescript@5.3.3) optionalDependencies: - nuxt: 3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)) + nuxt: 3.14.1592(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(ioredis@5.4.2)(lightningcss@1.29.1)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)) typescript: 5.3.3 transitivePeerDependencies: - '@azure/app-configuration' @@ -28891,6 +29495,43 @@ snapshots: - uploadthing - utf-8-validate + '@walletconnect/ethereum-provider@2.17.0(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10)': + dependencies: + '@walletconnect/jsonrpc-http-connection': 1.0.8 + '@walletconnect/jsonrpc-provider': 1.0.14 + '@walletconnect/jsonrpc-types': 1.0.4 + '@walletconnect/jsonrpc-utils': 1.0.8 + '@walletconnect/modal': 2.7.0(@types/react@18.2.62)(react@18.3.1) + '@walletconnect/sign-client': 2.17.0(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(utf-8-validate@5.0.10) + '@walletconnect/types': 2.17.0(db0@0.2.1)(ioredis@5.4.2) + '@walletconnect/universal-provider': 2.17.0(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(utf-8-validate@5.0.10) + '@walletconnect/utils': 2.17.0(db0@0.2.1)(ioredis@5.4.2) + events: 3.3.0 + transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@deno/kv' + - '@netlify/blobs' + - '@planetscale/database' + - '@react-native-async-storage/async-storage' + - '@types/react' + - '@upstash/redis' + - '@vercel/blob' + - '@vercel/kv' + - aws4fetch + - bufferutil + - db0 + - encoding + - ioredis + - react + - uploadthing + - utf-8-validate + '@walletconnect/ethereum-provider@2.17.0(@types/react@18.3.1)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react@18.3.1)(utf-8-validate@5.0.10)': dependencies: '@walletconnect/jsonrpc-http-connection': 1.0.8 @@ -29380,7 +30021,7 @@ snapshots: '@walletconnect/window-metadata@1.0.0': dependencies: - '@walletconnect/window-getters': 1.0.0 + '@walletconnect/window-getters': 1.0.1 '@walletconnect/window-metadata@1.0.1': dependencies: @@ -29539,17 +30180,17 @@ snapshots: '@webassemblyjs/ast': 1.14.1 '@xtuc/long': 4.2.2 - '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4)(webpack@5.94.0)': + '@webpack-cli/configtest@2.1.1(webpack-cli@5.1.4(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4))': dependencies: webpack: 5.94.0(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack@5.94.0) - '@webpack-cli/info@2.0.2(webpack-cli@5.1.4)(webpack@5.94.0)': + '@webpack-cli/info@2.0.2(webpack-cli@5.1.4(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4))': dependencies: webpack: 5.94.0(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack@5.94.0) - '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4)(webpack@5.94.0)': + '@webpack-cli/serve@2.0.5(webpack-cli@5.1.4(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4))': dependencies: webpack: 5.94.0(webpack-cli@5.1.4) webpack-cli: 5.1.4(webpack@5.94.0) @@ -29889,6 +30530,16 @@ snapshots: atomic-sleep@1.0.0: {} + autoprefixer@10.4.14(postcss@8.5.1): + dependencies: + browserslist: 4.24.4 + caniuse-lite: 1.0.30001695 + fraction.js: 4.3.7 + normalize-range: 0.1.2 + picocolors: 1.1.1 + postcss: 8.5.1 + postcss-value-parser: 4.2.0 + autoprefixer@10.4.20(postcss@8.5.1): dependencies: browserslist: 4.24.4 @@ -29950,7 +30601,7 @@ snapshots: transitivePeerDependencies: - supports-color - babel-loader@9.1.3(@babel/core@7.26.0)(webpack@5.94.0): + babel-loader@9.1.3(@babel/core@7.26.0)(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: '@babel/core': 7.26.0 find-cache-dir: 4.0.0 @@ -30809,7 +31460,7 @@ snapshots: dependencies: toggle-selection: 1.0.6 - copy-webpack-plugin@12.0.2(webpack@5.94.0): + copy-webpack-plugin@12.0.2(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: fast-glob: 3.3.3 glob-parent: 6.0.2 @@ -30951,7 +31602,7 @@ snapshots: dependencies: postcss: 8.5.1 - css-loader@7.1.2(webpack@5.94.0): + css-loader@7.1.2(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: icss-utils: 5.1.0(postcss@8.5.1) postcss: 8.5.1 @@ -31370,7 +32021,7 @@ snapshots: dependencies: dotenv: 16.4.7 - dotenv-webpack@8.1.0(webpack@5.94.0): + dotenv-webpack@8.1.0(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: dotenv-defaults: 2.0.2 webpack: 5.94.0(webpack-cli@5.1.4) @@ -31890,7 +32541,7 @@ snapshots: eslint: 8.56.0 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0))(eslint@8.56.0) - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.56.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0))(eslint@8.56.0))(eslint@8.56.0) eslint-plugin-jsx-a11y: 6.10.2(eslint@8.56.0) eslint-plugin-react: 7.37.4(eslint@8.56.0) eslint-plugin-react-hooks: 5.0.0-canary-7118f5dd7-20230705(eslint@8.56.0) @@ -31925,7 +32576,7 @@ snapshots: is-glob: 4.0.3 stable-hash: 0.0.4 optionalDependencies: - eslint-plugin-import: 2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.56.0) + eslint-plugin-import: 2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0))(eslint@8.56.0))(eslint@8.56.0) transitivePeerDependencies: - supports-color @@ -31940,7 +32591,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import@2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.7.0)(eslint@8.56.0): + eslint-plugin-import@2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint-import-resolver-typescript@3.7.0(eslint-plugin-import@2.31.0(@typescript-eslint/parser@6.18.1(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0))(eslint@8.56.0))(eslint@8.56.0): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.8 @@ -32038,7 +32689,7 @@ snapshots: dependencies: eslint: 8.56.0 - eslint-plugin-svelte@2.36.0(eslint@8.56.0)(svelte@5.0.0)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)): + eslint-plugin-svelte@2.36.0(eslint@8.56.0)(svelte@5.0.0)(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)): dependencies: '@eslint-community/eslint-utils': 4.4.1(eslint@8.56.0) '@jridgewell/sourcemap-codec': 1.5.0 @@ -32048,7 +32699,7 @@ snapshots: esutils: 2.0.3 known-css-properties: 0.30.0 postcss: 8.5.1 - postcss-load-config: 3.1.4(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)) + postcss-load-config: 3.1.4(postcss@8.5.1)(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)) postcss-safe-parser: 6.0.0(postcss@8.5.1) postcss-selector-parser: 6.1.2 semver: 7.6.3 @@ -33008,7 +33659,7 @@ snapshots: html-tags@3.3.1: {} - html-webpack-plugin@5.6.0(webpack@5.94.0): + html-webpack-plugin@5.6.0(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: '@types/html-minifier-terser': 6.1.0 html-minifier-terser: 6.1.0 @@ -34635,7 +35286,7 @@ snapshots: mimic-response@3.1.0: {} - mini-css-extract-plugin@2.9.2(webpack@5.94.0): + mini-css-extract-plugin@2.9.2(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: schema-utils: 4.3.0 tapable: 2.2.1 @@ -34884,7 +35535,7 @@ snapshots: - '@babel/core' - babel-plugin-macros - next@14.2.3(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + next@14.2.3(@babel/core@7.26.0)(@opentelemetry/api@1.9.0)(@playwright/test@1.44.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@next/env': 14.2.3 '@swc/helpers': 0.5.5 @@ -35119,10 +35770,10 @@ snapshots: nuxi@3.20.0: {} - nuxt@3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)): + nuxt@3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.14(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)): dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.7.0(bufferutil@4.0.9)(rollup@4.31.0)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue@3.5.13(typescript@5.3.3)) + '@nuxt/devtools': 1.7.0(bufferutil@4.0.9)(rollup@4.31.0)(utf-8-validate@5.0.10)(vite@5.4.14(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue@3.5.13(typescript@5.3.3)) '@nuxt/kit': 3.14.1592(magicast@0.3.5)(rollup@4.31.0) '@nuxt/schema': 3.14.1592(magicast@0.3.5)(rollup@4.31.0) '@nuxt/telemetry': 2.6.4(magicast@0.3.5)(rollup@4.31.0) @@ -35237,12 +35888,11 @@ snapshots: - vti - vue-tsc - xml2js - optional: true - nuxt@3.14.1592(@parcel/watcher@2.5.0)(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(idb-keyval@6.2.1)(ioredis@5.4.2)(lightningcss@1.29.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.14(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)): + nuxt@3.14.1592(@types/node@20.11.5)(bufferutil@4.0.9)(db0@0.2.1)(eslint@8.56.0)(ioredis@5.4.2)(lightningcss@1.29.1)(rollup@4.31.0)(terser@5.37.0)(typescript@5.3.3)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue-tsc@2.1.8(typescript@5.3.3)): dependencies: '@nuxt/devalue': 2.0.2 - '@nuxt/devtools': 1.7.0(bufferutil@4.0.9)(rollup@4.31.0)(utf-8-validate@5.0.10)(vite@5.4.14(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue@3.5.13(typescript@5.3.3)) + '@nuxt/devtools': 1.7.0(bufferutil@4.0.9)(rollup@4.31.0)(utf-8-validate@5.0.10)(vite@5.4.10(@types/node@20.11.5)(lightningcss@1.29.1)(terser@5.37.0))(vue@3.5.13(typescript@5.3.3)) '@nuxt/kit': 3.14.1592(magicast@0.3.5)(rollup@4.31.0) '@nuxt/schema': 3.14.1592(magicast@0.3.5)(rollup@4.31.0) '@nuxt/telemetry': 2.6.4(magicast@0.3.5)(rollup@4.31.0) @@ -35306,7 +35956,6 @@ snapshots: vue-devtools-stub: 0.1.0 vue-router: 4.5.0(vue@3.5.13(typescript@5.3.3)) optionalDependencies: - '@parcel/watcher': 2.5.0 '@types/node': 20.11.5 transitivePeerDependencies: - '@azure/app-configuration' @@ -35357,6 +36006,7 @@ snapshots: - vti - vue-tsc - xml2js + optional: true nwsapi@2.2.16: {} @@ -35932,21 +36582,21 @@ snapshots: camelcase-css: 2.0.1 postcss: 8.5.1 - postcss-load-config@3.1.4(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)): + postcss-load-config@3.1.4(postcss@8.5.1)(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)): dependencies: lilconfig: 2.1.0 yaml: 1.10.2 optionalDependencies: postcss: 8.5.1 - ts-node: 10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3) + ts-node: 10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3) - postcss-load-config@4.0.2(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)): + postcss-load-config@4.0.2(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3)): dependencies: lilconfig: 3.1.3 yaml: 2.7.0 optionalDependencies: postcss: 8.5.1 - ts-node: 10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3) + ts-node: 10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3) postcss-merge-longhand@7.0.4(postcss@8.5.1): dependencies: @@ -36470,6 +37120,13 @@ snapshots: react: 18.3.1 react-native: 0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.3.1)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + react-native-webview@11.26.1(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1): + dependencies: + escape-string-regexp: 2.0.0 + invariant: 2.2.4 + react: 18.3.1 + react-native: 0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10) + react-native@0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10): dependencies: '@jest/create-cache-key-function': 29.7.0 @@ -36570,6 +37227,104 @@ snapshots: - supports-color - utf-8-validate + react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10): + dependencies: + '@jest/create-cache-key-function': 29.7.0 + '@react-native/assets-registry': 0.77.0 + '@react-native/codegen': 0.77.0(@babel/preset-env@7.24.7(@babel/core@7.26.0)) + '@react-native/community-cli-plugin': 0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@react-native/gradle-plugin': 0.77.0 + '@react-native/js-polyfills': 0.77.0 + '@react-native/normalize-colors': 0.77.0 + '@react-native/virtualized-lists': 0.77.0(@types/react@18.2.62)(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1) + abort-controller: 3.0.0 + anser: 1.4.10 + ansi-regex: 5.0.1 + babel-jest: 29.7.0(@babel/core@7.26.0) + babel-plugin-syntax-hermes-parser: 0.25.1 + base64-js: 1.5.1 + chalk: 4.1.2 + commander: 12.1.0 + event-target-shim: 5.0.1 + flow-enums-runtime: 0.0.6 + glob: 7.2.3 + invariant: 2.2.4 + jest-environment-node: 29.7.0 + jsc-android: 250231.0.0 + memoize-one: 5.2.1 + metro-runtime: 0.81.0 + metro-source-map: 0.81.0 + nullthrows: 1.1.1 + pretty-format: 29.7.0 + promise: 8.3.0 + react: 18.3.1 + react-devtools-core: 6.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + react-refresh: 0.14.2 + regenerator-runtime: 0.13.11 + scheduler: 0.24.0-canary-efb381bbf-20230505 + semver: 7.6.3 + stacktrace-parser: 0.1.10 + whatwg-fetch: 3.6.20 + ws: 6.2.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + yargs: 17.7.2 + optionalDependencies: + '@types/react': 18.2.62 + transitivePeerDependencies: + - '@babel/core' + - '@babel/preset-env' + - '@react-native-community/cli-server-api' + - bufferutil + - supports-color + - utf-8-validate + + react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10): + dependencies: + '@jest/create-cache-key-function': 29.7.0 + '@react-native/assets-registry': 0.77.0 + '@react-native/codegen': 0.77.0(@babel/preset-env@7.24.7(@babel/core@7.26.0)) + '@react-native/community-cli-plugin': 0.77.0(@babel/core@7.26.0)(@babel/preset-env@7.24.7(@babel/core@7.26.0))(bufferutil@4.0.9)(utf-8-validate@5.0.10) + '@react-native/gradle-plugin': 0.77.0 + '@react-native/js-polyfills': 0.77.0 + '@react-native/normalize-colors': 0.77.0 + '@react-native/virtualized-lists': 0.77.0(react-native@0.77.0(@babel/core@7.26.0)(bufferutil@4.0.9)(utf-8-validate@5.0.10)) + abort-controller: 3.0.0 + anser: 1.4.10 + ansi-regex: 5.0.1 + babel-jest: 29.7.0(@babel/core@7.26.0) + babel-plugin-syntax-hermes-parser: 0.25.1 + base64-js: 1.5.1 + chalk: 4.1.2 + commander: 12.1.0 + event-target-shim: 5.0.1 + flow-enums-runtime: 0.0.6 + glob: 7.2.3 + invariant: 2.2.4 + jest-environment-node: 29.7.0 + jsc-android: 250231.0.0 + memoize-one: 5.2.1 + metro-runtime: 0.81.0 + metro-source-map: 0.81.0 + nullthrows: 1.1.1 + pretty-format: 29.7.0 + promise: 8.3.0 + react-devtools-core: 6.0.1(bufferutil@4.0.9)(utf-8-validate@5.0.10) + react-refresh: 0.14.2 + regenerator-runtime: 0.13.11 + scheduler: 0.24.0-canary-efb381bbf-20230505 + semver: 7.6.3 + stacktrace-parser: 0.1.10 + whatwg-fetch: 3.6.20 + ws: 6.2.3(bufferutil@4.0.9)(utf-8-validate@5.0.10) + yargs: 17.7.2 + transitivePeerDependencies: + - '@babel/core' + - '@babel/preset-env' + - '@react-native-community/cli-server-api' + - bufferutil + - supports-color + - utf-8-validate + optional: true + react-qr-reader@2.2.1(react-dom@16.13.1(react@16.13.1))(react@16.13.1): dependencies: jsqr: 1.4.0 @@ -37719,11 +38474,11 @@ snapshots: dependencies: '@babel/runtime': 7.24.5 - tailwindcss-animate@1.0.7(tailwindcss@3.4.1(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))): + tailwindcss-animate@1.0.7(tailwindcss@3.4.1(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3))): dependencies: - tailwindcss: 3.4.1(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)) + tailwindcss: 3.4.1(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)) - tailwindcss@3.4.1(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)): + tailwindcss@3.4.1(ts-node@10.9.2(@types/node@20.11.5)(typescript@5.3.3)): dependencies: '@alloc/quick-lru': 5.2.0 arg: 5.0.2 @@ -37742,7 +38497,7 @@ snapshots: postcss: 8.5.1 postcss-import: 15.1.0(postcss@8.5.1) postcss-js: 4.0.1(postcss@8.5.1) - postcss-load-config: 4.0.2(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)) + postcss-load-config: 4.0.2(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3)) postcss-nested: 6.2.0(postcss@8.5.1) postcss-selector-parser: 6.1.2 resolve: 1.22.10 @@ -37811,16 +38566,14 @@ snapshots: term-size@2.2.1: {} - terser-webpack-plugin@5.3.11(@swc/core@1.10.8(@swc/helpers@0.5.15))(webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15))): + terser-webpack-plugin@5.3.11(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: '@jridgewell/trace-mapping': 0.3.25 jest-worker: 27.5.1 schema-utils: 4.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15)) - optionalDependencies: - '@swc/core': 1.10.8(@swc/helpers@0.5.15) + webpack: 5.94.0(webpack-cli@5.1.4) terser-webpack-plugin@5.3.11(webpack@5.94.0): dependencies: @@ -37829,7 +38582,7 @@ snapshots: schema-utils: 4.3.0 serialize-javascript: 6.0.2 terser: 5.37.0 - webpack: 5.94.0(webpack-cli@5.1.4) + webpack: 5.94.0 terser@5.37.0: dependencies: @@ -37990,7 +38743,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-loader@9.5.1(typescript@5.3.3)(webpack@5.94.0): + ts-loader@9.5.1(typescript@5.3.3)(webpack@5.94.0(webpack-cli@5.1.4)): dependencies: chalk: 4.1.2 enhanced-resolve: 5.18.0 @@ -38002,7 +38755,7 @@ snapshots: ts-mixer@6.0.4: {} - ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3): + ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -38039,7 +38792,7 @@ snapshots: tsscmp@1.0.6: {} - tsup@8.0.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3): + tsup@8.0.2(@swc/core@1.10.8)(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3))(typescript@5.3.3): dependencies: bundle-require: 4.2.1(esbuild@0.19.12) cac: 6.7.14 @@ -38049,7 +38802,7 @@ snapshots: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 4.0.2(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8(@swc/helpers@0.5.15))(@types/node@20.11.5)(typescript@5.3.3)) + postcss-load-config: 4.0.2(postcss@8.5.1)(ts-node@10.9.2(@swc/core@1.10.8)(@types/node@20.11.5)(typescript@5.3.3)) resolve-from: 5.0.0 rollup: 4.31.0 source-map: 0.8.0-beta.0 @@ -39025,10 +39778,10 @@ snapshots: - utf-8-validate - zod - wagmi@2.12.17(@tanstack/query-core@5.59.16)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.2.62)(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8): + wagmi@2.12.17(@tanstack/query-core@5.59.16)(@tanstack/react-query@5.56.2(react@18.3.1))(@types/react@18.2.62)(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8): dependencies: '@tanstack/react-query': 5.56.2(react@18.3.1) - '@wagmi/connectors': 5.1.15(@types/react@18.2.62)(@wagmi/core@2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)))(bufferutil@4.0.9)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) + '@wagmi/connectors': 5.1.15(@types/react@18.2.62)(@wagmi/core@2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)))(bufferutil@4.0.9)(db0@0.2.1)(ioredis@5.4.2)(react-dom@18.3.1(react@18.3.1))(react-native@0.77.0(@babel/core@7.26.0)(@types/react@18.2.62)(bufferutil@4.0.9)(react@18.3.1)(utf-8-validate@5.0.10))(react@18.3.1)(rollup@3.29.5)(typescript@5.3.3)(utf-8-validate@5.0.10)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8))(zod@3.23.8) '@wagmi/core': 2.13.8(@tanstack/query-core@5.59.16)(@types/react@18.2.62)(react@18.3.1)(typescript@5.3.3)(viem@2.21.26(bufferutil@4.0.9)(typescript@5.3.3)(utf-8-validate@5.0.10)(zod@3.23.8)) react: 18.3.1 use-sync-external-store: 1.2.0(react@18.3.1) @@ -39233,9 +39986,9 @@ snapshots: webpack-cli@5.1.4(webpack@5.94.0): dependencies: '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4)(webpack@5.94.0) - '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4)(webpack@5.94.0) - '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4)(webpack@5.94.0) + '@webpack-cli/configtest': 2.1.1(webpack-cli@5.1.4(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4)) + '@webpack-cli/info': 2.0.2(webpack-cli@5.1.4(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4)) + '@webpack-cli/serve': 2.0.5(webpack-cli@5.1.4(webpack@5.94.0))(webpack@5.94.0(webpack-cli@5.1.4)) colorette: 2.0.20 commander: 10.0.1 cross-spawn: 7.0.6 @@ -39259,7 +40012,7 @@ snapshots: webpack-virtual-modules@0.6.2: {} - webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15)): + webpack@5.94.0: dependencies: '@types/estree': 1.0.6 '@webassemblyjs/ast': 1.14.1 @@ -39281,7 +40034,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.11(@swc/core@1.10.8(@swc/helpers@0.5.15))(webpack@5.94.0(@swc/core@1.10.8(@swc/helpers@0.5.15))) + terser-webpack-plugin: 5.3.11(webpack@5.94.0) watchpack: 2.4.2 webpack-sources: 3.2.3 transitivePeerDependencies: @@ -39311,7 +40064,7 @@ snapshots: neo-async: 2.6.2 schema-utils: 3.3.0 tapable: 2.2.1 - terser-webpack-plugin: 5.3.11(webpack@5.94.0) + terser-webpack-plugin: 5.3.11(webpack@5.94.0(webpack-cli@5.1.4)) watchpack: 2.4.2 webpack-sources: 3.2.3 optionalDependencies: