From 6932fbf81d5e3e8bfbc67476c9cc521bb014be6a Mon Sep 17 00:00:00 2001 From: Enes Date: Wed, 22 Jan 2025 12:01:12 +0300 Subject: [PATCH 1/7] feat: add chain configuration to Demo (#3589) Co-authored-by: tomiir --- .changeset/curly-dodos-scream.md | 23 + .changeset/curly-mangos-stare.md | 23 + apps/builder/components/chain-list.tsx | 63 ++ .../section-connect-options.tsx | 10 +- .../section-wallet-features.tsx | 8 +- .../connect-method-item.module.css | 56 +- .../components/icon/exclamation-mark.tsx | 10 + .../social-option-item/social-option-item.tsx | 2 +- .../sortable-social-item.module.css | 119 ++- .../social-options-grid.module.css | 8 +- .../components/ui/round-option-item.tsx | 46 + apps/builder/components/ui/tooltip.tsx | 33 + .../wallet-feature-item.module.css | 57 +- apps/builder/contexts/appkit-context.tsx | 4 + apps/builder/lib/config.ts | 101 +- apps/builder/lib/defaultConfig.ts | 12 + apps/builder/lib/url-state.ts | 4 +- apps/builder/package.json | 11 +- apps/builder/postcss.config.mjs | 5 +- .../providers/appkit-context-provider.tsx | 34 +- apps/builder/providers/appkit-provider.tsx | 51 +- apps/builder/public/bitcoin.png | Bin 0 -> 3688 bytes apps/builder/public/ethereum.png | Bin 0 -> 4770 bytes apps/builder/public/solana.png | Bin 0 -> 13880 bytes .../src/context/index.tsx | 21 - package.json | 1 - .../core/src/controllers/ChainController.ts | 36 + packages/core/src/utils/TypeUtil.ts | 2 +- .../scaffold-ui/src/modal/w3m-modal/index.ts | 11 +- .../partials/w3m-email-login-widget/index.ts | 17 +- .../partials/w3m-social-login-widget/index.ts | 19 + .../src/views/w3m-connect-view/index.ts | 29 +- .../scaffold-ui/test/modal/w3m-modal.test.ts | 2 +- .../partials/w3m-email-login-widget.test.ts | 27 +- .../test/views/w3m-connect-view.test.ts | 55 +- .../test/views/w3m-profile-view.test.ts | 7 +- pnpm-lock.yaml | 939 ++++++++++++++++-- 37 files changed, 1472 insertions(+), 374 deletions(-) create mode 100644 .changeset/curly-dodos-scream.md create mode 100644 .changeset/curly-mangos-stare.md create mode 100644 apps/builder/components/chain-list.tsx create mode 100644 apps/builder/components/icon/exclamation-mark.tsx create mode 100644 apps/builder/components/ui/round-option-item.tsx create mode 100644 apps/builder/components/ui/tooltip.tsx create mode 100644 apps/builder/lib/defaultConfig.ts create mode 100644 apps/builder/public/bitcoin.png create mode 100644 apps/builder/public/ethereum.png create mode 100644 apps/builder/public/solana.png diff --git a/.changeset/curly-dodos-scream.md b/.changeset/curly-dodos-scream.md new file mode 100644 index 0000000000..acdaba484c --- /dev/null +++ b/.changeset/curly-dodos-scream.md @@ -0,0 +1,23 @@ +--- +'@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 +--- + +Refactors network switching when trying to use auth connector but active network is not supported by auth connector diff --git a/.changeset/curly-mangos-stare.md b/.changeset/curly-mangos-stare.md new file mode 100644 index 0000000000..15a3f2742b --- /dev/null +++ b/.changeset/curly-mangos-stare.md @@ -0,0 +1,23 @@ +--- +'@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 +--- + +Refactors connector rendering logics when add/remove adapters for email/social login \ No newline at end of file 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 0000000000000000000000000000000000000000..d7fb05a43a1e09ffc94879ff794624ed551db676 GIT binary patch literal 3688 zcmV-u4wvzXP)bSJ zC~XXHK&6Bi1X8PPL{%s+F%qRbkws;pQjuyBitU}9IlbqOXS2U%c4l^F?j2`8lH<+p ztarU%pL@_ryT1)S@(#@ybAv~&SfBf?i(%tJCd&5J5eJZ3l<4%w*-{Ka#XS&QhRs^*M|PDUc9>VtW1D_pod7B>O=etB=> zXsXl4)CA^W3c$U5t4@K^fa};Uz(wz~Oovp4XnsQu(I$*Z4GVFxe7f-hjL66WkHyW7 zG(;XrVD=Y0q`;UA5%Z(uu@ejI<&^EKW1pKXoZb`y=abf%6A7$Rk502N(elI(*FoIz zEpR{k2e==;F2BDIbp2mY7)F>vB@_7k(Q8GT3Qhj}?|?^+b=}7TyPv!T_MbCLBBcs9 z08X~b^SB(ZH7NEpY4==Zy-4EXk-PfD_3sx)zY9e{PN8OZChQf6Ni2c6+*h>Ra+rv0 z!GkC-{7G8<+iGaH?)|CyV=w_EIumz}T#9-j`(3wXuNJM5S{w@z_~QWrPaXkL@t$Kz zVOd~?hji!K8_;?)wh^U@tS6t9T3m_hkE2_#462G4F^i+$3w&&l1#>Vq2sNbNaUbYL zt=dqv^=L#An1|*f=9h!~FT)l&D3TWU{0M?@KYRnsfaapsl7|YchGw8u&49Ij{UY&PHsXBNy62I=$AvLE+Dh&sXa+m{BHy<7%MX4!1(yPl6yoN!@hmvV z|ElXhdk;)QihPPS3QJ{%TQIs8_^0TEEefS&1raE?w9ug8w%Go+7w#>GTF|3`K6vL` zWzmGd3PY?a=z12L=deK(-T!t&bKW9?!2}0cg7i-K_6hT&N#W#&pTuYn%LVek{RC?@ zaESJ-*IOO0o46Jn>1T2Rqce#i1*8xQHPQce<5}?_Up&}?5mIXz83}1s?zPu5|9~;f zdckD>+sR-n?#nzjpR3L~Zu2S_hDutu%9ysyiG|GQqDnJn4Yijs5Y zs!!O^niZ<>@WCtc>t&;a=I#$!GrqgCX58h2r!4zakqQdVKVJqNu)E+9qXAJ6)z@wfi_q!=75*{?kgdoMnyn(*lQ z$B+ayWdHb&pdA zTnpwrbNTSsRU{mzP|rDPONv`M{tJi;=ec#~qt*KWtdwx7Ws>x5>c^`;-f0noe*!nr7aL`R$>-B@Dta8HMYKZr|Hd=%Gr3)i)T>tBS@DkXvrrU0qPrC<8 zifaFL#rXZUO6t_E0{G#i`RBeKto`kiM(x4k=TFK%7`EV~-5*)QebRCsOxw~M8!d2} z`DfLZv)`K2+Hbf^nyuosQ>BMi)%VsrzX8)AgzZ8ESy|1bX{lHT!^tE6>(=I{r&A2}C{)7w97}oILBl>{FBOU&)qi$_fWYT5nyb z7bp@GC$hpN_(;ffmQm;3_M)Ty%W&IllAmMJVl)s~mj!>beQ@sm zR~1$acBR0(t&&y?RvV!NtnpRrhGKS8q}hK(|9Kx0p}XO3pDC$r>GtLN z_RjgEbzNH~b5Zi4iwXW7ok+ zizJv(6Xqg=znxOMTqx&Dwf${)vVQ}rCn|$23Ojtbs@KY3&EXwrI~(kVJil}6;v_f* zY?>w$9Br4|7MT68OnT%Za8m1t14rQ~OM0Enb)8!l(v6#bQd#`r(dVyTSyF$)9RgnR zZ?^^BvnMvEO3ii10nYbwpE4&gI8&8ZD~=MqZJp`wuNAb5ZSFWu&A-{T?aIzZ5}2g{3(MB4o1t47-tIjx@}b0Oqbx)7iuoY?4bV&g5ia$fZP?ec(;0yo z0~Z}a&R=L=d{pgX=cb&=8iq-`+cAjvZ0~)2ZL>T5!Et3hWB2lPebT2Tb<-5|wJaAYMe3u|PvyF1vm4iwll zD;{RSajsXE_uAvi%25vc;z*^P&`ezG^_~-Q;;8ZGF2p3ndYK`O z@2I_-JC6U2@|*)FFp8zHheHMS%7~zK+LX5cJxBvTf-3WaC?)eHF2vlJ8$=y*djlKZ9=XN(l`l6cXQdSzdHh{3s&i8YY1Tat z8^4!E6lAdb?4c(cXW~33w!mC7o-Wy!35s_NK%t4@cRPu_!k=r#)N&U11z}7+@MrC~ zk^OEbiI2ki;ldCW$I&v!HIJj`zawFBHyqTOBytDq* zDp=z3SmbC(5w@u1E{qZ_2a(BEhWti%o$~#hT7xm6@MkpHD$i#jE|dA0-@E53XIzAp zv0v^+`CAK?(+Z}7$mLM?@sQmEVhwC(DJ!e(dMU_}osFZba!7jmR<&lfS}yk;I{oQc z$cbD9X4snDl310_|1r3QkRS9V8AvVXVYNN4s|R%iIk^`O{IJc#G2vR8bK6)i51LUK zFrbwKC$wf^+iwF5K?yD7uubMHdP{^M!ul8^un%X#(4{j)^3f`ILU@7KR+}QMk8uL~ z@bTokmVL@-tCrSEF1$MJOl^0yKm=A#AarvdXh%+VC5NLJHiA8qQ0tS!rTbKC+$!97n<# z`OD3y<8ue>g{@MBg7z&C>q<-)K37K^Al7*^?IKv{F#ZqrxV;+m##|`?0000xQRydo7a(3Cvvc#`-vk9$wgckUeLdOUY#?#vzE-+>PeGoBg8 z_WkDn{^vPI&@F($BU8!gLLuc^qQ`ROI#-CKkkliE=qbJ>Nm3@4e4`NK>U|j^nIUyA zg*-=OWh`>jory$xaCcXRRyYK$Ff5QsR!T_uth7W*k=J8hcU`G&>Ru|^iZ}hdT>S4? z#lKt#@3FqOaPwUfAu__1W9ox)2BaVAzk7^U7*+(qAoY5|-62SBQ5PG8CZ%G|aflq( zyA>Rd+$dlxl0kOD#$$D}!L_(aIMJ!r7JKY3ySv7TIoJ}sh*Y9pJXa`4$`=fw(U4gy z61LD}wB0|Hstl>^Nt#*%7?&;FVtGLwBlQtrwPRNX@BxxxAbP!n1Bct$wlv zjVhOMoSTfZAsEC;5(BVS$Zs}Bl+E)YH3)|6_Eyh-tN+sK_dhzkzk8GzAa;U1i?xm+ zP=dA2=ayf7qe5$o&#F~~t|GgkxQUL9V86w#bYe@P<-5fr97J2v?Tbsgm!0509+~RN z7o20aBC(|a(H-qY=~h0v#kPl*I~ZG5g7+Sp+^MJ>bR9PdVsrUhlh{(gl8ZiC6;8y+ zaQ|IHv`knQg8f#T&B1E<2TxH0!C0Fjx~euKQIi3y%{lH_$CbU)vy$er zKR$8+RM+sgPtUrf6s#v#aL(>IaAg-Y8BMd`VxeL{6$^L$Sgke)D2lbWde&@_98q=e zp=Q;+n?kTB$?gePx~ciBm(Tu$rGR9&x2XWkYMx|APH_K`sg&a=a+M6t%t>8V{0YH; zZ|+>BEZMf2LUN=&c<+IUt%}^!>ee&Oklc-_cDna2n>Yc!SzoK7U*3CYVk*cxJQXxM;EK;Is zcybIN>Lo1 zs7b0T60ApCCGEg~9QUYs%cj+#0;?c!ZASP3sn(-UN~*z8rT11O7z628(8YcFvEINc z2#=|Vnrkz{0Gz;OVz#`}`vM8x^V-A?6IgM_OV6*SD4_!`#?1(W`Jxq9YDffIuyW%0 z{K^Qd);FP0fne)_GEE9jK)_YB;v+%tDNC@i-fW&&qgpeeQEXt|i~wN8;3~)$mnB$O zVkefBaJSyD6|1m7z{S0c>9gXpzIX}2UgRuOxdO2Ui2cpe&G(aNM%;OO)7J+yg!u{) z^^)IQ3bB19M9yKF35{aI6TB;2uwrjN5-glwj70?NhC(s#DKRkbONW&yeJh9`JW zf50#Wi7o!;7YHuOb1&!MYW<_Fv37hOxu5s+M_#412)6t(y+H6vkmr}4@1(fFxuuAm zhycG#FA%Kcc?)NGj;fi^D0FVThG)Q4PNps2i@kZK@*H(Dp;2&dMigawVUAi8TuhLY zT$g%sA{XG?jBvc|9FwN#p$S&Jri^)WL!(m~%>sfgjsce`dbmX^)&vV7o^=?KYnFU+ z1=r~hSTS5K9&3V?TTXG5=O_a!sMEJU6lnZ^d9MQ#0k}?oU>9E1Fj|MlVwcL9tb#Lz z>G^ztj}?R11H12}Mv=MU(qzV=OOvi9dF-Ea`gzD}&o5f^9vO||-LVPjQ%L#1~)l=+c;4297wu zUz6li+^DCS0Aep(cId(-r|wJue)-F9^2$dS=)QXr`u7MU-)KgB^<93UniMy{sVym$ zP!aSxPVyY4nSlA=3zrHD{xu4K=>L45*S9c!+AKx=~p`sq9Guvi3KhSP-q z%%Qm84bUx?X86}jlRStmg$c-1j!E5$&{98*fD2NMT@Yf0q@>oGxT9$QlF#MxuTcQ) z)pCAXPk$(>KK;oY#f75RO~yXDZ<+}!iP&;5M1$aayX}RgsBs5eu@ekA`zW2gWzKED z2NXB>>4zU^p{v*2SaajpC%TWnJFPBA{AoqhxTb2;|N1N&d*K5FXRH`$#uoQ)e=tKI zo}Jf^S300XSFU<;9p`=~=8Vk*4qQ~>R_G13q6R8Q-(4)|V!^sKyw?Mj11d*1rX^jU zk$f6Ag2uHE7EF59ST2)3pHpNP^kCZ~jQ5iCV{Tq*U&|?u(1)c;kx`Z`$GH$}0I7y# zpZ<7`wQS=9d1*pb*RJx*)jhW>GnOmeZ><;!#tOlp<^m*}qko1RPbrK2;YzTd#VF6( zhvHKp7_Is}uURClj1?op=`VA-2910;2=LGEe>A7>h7`?nNHb_#zFM>g@V4&DD3MKK0_cZ!Cu;1m<;eT!3a%uBs9BC-Byef zt5j#Jt<4%A-gno7-rzgQw9Q~h|NMBK-u&zIqURvpzu$Hn4gR4kFxob06&mf0MBDJQ zNPF<13L+PN_PLE6^lRlxO36KUJ{vo^0JxN{dk&AiY)Q&9w#6eE{@@>Tn&?tsoCkB# zAUlX?6dUSEt02ddQ^2|D};PC73L=dE>+l z6=0Po2)-FJ)0>|Tp1d?^)#o)#Rb0E_r9G9J^C+GEcJpfOYsOfCa*P@3N);$r>c%osTndoOAx8&rqN$4HGsFGe zUHJOu0&tZSw=gRGo>c{qzx}=PY60V)E6KL8E+g9@6n++R97HbC9!N26)yVzgs~j70 z0dNSHYrbA+_^T&RDf8|Xg3nPoNR!sDZP%$&CHT`S5DCjJg-NR_!K6K@8dvb+1M~4` z@uoz6p#BVrCP^n3o-+^JL}C>8oR&kP&~flsCeR<30<&H4&y~uaK|n4IKbs1%J;VDS z@mY@qXmS-?#~w4!En;);p^4M^g6!oG>idC)#LFQ!V1X4MJa(<0ra4`r9=iEPYAB$(Q>bs zC0KtFgc#>)#qg!4PA}gDM}L=F>S)l831h|8@c!=6a<2zEBulz|oUItCQzQPkR@71f ziwnkjRXc1b=skf1bN9snN|W`ZPPKx=bVem$tE5WS3sej#jW2Fxm=^;mWxoFAHEI^% zce$QjaWisu`zpP!BEiOrF#^J^x@CZfx^xO83UHauC z)TLy{J?e2&88wx4hWqatfmCCg1+G$!)CnXv3d}Qem1bP~g~007y9aCeo|@}+kZPs< ztfjh^DUeFwHl0xlTzgNNtxdIlPt64Tr5ZkfE9y<1xJ_r20@qwivvh}Qk!FKXm3K(B z6m%33oE`h-59JYd3dDeGDH1SIvygOjxc}~vP~S@-A#Hom5+c1?HOwuhB!?|!VmgC! zN`&DAVTtj>`@45hNQ9l6sb=?nv0TWv_{T8Htwe$-`y z@ByytY_lzqS;aW$sx}3}bvnZU5wl$ks>1kPKk63Qk^T2zHAJ7;KAt1skKZ_PJ@9pJ zR+^_YM2hP>$EecdNX@+LWG3WV!)27qhX>P5_bhhObJNe!UkFiCeZ zn3G&O1;Tkc!%yz;{(DBLK|~S<`$^^+c$p~>kjpV8GF7T5$<_ZZMTotJCbmjR#~fEC zaZC@lgDx>ZkL@40RjZH+AzDU21)tlfEc+3;t?l~rRFBo-o^~DCGd<_BK5Uu;Y|EDl zxz@Ik{atB_5KR$NL$Y*b4;EBsb37x}xPkH`DpV*Op|;RSv>b${dduC1CPq|wZ70?o zW0!O;s}|!1{4E*>s4b)X=*-%KBZFNTY66-b4(&NOsmg0|KuL8HK~CY;+c`KC(9cCM zg{}}92VrZ=VX-Xnu90k<4*_e2WdGQF^CGKNy>+x-n<2?del9H|_8h!2sD9*5STlSx z*MYXEfz(IOwOPw!wSFvn#tLf|iTt1vsqL_0loM~2?fgptImTdmaY^p7S*;(jl_YQk zxht$=kZlk=pXGT1c|9m47URd&rXQPy*lSLEUYppV@`M3HbS_UTR=WMfVr~jE%W)BF zz^14OqLq)@DWyz7y5XZiIQL)-!IK%M(Yvh2Y_X+aS2c!oJ0y3&N8@W_)ttx%k=Q8! zTNV|q73W@@#QIz=#2T>e*6Y;Dc6xV!6VZ0a*p3%N{vg!07xsSC zmWqvAxs&S0iXgZYIszvvrRsdosy`v+KVTEP#DZsh06@AakCt+8_FgUeO>ZHWxVhJI z@x^iVFQiF|GZwjNZt`0TRwTit*fltnOsp=XH0k6f6*247AC|<~$T&W?>G5ZoF1poj507*qoM6N<$g5?V#761SM literal 0 HcmV?d00001 diff --git a/apps/builder/public/solana.png b/apps/builder/public/solana.png new file mode 100644 index 0000000000000000000000000000000000000000..abe523d71efe12131b1d64c55e5d5b0c5268320e GIT binary patch literal 13880 zcmV-8Hpj_{P)?Z6z9}@!%54p(#mt=(;ZU#0GTryw88H?!8`n{pViW zvMt&2^|r6hIsf@zXRp21`qsDB-ao3zP!!@;yglsf1k>0#v_|Xi$@M^-!%`<@rLjmY_muIU=|WwUBpyg z^Ufl)tDp#tzeHg1RZ&u^8%3DBo&VQ&Ap0SIvhPU_XvfTz4@b)DA%uMYz1x5G5Io1) zb3(w^A3Z#MYU%WD=-|4Hw6h3qn~0Mzrwm2dA~+NQRpGFlOn9}S36Z7G-|?QhJqo=Z z%9<%gq&DT^*?@} zi%nfE?^iKHE<)=eLtj6aSNnx!8=1gSh5{t4V?%aHWn)*~j8c_7zpt0FLBiLo=P_*u zc|BCldPjEw3;Ti-@ZY)b4`*qFHx}U)ZN+IQ!Xp+e5qELv=psy7!XB6TwF)zf<|Q|+ zWE#$@$U}jTWt9|dWi57X=Iv#u`1|tjs0thtOcvpf%1}s2l$u=QiBHbgNw~iZihp{U6>p+jq3L2=jGOJL~)Ux>CfrRP=CBwX^zHQsHNP4?(*bPMJRjP~WNo ztQ(RDG^-hI=G=}06DAvS(Q<&vlwhg|eF9C&CU9*?N6OxxxbKoT9)Js=J?jE~(;pn3 zT}}P|(lIltscajoV3vwmU7{WrkW`pdM53k|#ea?;lgmD$$q+S`wY8oFUFcQgk%cUN z7u|RJG3t9k{s;_wv3WwP(#rCWT_)P~7&r;FY zqCu|{K@fLSUo>lxL|d1Ow&wa>r*J3{KoBT@#{w;eyqa(j%`ae#zZ1a>5we?S^QGol z2WA&ssHA3_8#>q$%dh7hl{Z^b2UGRJGFU*bSPz{m<6zId7w4P_#H|t(bBBzM5$kI76eX-y6cF0JxfPBkGoYssLF$ z*o2M2d=EaW`Bv>_@oq{Z*i=k-;@+)aWYC^I&`r?3dpGZzgJ-ZkqXK^Gm+rr*bm898 zdE0A8RV}N33q`04Bw)$SZxfsd5?x>{#N0I`Ey9L@;CUa0$fl7kTxv)dzyvQom(SRQ zhJh4m$eGkWG%atYncsIsuvN$x6=BOxS;1I7UcS2hYZvd@2hUJ@Mg)Are?B}@0+0Qr zgJxAL*~Bg83@7ud35POkpQ7dfvP9F>x0%a!!JDti65_mz6e>P6@HW9`MGWau6-u7Il*~uZ~u?qxT#z1 z4i}d?%Y9N@T9GLpU+U@fa?hXHZB^yXrH|_8%&JsABeHAG{5@8iE&C@*-9u@ps&OhR-|hGx$`z8Cyhs7y$*?)z!H<= ziM$Ly$Q3S%mh15|{R$lZspEIu4ClF>Hx1r>*U{-do!(o1>CI$jvJ9s)eb0YthMR_p zHmaHB&s1MoLs88re_v&p!L?eCXOkRExFTvj&ViYNHSw8zCNssVU8a$U1GC&TRYyj( z07NuqrpK&+0xeUcEd_C3lqN_ZSeCv|aQl5*cfAkJQ#&sL-hJ0MXUY$_t91C)#z6Ju zcb;5bDeRK_O9f3Jf|U1TepF3$XYue*paWlRLQV>{>e&QMGs-s8UbnH|O-fKepe5A< zON^}HQb6J8ffJ20S}h#oUd;-y#{7P&w~4SFCol<=QyPutx(?5a$v)=--u*j&va@vF zUF8SOn4et81w^eXh=LHurrP_Z+dFv$*JKeo>#l`H=977!y07Q}Ya?rU0AK?uQxLX% z4#15?Rh=%`K>CM+bw;E-VGqhTyGGq4s0K>=X2r4pictyKJSckcc2 zIrYKs`rQAyzTEM_(jPPIYl=J)VEP+q)kK$9szk>KhP`@a?GK2fuq?|*lV_to- z`saEc_1)$BtbL~{&9Z0T?0y`ozn0OUG7!I7&y41aRn36FxeU>5l@^jIgZkkt;?m!V z&|o#Wf5v3k%dUfRErL^pn>z`sW)SK*X8Kh){F5jC!}V|u+d0$VcYXGoH&#BDbr1!i z9$)FH2S>hyYAVeiI~!&G)iko|C~KWaznNqhhDQ?nqWIrNUAiyFF@NlqgIdypk)L_f z;BV35T=vJRmpS08;D4DRBUq0;GqfGey2a4-yGoL5OOu}1;8S4Q{k5&v-2vyIof8dy z_nm)sW4YJ;9Mf0vloZQ}#gf0t+E1pn*|oP2M4&w{$CyTn<|RhZGB(h)7bqZY--hI$ ztG>IYJNh2(Ywwx)L`BS%ltM*T0E*q~aj4eSHQBYaX+75cJ-cDr9;|@>H4Qgz1y;)V zIF^?S;s&=cME!xET)5{(I0x-%Yw)}8`1Xw@S$6;|mMwRAVtKWIDYbT{HQ?z!iC<9> zYyzh#RqH5z7Ju4e;|Q?86Af;m2ViSJgm^3sOn`doQ7wdX&C&k`^lYDNa}AWU6U2zP zF<_)4hpia~&1bMiYSm*}Bq&_zQNtb%WYq!A(>j@dqvSF*wZ zXs8zk;E2HKM+ab0s9GbiUWmo}pbZKzJl+fgQ=KrKro>$9c{Al*U%%u{cf(U`Pg%h4 z*?)8f^XlPpyVIG&pu$QO;$qdPyd;q&BVsTOl$%zK8ET?wGkCZ}LBQz#x{HD#VWYYx zOc5Trf3?pRKTD{j?^C;;#(0;FB1D)Mzw;7Q5h;!KS~X) z>LAYA6Y7VBi8BAn7!*MeFuDJ>_u2inUxWLPnJq=m=AW}gHz}ZU_Vdju+xg^PP=j05 zQ;`5VUK+4kE-hg+t(PJimt)mLq5A0olV%vZ@&)tklg;wuG{D5~zIx%V8F&iqDG9iP ze6S4onF@poOomgZ3w==#f6@+5LJL}FDFBktB?;gRfJZ=6G9mdf?X`wX$v~9TnR0#y zRW3}s-te52&P1g$dEcIt9z`BNENle^W@Al!YIVV3wF*Q;LMV4AR3`^`a_@*fFl4}> zvZSiUpngpKk|;ynR)u?vYO)k0u*$HbU!}Wt9=mHAo@9H{0>1gzkKWc%nh{>OP>&16 zNcQNR$^w!<6QIUQt+N0V#`sB;g!1ldZF4K*%hJa^4C2_ci+~gTn`i4Fp0P1Th9LdP7x{ zL4{uauAZ2Hz3?R4lM?Vh{Nw{S6=B|F=4D~2$ZHjw7OB9JX)K9QlWBkpObCkP8cb}C zYpmd6Hq8f1Ft{1^Yj7Q%nt8h?7GN*JRb3@dWS9`$6ziEnxFvW^2MiO7fUd2ehE&b9 z>X#xX^~f$l7iz;&Zj!NuQz}$Xb_A_2MiEXGGDQ2Vs{PGBb?UC0;7PQz23fbx$?hQC4nP&W{a=8`2&Re+*=;1DfJ{ z*%x?(HB_!3%@H{S;)NU>f{Y0dbK3Uyo%X7NGV?PYT7e;P18V$@@Z#V|y`p-ukyL0+ zoS>Sh;Nz)3-c8^&XG>|GwFdW;4wk-{=8<1CWNFa=sPuU9l%DF1(T`PXS>=}vM7bub z28(}|QJz4lW;FjTKvec^5r+G4Nh?OJ6cbO)R0qFI7{HgNAPGI~nA|6(Fp>bkF#%dQ zpgrR;Q8UL9-s*lj`e1OJ%DW0$=uE$cf;&`9UWdw=yi&TZ=2_WFOqW#SemKi^Rs#Mf z|LVcLrNd^lgW&Y(9@WPodd}AWu;p&$rzBD#vZ{xWQvIaHO3EvPqt1w^EtoXHz(8=| zAWKa#1wOigFD)T4Gc7Kn^k%Q;$v)tm&t@*0O?4uXj0zml!4Wt6P2j4kjF@uK9@>g& z2OB&(=)rJ#b3*_vmV$X&kzs^~C;8Uubq+dMp1E$plLWM#VMy9s(i zQ~iV*oM3Wq8O_smq?eEgmliW9Kte~Ou?mBYwgV$DO-?Ny9w1`@G=xTFfoWa~v&iFV z(Cmx?G(+qL%dFbNuCH!Gc$Xg0P3V53~lDdH9{N7T!;z^h^D|%XIC%+aJ3m_i;72Tx-ATAgr!b07o3y8^MrNgC(|% z@n=1;>V)|^XyJ-f#)TTG;CEhq}2*&Q2JxV2r;ZGj)}wuyGK#Q+bn5VVYBU;%_s zsh?L0UARD5#zL_>eTRD=?^=&3;1AyV@NQ1r_hK%V7Kn?DwWpHAo zd_GkO5J7z0f3vSXdDrY?UF$IgT!ghZDXLpu6lz5@H~1qBQS{IG+@vTs1){e)r6S@NbHMt&#wYBnkf7kb2YXVHj4wKf}&a{C^2y|LtR4 zZ(RZ3`oTwb7qD~{lc9yPU0niZ2sk#CFhf9ZV5UNx88~7!K?ZmT24>u}yO?9#_cPBA z;odU;$Fud440`4;21j?`W z1qaY-(_GhJ*W?g02H{%WRA+o~*7~Rr+typVZ0iK<``N4DqN#IQ9(KXCuPyx$-ar2h zAvI(^tCJxONdrd2%?GLvHjU5SG9LQ zWRRO;O09H;P}6XhSZItAkb*1^nJlEabn7JSz3wWw^x_HF$n8&;Prxt!;Ok(JScn_v zy}-?J2x=Ob#=vlaB`kQyGr3o~vmTvZx1JWS5pWT~jVc6OU98%Riia(x1p6FfL&O*d zD}J``m5NlvtZdO`MW`RzbtPVU$;KA$H;Zup-XmY*DLNRcFDX)!+H;n4FlMFkVjcqHnwT z*i1<;637wvlV!L3br8ITRmIVLk9X|?JUOojI zxmBU=`QF!y2A_deyswD{C8|6z5eoFi*Xsf^*DTjSg1ecwBm_fixU`!T7hbk)hJL%5 zY1iP~ceAE>l_y}{NAU3SlIFZXkciD9maS?YNj$)bnAjvY?{HPF&LhOzgIMasd~CTxXe{eu>bg z-&-A15_k{1#7(PrvOz$~M-$q-A`^Id|5vWs3@@MA1RJ@X>{sCzjvj`GmzDs><~i4V zvzS3L%bml6*^p9Q3MV7#`cZZCJ@~yPy#G%Z;EEq@A(2N2vAO92AQ=B{ zo$a{J-ec#ab+@lMJJ6bYS#NJz=bnq^E-%8reCXRE-0Grgrzd5fs-;VH!dxv0lFs99 zOa5a$kw9v0N%WcBp{9$)Y-dnq#uopIcxYLOOEcm-2S4Ms_ne$97y0kCsJt+ocIk#5i3#qJ@rwIyBj5ojK3?z4>GT z)*kZuqHRV-bBjd-A~n)00(j;);|sbekTO9&_S(9(CY$JP6?aywSN&|i%=OJ)qG9~< zAi=&S>5!DwvI@!iszv6`Q3tc-$#~?nqJ&aXw`}D!R_4l|V@a&=+j34or$Ht4sM#qC z)yxEHeOJraU>(QT38!3!>@p7HT&tVX04f zNKZk4*wUUMQ4+rkl^;@dVjydLFxb7AaE+!E@Cp_fnG(6b9&p&;U`u-sRw!%vDeLuY zJv;m0%01UE%+;)}>dgx)UbczGq*U)UNs*YCUbH2kWIWZi9JvBZY6sFoQYI2o$&r0~Dwj2f*449`$YE=@*6d%SAB=e!fJCyN;6s(vo z&mf^Fs;}g;)!&sw_>}n0t2L2+wCl)?tJ(A@MY2OlEXBZ2Cs4njt~8s;Mad-9dvlX4 znkV9FffRU2ty&_KKCDRxMs3W3u`S?Y0G`|=WEuNmylwZf>4|RgSUquHb~t^a`O}Pf zFrlmYE{$*3sXdlBnIx9yZ8{N6>IBRWdtqJfNI|8R@u1V1HhFEZewMF%#{)Y|D>duY zisnQq(1lU;VeZ}rEC-2d^_1vPL2&U_7~#Oe}nyA@HIx(%yPsS z|GJfR(3OStK%b!r(9o?7cCpsW;GUP}7Jz0St3%&}q+(S<`FJ3GgM_1N~2oh$A z^^)Ty_YEW_yT)PM2^j<@i}^tn2rmN4C{<#>dY@v~GHH*<@HUo6Mv@wJTZ_RAZKfdH zEGO3>1;h%!D{GETt}ojy9&72))$*zOgBoQQ1C^% zcpGZqt^Nzdjh6eai*t0y8e04Kr7xYt?Jwxm%v+{JIx2%99y7OSX4_4#`DP8+ni)0o zCQ3>sLB5V1tLLpFQ?@rhNsUTu`x|P5wvEtDzUhEyVR=_mf&b%&Kd7sSb7%7b3EWID zFW@TycyKFtg7+il^aXPz`C1$l$jk?|M5>9V(rT^Pku#m?!y&OtN-K0t74X&G-M!RN z>B4=YJ3R;LIzlOoz&dJ*aI)M3W>*b1OKgU+bj-_MJ_Yan2R{Oj(GbqQ;nV#7ytOa> z#Ut>~zV$7)II>mk34=d%XVp6OD%fPeOSPY;iV9j3WQc|yUC5e}a8wN{*lGr=Pp~0k4E{(nMo(pVmsaW@RCdb%PJ$<^Z~pNTj)D3qv`wN4%;)+$LZkO&m~jLdh60 z%UBVY$dcA%QS$0aWo&w&MvAmT`G+6u>5k7l=O07#gze2Qelfi3$}0y;J)tsR!UW== zzHN|{AT2BIo8tI#(~-RboukLfCN3Mj#Mbs_t6O0Q&d4DMoHqur;iHz{G}#y^0I$ZE z;xVhX)ItCh+EHhJMT+sef4%~ryYmEW^!Cn|Tv>$-tvnbs>ZH+q6iuiv}KSNZw3Z-b58-g(uPY*Byn!3TwH;&2Mdc}DHmlq^$ZF|o)3w3LULIE&pC zmuvj16rF7XX!MtbSvc*B1_dMU^+E;!6;COr2Q3*PqcQNUl5|K~TQn>TNIpu7kl_oT zf1YUa6<44p8f+d`oBA`D-UBd5#sq&IYvI5(6v!8V0nj`$I7b5-K_!cU1!|)?Zmz;0 zaAI3X1HBO01T>qz!kHgEsrzG_c*Z|~U@*xV;j0H1;7eaT1slD+^QxD?4KIEX;$Zr0 za9w0RIE6xr%91H?t^T`Z(@f||;X|3ccJ(vy{&Q8$$ zieyeSz2`Sg=<{@Aw#nZk{MRp@hA%%4g#60|S^vysmuohPFd%6cF7q%7X~lnN}|oV z)Y|V4B#U{~@RBjU04+RfCjj3|M;s_KO0Ccxb-6$b$jy0CfcOwK*Izw&1~z*8 z*eiYvU%us{@gf0gg%!{$O+vASf>dhzDpz6Q6QIz?AsJTO>wJx7=9EeYl!Ss9WAn#a zG9*Vp1Y8Qw)J)h70s75>mVNS)RMn2xI6KR#I|ja7v&;K0eEuZ-uX`6@Be$)i5q$Em z{sdf7^0o|2nkd5g}%Gz({85r!~{ziW>U z5~k3p&sIJJVtApF!>O@dl;=x6nC3~HH?~}WVk-nMcL6Qylt4*SPQ0Duu2A>jXEVq{ zBx_6Tb3sM~Km1A-^s3^O_mvdE>{%5mLOub1@{J|fv;{q7*j~X>f10*6mqUY;B6!7Q zsJhS)L5dC3Fxi7aQ2PV`wFZtc4WTAZ*iZ#<5>lCdee^D2J7!?UqZ_U4cxZ7EjvPOs zsa24rp`_44fK@%4x-TwdkYWTWWlq#qVY2t0gRU7`5uSuZ-I2m%(Gex6N;*@hDDv3Y zlZGB5K_D;nN1+!%c?m)@InsxyO9W!8&B__Wmsa-V7y92vmg^ES(m`H|3%)|Tmd>D+ z2!XHc12$y_b7!SGDul7J8-E0kmGvNbIgtx)>@%14f|TP(gra3S{Hj9a?O9h4Qrv{3 zkLlAHnYFK&64Vr-Dg)=#wKMqHOc}KNIO%@a1gnDyjB_k~*?~R_P-3W}!CmpeSqEjO zl4h)Byj8?lJrIrfF<;1qAJ|-3R&}KEMvZPEybyQqlI*!bX?L@ zrLI$}jtQM!V=2^*>BtM{l9bfQvm>ftda2byEte6$p{Z>48Q9WpPR+`2B~q(q_n=fF z_f3{z?i3>lW|biC?jFTfIa}ARke6dILi%mDH%4Z zl=1z=8*DnV0?R@{c6#2#zsP)S3xi3`9`8dz>}FhbG+4EmqVcM9oR^UD9h9er2?M5! zfAVi2>znFUwA@9_9w`Yf#)C_Ml2k=XBqkbLk10N?OG!(lnh_E!Aqms0mMX;>F0Cyi z&0`xW!1>yq&~mt>l`LRF_F@PTt}L>umMq8pknG-3>1D|UYlo3oHrLKhiv_Yu*{WD; zp&$P^bF3iO(C;UdINoFq$-ml(SeS-s42G2PAAJu$S&Zv z$xvX*Ns(eATOz`dqJ{&pxZY4=tj`vJ))s_uB%TKV&tpiV`Rw^hY|Ry%fY)`0Fwepk zrCn|POm(I)gwaStZLlm9D#iC+WY51FhYX(zd5{ZMTkq%@#%i#^SLutCug22`#0qQG zkt6dW(?dJ1o!4YTI-;kAZWIG(G;7%KL^IJLehzW7iqq>UMNA>iC03!@ zLM=`PXq@azB9hGW3Gt$bTN*;tqPSLcpfe|I5I`I_L0Fo~8xAPImKzu0H8R2mPzZDE zdQ#}82vDzSk1w!d0G-q)4z?$WE_}v?SPe(jt|-Z=VKhYTArs(a=+AOJe#V0unEorE zS~nVjs;CN7EOJv;Ded(T${;z$o!D}rmY|ycdMAJ{;^G=AuN@%z-n>uMbR$im%`Op^HOm%i4bw|Vn7MLv$q_-k)Z0I>a z>42lHWwY3IQ=$M7lmf?Q4aB!m&6rT}`$!F2IL7EwEjuQ)3+fUoC{bT%WugpHGWab? zxTN*ci6=#ffyvNjQD~?rt_-LF7^y;$r;5uU2CbJeNP#Vs5%84-81gwd6jJAA;7ioV zlfhDQs{0yXB(ND7JP@*~58s2$z6dif_=hqW3Xe&IjAB(g_`VF<0Gb$@l=6e3pAMQPh2rV#+>gP5C!a_NS`|_lL0+6?lM*1Dh|F@UDc6+^6TP&m6Y=l`3^@P6uk7i zTk!rLo{-+HX1n9?5X{(d=O%2E07B#mYLR$@R?1A6tB}~~kX_5Ut0JO%1lJa+PXahb zM)Sx3IvzFAj9?3q5>eO(z@H3+GCfo$I@syV#&cx|Sf;7`ZGXWCZv4R34K3W-{`mW+ z;2V#g6d!NyWxSdruSMMs?BajAeKW_le#|{~t+s^2#MA*Z#ob8Ilw4SR6qD%7{`+YB3BxR0D(hL3*rD4bd1c`HKHQ0Uhd$~BV2f+2mp zpFd2*N_W(pUsTyC(h7FMJK}YRy*iq>qa1gf-;PjBH4T8X;d`)YEq*MTZw5+^wh$WQ zMV@0e-Q9K>!dpJPsl0A*;htKC_ka02@aV~9^^v5k8hB-gxi~l1#KjZ-M403Sjq0aW zxT7M%5%}r^^;wUH;RSss1t!(*0}i)GSdt#&7=+6>Je3d2(s$v}Q!9;7Q6KB%h=HlVQUwA7jR|Yu3*4-4fi6rHf&;&QO*7B6 zt?gZ;J4{PQQwTV~y=tBV@2o1SmYWk4rs5!Bkg`|;5xB@_^F;}6_{bDqwqxT9_gDYR zQDWgrg$sbupV>9ewKo}^p!*q*%{WH6dedIiV&zTPh3PPK$M`+0>ES(hP8=$yI%K|f zViS6lZ^8m}|DgsKRK?ApH{U`LY3rfa-!cWy2jPC`i*xY(6DzG&To-x?8b@YYT`Sc@ z+X60-W2gj;<}9Xr3r`zy4*l@&z3MfG#_wa@US0**XMT5LiWgvMQL!Z$LXo_gY%u&q zLvqLlOZ`2s|D{Q|@|7D~xTgz{`q1w^K#!hSc2g=^OZr~CDvop6*-SKQa>9Hrgc2U{ z!NoAcRMlP`7#)m0vEIErCZn+bZL3GieazJN%L`QgphY?DNS|@9-;iM{isYX1#y@@2 zB>cqR+}O`$IJ1;t?-%Ca=nogd!faqvtkSX&*5I~%+IGXyG9L^)*d&Xatau)TRIR&Jll+>uZ0t3nYx~rfAA$!SS!xsQ2JvmuaK{j|3J_4A zr3_wSXwR4$_4dF^abC7 z|K#eU92P01!D6Igkyc;OZQRfDJ)qw!0MgpkgA(|nsdd}*=8@#HIa@;qKKHk-d0YWM zA)KYYD<`ORTgXLuQ(Ka8l1_G*_(aaiLtDzw6_?OCPip%G+S3Vm-VL##Z#%c*IVB5> zAn?ZxxDWHpObsWn?cexXuF?RX&unIpFqFu6^+&SmlXzY)??D(WxnP>w?!!YM=bSS( zEw+V7&1{FVBG+)P0;#6C7R5@R7b(o+N{M!!pgp00_xv`_l`HPE&Ys*<2L8w}w8$%2 z=;WeufvM2JeNF^qE>vh0f};E_Spkt^QF2V-ixsSq3BYQTqA=|7d~F3>CSOp5EZYVw zkw5+iya*7zzz?8hbTCX7^J%p0nH6r9TLuWp_#hxJ%v!!IVd{3SzqL99;}+%q3VsJ%lwniA{AK zPdT;9i!9fHPz>*`WITk*2xhYR)z-AEzy6ZVos4d|=GM}JG>{@LnP;*RHvPI|zJ3XiRN*Id>Y}o>c+Ke`0WX@A7$Wv|9$qpfr zo}3F-`VZqXCNw)kUQuZl$15MrB`_t3V_N1W+!-e+d-WuMpVM3kA+})1j^kmgMSYs{ zE&Feo=$LWl2TNy|FFRZdXW7nLz|~Y!&ig=xQyH$2K4ZfY`}*u}a>CL=D)rZ3lYJ1( z5RVDg2Ld(hhPH&H?~IK;jJHt95trS!3eZb=)dz1XW_fe!q}Rj*?mHXP{G-sSmnOeG@IWHAggIKg+h7^ z<+LRCVX;ky7E+8Cq^TQioYGj7r;n+D)Ej$g+QNQH+d2{6v`Ra^Hd7?`rLgG|Z{!UV>?a6IpF zJY+XrEHe(w#EOwcCo|0VVtX~2K``!iWIKm%OQh2VZExRG{l261Hn++AvYBl~#bds( zp<;+;5!zfIY@jQUEQYRABS6}mBCVzJSh)Fc8kl)O%QZNGizkzl89Ezd&r=m{ZBHvP zyXVf)-Q_;^aAy-g4}vydjJ)zYHj$Fk6E5ynN6kXX7?e?kBuJbFVUfMZ_z4V^c_<|U zCr7zWP@trRS4zNIvy3o&@HKi^lQg+*z)S-dCq;BV6JW^mY9b+kE8gx4ukb{=alC3bo&=tJPJxgP z;jyiF0mFz0!d=nevmT{GrAgk84gMOT6(0cK1`VG~mdHjEXyyOk4~^_m0kCIde6%bz&U8=Ou)76fBWk7<+tpo z3cOSZbusXjB`|t22)jKUh%}C>0zvQxspu0cuu-8VGzxUsF>FrZ%C|ljYmvCBEA8slWeY zPs=RFc1{Ic+x{D9rZ}sE7e((DzKdQV&8x$RdbRsZX zpPH%#jmdv=<(CT=xa-&7z2gX+!*Ox(vLLunLl6)v=pWXw;l4>*t817L|es-3U6KQZAl0XVX{x>q(Qi4$I2j3OQ9?J zRMv4zBPiUOPp*Ml;psV}l0zoLs_aUI7MKDi?HaCLQC`(Z`Mp=6iAq zi%Euo4=?xf3D^p^-o9tYd3oN!c@=PNcf7T~sr-z+rO&r>!AI?!;=mS9R&vCmp&=-u z7Wg(Hqj+et^^KM3Al(k;qczM%km@0G`_#<3lB@>2T-dTmTU$E|o%CQJW$8hFza}lo z+N+PU8&-i-z8-1Q<`OQAAXb#j*F5{be&3EK#VtSCcHRYCoA~9v=96cl2Cgm_-@K6d zaWl>Ls+Pha?uo(%fT1S4$!Gi}EJ#4#wj2eRJK&8ikS1lKxcW``R?XoO4j8O}vSl$e zz01xtS#r-{uSMWf#T@e#AXIeF@wvY;!ihZ}f8UGd;5@fyM8MXHHt#K+b#v*PZLWpo z4we>xpE}MoXY;!(nDP2A!%JCL1@UG3B3ib69l*hOC`PKs?6*CHYT5;H2?ZCjo8sa2 zxRio`sEl<+$V5ZPQoq%eTyBDW|NI|cabC4Hwr5npwXrsL{oc|oHwKT(OF;BRqgNK? zDdZ7Awd#)+PeTZ~#x*$tFZb6Wv~us9n%E6^@uT*thYc|+c-%ZRz0E8OdanCVY^t+C zlElMSnIZcfDg$KC$KQYcwKleAT)@`$zkOx44EsWi6titahMM5jWrF3!s?oX`REP-R zYptQdC?Pze@Cjn70|ucIjJW|%PJo6_$d8gmGVp}5Hd7uF9Ro0xCS^YLXv&Z`gfOcL zmiB%0gD*M+&q90F1Z=HjrFIwiv6ubxK+wP|{Zx(4D|L|<38flWWkNwW$Ea&zi_SD} z9nrbQ%KSdB$D}#>ZDEpq&dC`rs?!TbQ$>E0b?GV4*gDj5C73HA(wPpd; zRiyfWi@d5v*--PE=vu5eDX<#E(a_94Py=%e$V-Z+2$E9KP+ljnlkLhWd!83+&KBYB z)h^%h!H-{h2ri&@!3o&f{u>r%@JGlbezX#V1!BP%#uEqew<4dl0-q50H?dpP`=~V+qYkk4`#ez1svP{-9^}a zH(NCGx`J}6hHq=yy#`s2aa(K15D&HVc!z2ZzfhA9cK*7awN%&7m+K$N(BD(E`oQ}x zP@%^5oDlGM`%E$8C5wJ_5zB1(1v`tlt}=<4@F)80k% zmLtXcf2AL#Bk%k4#fRWI)}E6B9&h`1)ATAV?xfsZU9@a_k=4~jX!XI@(?w|Y@wqcY zrmTK|V`abN3gqU>KXc`~`C{PjFXne{>+04cx|a5Hy8V9#xL`vnNmJJV0000 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/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..18d76b8235 100644 --- a/packages/scaffold-ui/src/views/w3m-connect-view/index.ts +++ b/packages/scaffold-ui/src/views/w3m-connect-view/index.ts @@ -4,9 +4,11 @@ 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, OptionsController, @@ -14,6 +16,7 @@ import { 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' @@ -46,6 +49,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,6 +59,7 @@ 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('enableWallets', val => (this.enableWallets = val)), @@ -139,6 +145,15 @@ export class W3mConnectView extends LitElement { } // -- Private ------------------------------------------- // + 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 +178,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 +221,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 +241,7 @@ export class W3mConnectView extends LitElement { } private emailTemplate(tabIndex?: number) { - if (!this.isEmailEnabled) { + if (!this.isEmailEnabled || !this.isAuthEnabled) { return null } @@ -237,7 +252,7 @@ export class W3mConnectView extends LitElement { } private socialListTemplate(tabIndex?: number) { - if (!this.isSocialEnabled) { + if (!this.isSocialEnabled || !this.isAuthEnabled) { return null } @@ -265,7 +280,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..475da6f929 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 () => { 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/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: From eade9f28e41b608db0237be526d65742cf13e991 Mon Sep 17 00:00:00 2001 From: Enes Date: Wed, 22 Jan 2025 12:39:28 +0300 Subject: [PATCH 2/7] fix: enable/disable auth options dynamically (#3721) Co-authored-by: tomiir --- .changeset/empty-cars-kick.md | 23 +++++ .../src/views/w3m-connect-view/index.ts | 21 +++-- .../test/views/w3m-connect-view.test.ts | 84 +++++++++++++++++++ 3 files changed, 123 insertions(+), 5 deletions(-) create mode 100644 .changeset/empty-cars-kick.md diff --git a/.changeset/empty-cars-kick.md b/.changeset/empty-cars-kick.md new file mode 100644 index 0000000000..ce33a05d3c --- /dev/null +++ b/.changeset/empty-cars-kick.md @@ -0,0 +1,23 @@ +--- +'@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 listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically 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 18d76b8235..81bc867404 100644 --- a/packages/scaffold-ui/src/views/w3m-connect-view/index.ts +++ b/packages/scaffold-ui/src/views/w3m-connect-view/index.ts @@ -11,6 +11,7 @@ import { type Connector, ConnectorController, CoreHelperUtil, + type Features, OptionsController, RouterController, type WalletGuideType @@ -40,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 @@ -61,12 +64,13 @@ export class W3mConnectView extends LitElement { 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) + ) ) } @@ -145,6 +149,13 @@ 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) 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 475da6f929..f81585bf2a 100644 --- a/packages/scaffold-ui/test/views/w3m-connect-view.test.ts +++ b/packages/scaffold-ui/test/views/w3m-connect-view.test.ts @@ -352,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) + }) +}) From a90474bec8d791d27dc0bec542f57193945b9e63 Mon Sep 17 00:00:00 2001 From: MK <53529533+magiziz@users.noreply.github.com> Date: Wed, 22 Jan 2025 13:19:06 +0000 Subject: [PATCH 3/7] fix: socials multichain not working (#3723) --- .changeset/tasty-flies-call.md | 23 +++++++++++++++++++ .../solana/src/providers/AuthProvider.ts | 2 +- .../solana/src/tests/AuthProvider.test.ts | 14 +++++++++++ .../wagmi/src/connectors/AuthConnector.ts | 2 +- .../src/adapters/ChainAdapterBlueprint.ts | 2 +- packages/common/src/utils/ConstantsUtil.ts | 3 +++ 6 files changed, 43 insertions(+), 3 deletions(-) create mode 100644 .changeset/tasty-flies-call.md diff --git a/.changeset/tasty-flies-call.md b/.changeset/tasty-flies-call.md new file mode 100644 index 0000000000..a952f52d46 --- /dev/null +++ b/.changeset/tasty-flies-call.md @@ -0,0 +1,23 @@ +--- +'@reown/appkit-adapter-solana': patch +'@reown/appkit-adapter-wagmi': patch +'@reown/appkit': patch +'@reown/appkit-common': patch +'@reown/appkit-adapter-bitcoin': 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-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 multichain social/email login was not working 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/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/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/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 From aa4e94b3621800f44ec52585f541dceb0e10225d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 22 Jan 2025 17:39:33 +0300 Subject: [PATCH 4/7] chore: version packages (#3610) --- .changeset/breezy-candles-nail.md | 23 ---- .changeset/cuddly-pumpkins-bake.md | 23 ---- .changeset/curly-dodos-scream.md | 23 ---- .changeset/curly-mangos-stare.md | 23 ---- .changeset/dull-turkeys-roll.md | 23 ---- .changeset/eight-forks-smoke.md | 23 ---- .changeset/empty-cars-kick.md | 23 ---- .changeset/few-birds-speak.md | 23 ---- .changeset/forty-zoos-cry.md | 23 ---- .changeset/four-mangos-yell.md | 55 --------- .changeset/four-yaks-mate.md | 23 ---- .changeset/funny-bulldogs-cheer.md | 23 ---- .changeset/grumpy-games-fly.md | 62 ----------- .changeset/hot-dogs-rest.md | 23 ---- .changeset/nervous-bugs-brake.md | 23 ---- .changeset/nine-cats-talk.md | 23 ---- .changeset/nine-chicken-join.md | 23 ---- .changeset/nine-frogs-drive.md | 23 ---- .changeset/plenty-colts-rush.md | 23 ---- .changeset/pretty-impalas-sit.md | 23 ---- .changeset/rich-monkeys-smell.md | 23 ---- .changeset/selfish-comics-rule.md | 23 ---- .changeset/selfish-rivers-shout.md | 23 ---- .changeset/serious-ravens-appear.md | 23 ---- .changeset/shy-lamps-build.md | 23 ---- .changeset/sour-rules-cheer.md | 23 ---- .changeset/sweet-sloths-sneeze.md | 23 ---- .changeset/thin-bananas-try.md | 23 ---- .changeset/tricky-spies-reply.md | 23 ---- .changeset/unlucky-islands-juggle.md | 23 ---- .changeset/violet-monkeys-dream.md | 23 ---- packages/adapters/bitcoin/CHANGELOG.md | 142 ++++++++++++++++++++++++ packages/adapters/bitcoin/package.json | 2 +- packages/adapters/ethers/CHANGELOG.md | 147 +++++++++++++++++++++++++ packages/adapters/ethers/package.json | 2 +- packages/adapters/ethers5/CHANGELOG.md | 147 +++++++++++++++++++++++++ packages/adapters/ethers5/package.json | 2 +- packages/adapters/solana/CHANGELOG.md | 147 +++++++++++++++++++++++++ packages/adapters/solana/package.json | 2 +- packages/adapters/wagmi/CHANGELOG.md | 147 +++++++++++++++++++++++++ packages/adapters/wagmi/package.json | 2 +- packages/appkit-utils/CHANGELOG.md | 143 ++++++++++++++++++++++++ packages/appkit-utils/package.json | 2 +- packages/appkit/CHANGELOG.md | 147 +++++++++++++++++++++++++ packages/appkit/package.json | 2 +- packages/cdn/CHANGELOG.md | 145 ++++++++++++++++++++++++ packages/cdn/package.json | 2 +- packages/cli/CHANGELOG.md | 137 +++++++++++++++++++++++ packages/cli/package.json | 2 +- packages/common/CHANGELOG.md | 137 +++++++++++++++++++++++ packages/common/package.json | 2 +- packages/core/CHANGELOG.md | 141 ++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/experimental/CHANGELOG.md | 143 ++++++++++++++++++++++++ packages/experimental/package.json | 2 +- packages/polyfills/CHANGELOG.md | 137 +++++++++++++++++++++++ packages/polyfills/package.json | 2 +- packages/scaffold-ui/CHANGELOG.md | 144 ++++++++++++++++++++++++ packages/scaffold-ui/package.json | 2 +- packages/siwe/CHANGELOG.md | 144 ++++++++++++++++++++++++ packages/siwe/package.json | 2 +- packages/siwx/CHANGELOG.md | 141 ++++++++++++++++++++++++ packages/siwx/package.json | 2 +- packages/ui/CHANGELOG.md | 137 +++++++++++++++++++++++ packages/ui/package.json | 2 +- packages/wallet-button/CHANGELOG.md | 143 ++++++++++++++++++++++++ packages/wallet-button/package.json | 2 +- packages/wallet/CHANGELOG.md | 141 ++++++++++++++++++++++++ packages/wallet/package.json | 2 +- 69 files changed, 2729 insertions(+), 803 deletions(-) delete mode 100644 .changeset/breezy-candles-nail.md delete mode 100644 .changeset/cuddly-pumpkins-bake.md delete mode 100644 .changeset/curly-dodos-scream.md delete mode 100644 .changeset/curly-mangos-stare.md delete mode 100644 .changeset/dull-turkeys-roll.md delete mode 100644 .changeset/eight-forks-smoke.md delete mode 100644 .changeset/empty-cars-kick.md delete mode 100644 .changeset/few-birds-speak.md delete mode 100644 .changeset/forty-zoos-cry.md delete mode 100644 .changeset/four-mangos-yell.md delete mode 100644 .changeset/four-yaks-mate.md delete mode 100644 .changeset/funny-bulldogs-cheer.md delete mode 100644 .changeset/grumpy-games-fly.md delete mode 100644 .changeset/hot-dogs-rest.md delete mode 100644 .changeset/nervous-bugs-brake.md delete mode 100644 .changeset/nine-cats-talk.md delete mode 100644 .changeset/nine-chicken-join.md delete mode 100644 .changeset/nine-frogs-drive.md delete mode 100644 .changeset/plenty-colts-rush.md delete mode 100644 .changeset/pretty-impalas-sit.md delete mode 100644 .changeset/rich-monkeys-smell.md delete mode 100644 .changeset/selfish-comics-rule.md delete mode 100644 .changeset/selfish-rivers-shout.md delete mode 100644 .changeset/serious-ravens-appear.md delete mode 100644 .changeset/shy-lamps-build.md delete mode 100644 .changeset/sour-rules-cheer.md delete mode 100644 .changeset/sweet-sloths-sneeze.md delete mode 100644 .changeset/thin-bananas-try.md delete mode 100644 .changeset/tricky-spies-reply.md delete mode 100644 .changeset/unlucky-islands-juggle.md delete mode 100644 .changeset/violet-monkeys-dream.md 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/curly-dodos-scream.md b/.changeset/curly-dodos-scream.md deleted file mode 100644 index acdaba484c..0000000000 --- a/.changeset/curly-dodos-scream.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 ---- - -Refactors network switching when trying to use auth connector but active network is not supported by auth connector diff --git a/.changeset/curly-mangos-stare.md b/.changeset/curly-mangos-stare.md deleted file mode 100644 index 15a3f2742b..0000000000 --- a/.changeset/curly-mangos-stare.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 ---- - -Refactors connector rendering logics when add/remove adapters for email/social login \ No newline at end of file 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/empty-cars-kick.md b/.changeset/empty-cars-kick.md deleted file mode 100644 index ce33a05d3c..0000000000 --- a/.changeset/empty-cars-kick.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 listening `ChainController.state.noAdapters` and `OptionsController.state.features` while enable/disable auth options dynamically 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/packages/adapters/bitcoin/CHANGELOG.md b/packages/adapters/bitcoin/CHANGELOG.md index 9f0611cca4..859f8452a2 100644 --- a/packages/adapters/bitcoin/CHANGELOG.md +++ b/packages/adapters/bitcoin/CHANGELOG.md @@ -1,5 +1,147 @@ # @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. + +- 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..f3bb9bb380 100644 --- a/packages/adapters/ethers/CHANGELOG.md +++ b/packages/adapters/ethers/CHANGELOG.md @@ -1,5 +1,152 @@ # @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. + +- 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..e52940a4eb 100644 --- a/packages/adapters/ethers5/CHANGELOG.md +++ b/packages/adapters/ethers5/CHANGELOG.md @@ -1,5 +1,152 @@ # @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. + +- 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..c179480457 100644 --- a/packages/adapters/solana/CHANGELOG.md +++ b/packages/adapters/solana/CHANGELOG.md @@ -1,5 +1,152 @@ # @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. + +- 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/wagmi/CHANGELOG.md b/packages/adapters/wagmi/CHANGELOG.md index 9e8fe20aa3..de3feb2766 100644 --- a/packages/adapters/wagmi/CHANGELOG.md +++ b/packages/adapters/wagmi/CHANGELOG.md @@ -1,5 +1,152 @@ # @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. + +- 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/appkit-utils/CHANGELOG.md b/packages/appkit-utils/CHANGELOG.md index 5cf96032d5..ab7180d02f 100644 --- a/packages/appkit-utils/CHANGELOG.md +++ b/packages/appkit-utils/CHANGELOG.md @@ -1,5 +1,148 @@ # @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. + +- 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..9fbac43701 100644 --- a/packages/appkit/CHANGELOG.md +++ b/packages/appkit/CHANGELOG.md @@ -1,5 +1,152 @@ # @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. + +- 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/cdn/CHANGELOG.md b/packages/cdn/CHANGELOG.md index 66cc188413..168d399e14 100644 --- a/packages/cdn/CHANGELOG.md +++ b/packages/cdn/CHANGELOG.md @@ -1,5 +1,150 @@ # @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. + +- 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..14d4139dd3 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,142 @@ # @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. + ## 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..7fb0b83622 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,142 @@ # @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. + ## 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/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 551fa6ef63..1142cea87c 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,146 @@ # @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. + +- 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/experimental/CHANGELOG.md b/packages/experimental/CHANGELOG.md index 4acd5ab43a..d7172ea44d 100644 --- a/packages/experimental/CHANGELOG.md +++ b/packages/experimental/CHANGELOG.md @@ -1,5 +1,148 @@ # @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. + +- 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..93a1dd6314 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,142 @@ # @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. + ## 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..97f1c16fe3 100644 --- a/packages/scaffold-ui/CHANGELOG.md +++ b/packages/scaffold-ui/CHANGELOG.md @@ -1,5 +1,149 @@ # @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. + +- 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/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index ad36334c4e..1e30417197 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,149 @@ # @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. + +- 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..98efd73931 100644 --- a/packages/siwx/CHANGELOG.md +++ b/packages/siwx/CHANGELOG.md @@ -1,5 +1,146 @@ # @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. + +- 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..e5895a3699 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,142 @@ # @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. + ## 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..0e80bf6ff6 100644 --- a/packages/wallet-button/CHANGELOG.md +++ b/packages/wallet-button/CHANGELOG.md @@ -1,5 +1,148 @@ # @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. + +- 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..64e1261e2a 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,146 @@ # @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. + +- 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", From 84001456ccfa007e6b0d09709b83ee0b7f372445 Mon Sep 17 00:00:00 2001 From: Enes Date: Wed, 22 Jan 2025 18:57:45 +0300 Subject: [PATCH 5/7] chore: remove unnecessary changeset and update changelogs (#3726) --- .changeset/tasty-flies-call.md | 23 ----------------------- packages/adapters/bitcoin/CHANGELOG.md | 2 ++ packages/adapters/ethers/CHANGELOG.md | 2 ++ packages/adapters/ethers5/CHANGELOG.md | 2 ++ packages/adapters/solana/CHANGELOG.md | 2 ++ packages/adapters/wagmi/CHANGELOG.md | 2 ++ packages/appkit-utils/CHANGELOG.md | 2 ++ packages/appkit/CHANGELOG.md | 2 ++ packages/cdn/CHANGELOG.md | 2 ++ packages/cli/CHANGELOG.md | 2 ++ packages/common/CHANGELOG.md | 2 ++ packages/core/CHANGELOG.md | 2 ++ packages/experimental/CHANGELOG.md | 2 ++ packages/polyfills/CHANGELOG.md | 2 ++ packages/scaffold-ui/CHANGELOG.md | 2 ++ packages/siwe/CHANGELOG.md | 2 ++ packages/siwx/CHANGELOG.md | 2 ++ packages/ui/CHANGELOG.md | 4 ++++ packages/wallet-button/CHANGELOG.md | 2 ++ packages/wallet/CHANGELOG.md | 2 ++ 20 files changed, 40 insertions(+), 23 deletions(-) delete mode 100644 .changeset/tasty-flies-call.md diff --git a/.changeset/tasty-flies-call.md b/.changeset/tasty-flies-call.md deleted file mode 100644 index a952f52d46..0000000000 --- a/.changeset/tasty-flies-call.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@reown/appkit-adapter-solana': patch -'@reown/appkit-adapter-wagmi': patch -'@reown/appkit': patch -'@reown/appkit-common': patch -'@reown/appkit-adapter-bitcoin': 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-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 multichain social/email login was not working diff --git a/packages/adapters/bitcoin/CHANGELOG.md b/packages/adapters/bitcoin/CHANGELOG.md index 859f8452a2..d017c734f8 100644 --- a/packages/adapters/bitcoin/CHANGELOG.md +++ b/packages/adapters/bitcoin/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/adapters/ethers/CHANGELOG.md b/packages/adapters/ethers/CHANGELOG.md index f3bb9bb380..fb245e2d81 100644 --- a/packages/adapters/ethers/CHANGELOG.md +++ b/packages/adapters/ethers/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/adapters/ethers5/CHANGELOG.md b/packages/adapters/ethers5/CHANGELOG.md index e52940a4eb..bd3ec66380 100644 --- a/packages/adapters/ethers5/CHANGELOG.md +++ b/packages/adapters/ethers5/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/adapters/solana/CHANGELOG.md b/packages/adapters/solana/CHANGELOG.md index c179480457..5888981d3c 100644 --- a/packages/adapters/solana/CHANGELOG.md +++ b/packages/adapters/solana/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/adapters/wagmi/CHANGELOG.md b/packages/adapters/wagmi/CHANGELOG.md index de3feb2766..9394e4bad1 100644 --- a/packages/adapters/wagmi/CHANGELOG.md +++ b/packages/adapters/wagmi/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/appkit-utils/CHANGELOG.md b/packages/appkit-utils/CHANGELOG.md index ab7180d02f..b3ce7ffa0e 100644 --- a/packages/appkit-utils/CHANGELOG.md +++ b/packages/appkit-utils/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/appkit/CHANGELOG.md b/packages/appkit/CHANGELOG.md index 9fbac43701..91f5339a94 100644 --- a/packages/appkit/CHANGELOG.md +++ b/packages/appkit/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/cdn/CHANGELOG.md b/packages/cdn/CHANGELOG.md index 168d399e14..a44690fdf3 100644 --- a/packages/cdn/CHANGELOG.md +++ b/packages/cdn/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 14d4139dd3..6d75e8b291 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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/CHANGELOG.md b/packages/common/CHANGELOG.md index 7fb0b83622..332087a3a0 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 1142cea87c..33a6fc073a 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/experimental/CHANGELOG.md b/packages/experimental/CHANGELOG.md index d7172ea44d..65f5d17e2f 100644 --- a/packages/experimental/CHANGELOG.md +++ b/packages/experimental/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index 93a1dd6314..87aee25941 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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/scaffold-ui/CHANGELOG.md b/packages/scaffold-ui/CHANGELOG.md index 97f1c16fe3..a9d266023f 100644 --- a/packages/scaffold-ui/CHANGELOG.md +++ b/packages/scaffold-ui/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index 1e30417197..c73a686c58 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/siwx/CHANGELOG.md b/packages/siwx/CHANGELOG.md index 98efd73931..1c388ef863 100644 --- a/packages/siwx/CHANGELOG.md +++ b/packages/siwx/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index e5895a3699..7e3c0b9c27 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -137,6 +137,10 @@ - [#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/wallet-button/CHANGELOG.md b/packages/wallet-button/CHANGELOG.md index 0e80bf6ff6..9da01668ec 100644 --- a/packages/wallet-button/CHANGELOG.md +++ b/packages/wallet-button/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 64e1261e2a..fca9ed2431 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -137,6 +137,8 @@ - [#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 From 7113f4d7e498310ac9946cf5eee0d0f0cda854fe Mon Sep 17 00:00:00 2001 From: Karandeep Singh <90941366+KannuSingh@users.noreply.github.com> Date: Wed, 22 Jan 2025 14:28:50 -0500 Subject: [PATCH 6/7] chore: enable base mainnet on permissions test (#3690) --- .../components/Wagmi/WagmiRequestPermissionsAsyncTest.tsx | 6 +++--- .../components/Wagmi/WagmiRequestPermissionsSyncTest.tsx | 6 +++--- .../src/pages/library/wagmi-permissions-async.tsx | 4 ++-- .../laboratory/src/pages/library/wagmi-permissions-sync.tsx | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) 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/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, From 41f2849d9c0ea73333590107fe29bf9b1b245821 Mon Sep 17 00:00:00 2001 From: Felipe Mendes Date: Thu, 23 Jan 2025 11:58:59 -0300 Subject: [PATCH 7/7] chore: laboratory add siwx status (#3451) --- .../src/components/DefaultSIWXStatus.tsx | 44 +++++++++++++++++++ .../src/pages/library/siwx-default.tsx | 13 +++++- 2 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 apps/laboratory/src/components/DefaultSIWXStatus.tsx 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/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' && } ) }