Skip to content

Commit b8f4d62

Browse files
ChefJerrychef-ryanchef-ericchefphilipmemoyil
authored
feat: multichain wallet modal (pancakeswap#12121)
<!-- Before opening a pull request, please read the [contributing guidelines](https://github.com/pancakeswap/pancake-frontend/blob/develop/CONTRIBUTING.md) first --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on enhancing wallet connectivity and user experience within the PancakeSwap platform, particularly for Solana and EVM wallets. It introduces new components, updates existing ones, and improves error handling and wallet management. ### Detailed summary - Added `Solflare` to wallet options. - Introduced `WalletConnectorNotFoundError` and `WalletSwitchChainError` classes. - Updated wallet versioning across multiple packages. - Enhanced `QRCode` component to accept dynamic sizes. - Improved `ConnectedWalletsButton` for better account display. - Updated state management for wallet visibility. - Added `useSolanaLogin` hook for Solana wallet integration. - Introduced wallet filtering logic for EVM and Solana. - Refactored various components to support new wallet configurations. > The following files were skipped due to too many changes: `packages/ui-wallets/src/config/installed.ts`, `packages/ui-wallets/src/components/SolanaProvider/index.tsx`, `apps/web/src/views/Gift/components/GiftInfoDetailView.tsx`, `apps/web/src/hooks/useAuth.tsx`, `packages/ui-wallets/src/components/SocialLoginButton.tsx`, `apps/web/src/wallet/WalletProvider.tsx`, `apps/web/src/utils/wagmi.ts`, `apps/web/src/components/WalletModalV2/ReceiveOptionsView.tsx`, `apps/web/src/components/WalletModalManager.tsx`, `packages/ui-wallets/src/atom.ts`, `apps/web/src/wallet/SolanaProvider.tsx`, `packages/ui-wallets/src/types.ts`, `apps/web/src/hooks/useAddressBalance.ts`, `packages/ui-wallets/src/components/WalletSelect/WalletSelect.tsx`, `packages/ui-wallets/src/state/atom.ts`, `apps/web/src/views/Gift/components/ClaimGiftView.tsx`, `packages/ui-wallets/src/components/SocialLogin.tsx`, `packages/ui-wallets/src/components/WalletSelect/WalletSelectSection.tsx`, `packages/ui-wallets/src/components/WalletSelect/MoreWalletSection.tsx`, `apps/web/src/state/wallet/hooks.ts`, `apps/web/src/views/SwapSimplify/InfinitySwap/FormMainInfinity.tsx`, `apps/web/src/hooks/useSolanaTokenList.ts`, `packages/ui-wallets/src/components/PreviewSection/NotInstalled.tsx`, `packages/localization/src/config/translations.json`, `apps/web/src/components/WalletModalV2/ConnectedWallets.tsx`, `apps/web/src/components/Menu/UserMenu/index.tsx`, `apps/gamification/config/wallet.ts`, `packages/ui-wallets/src/components/WalletSelect/WalletChainSelect.tsx`, `apps/web/src/config/wallet.ts`, `packages/ui-wallets/src/components/MultichainWalletModal/MultichainWalletModal.tsx`, `packages/ui-wallets/src/components/MultichainWalletModal/ModalContent.tsx`, `apps/web/src/components/WalletModalV2/WalletModal.tsx`, `packages/ui-wallets/src/config/wallets.ts`, `pnpm-lock.yaml` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex --> --------- Co-authored-by: chef-ryan <ryan@pancakeswap.com> Co-authored-by: ChefEric <173023571+chef-eric@users.noreply.github.com> Co-authored-by: chefphilip <chef.philip@pancakeswap.com> Co-authored-by: memoyil <2213635+memoyil@users.noreply.github.com> Co-authored-by: Chef Penguin <169036504+thechefpenguin@users.noreply.github.com> Co-authored-by: chefjackson <116779127+chefjackson@users.noreply.github.com> Co-authored-by: denis-orbs <101042147+denis-orbs@users.noreply.github.com> Co-authored-by: PancakeSwap Bot <dev@pancakeswap.com> Co-authored-by: Chef Yogi <99634186+Chef-Yogi@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d0ec11d commit b8f4d62

File tree

102 files changed

+8130
-3035
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+8130
-3035
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"sepolia",
5151
"SNBNB",
5252
"solana",
53+
"Solflare",
5354
"stableswap",
5455
"stylelint",
5556
"tanstack",

apps/aptos/components/ConnectWalletButton.tsx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { Trans, useTranslation } from '@pancakeswap/localization'
2-
import { WalletModalV2 } from '@pancakeswap/ui-wallets'
3-
import { WalletModalV2Props } from '@pancakeswap/ui-wallets/src/types'
2+
import { LegacyWalletConfig, LegacyWalletModal, LegacyWalletModalProps } from '@pancakeswap/ui-wallets'
43
import { Button, type ButtonProps } from '@pancakeswap/uikit'
54
import { ConnectorNames, TOP_WALLET_MAP, wallets } from 'config/wallets'
65
import { useAuth } from 'hooks/useAuth'
@@ -16,9 +15,9 @@ export const ConnectWalletButton = ({ children, ...props }: ButtonProps) => {
1615
setOpen(true)
1716
}
1817

19-
const handleLogin: WalletModalV2Props<ConnectorNames>['login'] = useCallback(
20-
async (connectorID: ConnectorNames) => {
21-
return login(connectorID).then((res) => ({
18+
const handleLogin: LegacyWalletModalProps<ConnectorNames>['login'] = useCallback(
19+
async (wallet: LegacyWalletConfig<ConnectorNames>) => {
20+
return login(wallet.connectorId).then((res) => ({
2221
accounts: res?.account?.address ? [res.account?.address] : ([] as unknown as readonly [string, ...string[]]),
2322
chainId: res?.network,
2423
}))
@@ -31,7 +30,7 @@ export const ConnectWalletButton = ({ children, ...props }: ButtonProps) => {
3130
<Button width="100%" onClick={handleClick} {...props}>
3231
{children || <Trans>Connect Wallet</Trans>}
3332
</Button>
34-
<WalletModalV2
33+
<LegacyWalletModal
3534
fullSize={false}
3635
mevDocLink={null}
3736
docText={t('Learn How to Create and Connect')}

apps/aptos/config/wallets.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { WalletConfigV2, WalletIds } from '@pancakeswap/ui-wallets'
1+
import { LegacyWalletConfig, LegacyWalletIds } from '@pancakeswap/ui-wallets'
22

33
export enum ConnectorNames {
44
Petra = 'petra',
@@ -12,9 +12,9 @@ export enum ConnectorNames {
1212
Msafe = 'msafe',
1313
}
1414

15-
export const wallets: WalletConfigV2<ConnectorNames>[] = [
15+
export const wallets: LegacyWalletConfig<ConnectorNames>[] = [
1616
{
17-
id: WalletIds.Petra,
17+
id: LegacyWalletIds.Petra,
1818
title: 'Petra',
1919
icon: '/images/wallets/petra.png',
2020
get installed() {
@@ -26,7 +26,7 @@ export const wallets: WalletConfigV2<ConnectorNames>[] = [
2626
},
2727
},
2828
{
29-
id: WalletIds.Martian,
29+
id: LegacyWalletIds.Martian,
3030
title: 'Martian',
3131
icon: '/images/wallets/martian.png',
3232
get installed() {
@@ -38,7 +38,7 @@ export const wallets: WalletConfigV2<ConnectorNames>[] = [
3838
},
3939
},
4040
{
41-
id: WalletIds.Pontem,
41+
id: LegacyWalletIds.Pontem,
4242
title: 'Pontem',
4343
icon: '/images/wallets/pontem.png',
4444
get installed() {
@@ -50,7 +50,7 @@ export const wallets: WalletConfigV2<ConnectorNames>[] = [
5050
},
5151
},
5252
{
53-
id: WalletIds.TrustWallet,
53+
id: LegacyWalletIds.Trust,
5454
title: 'Trust Wallet',
5555
icon: 'https://pancakeswap.finance/images/wallets/trust.png',
5656
get installed() {
@@ -60,7 +60,7 @@ export const wallets: WalletConfigV2<ConnectorNames>[] = [
6060
connectorId: ConnectorNames.TrustWallet,
6161
},
6262
{
63-
id: WalletIds.SafePal,
63+
id: LegacyWalletIds.SafePal,
6464
title: 'SafePal',
6565
icon: 'https://pancakeswap.finance/images/wallets/safepal.png',
6666
get installed() {
@@ -72,7 +72,7 @@ export const wallets: WalletConfigV2<ConnectorNames>[] = [
7272
},
7373
},
7474
{
75-
id: WalletIds.Msafe,
75+
id: LegacyWalletIds.Msafe,
7676
title: 'Msafe',
7777
icon: '/images/wallets/msafe.png',
7878
get installed() {
@@ -94,6 +94,6 @@ export const wallets: WalletConfigV2<ConnectorNames>[] = [
9494
},
9595
]
9696

97-
export const TOP_WALLET_MAP: WalletConfigV2<ConnectorNames>[] = [WalletIds.Pontem, WalletIds.Petra]
97+
export const TOP_WALLET_MAP: LegacyWalletConfig<ConnectorNames>[] = [LegacyWalletIds.Pontem, LegacyWalletIds.Petra]
9898
.map((id) => wallets.find((w) => w.id === id))
99-
.filter((w): w is WalletConfigV2<ConnectorNames> => Boolean(w))
99+
.filter((w): w is LegacyWalletConfig<ConnectorNames> => Boolean(w))

apps/gamification/components/ConnectWalletButton.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Trans, useTranslation } from '@pancakeswap/localization'
2-
import { WalletConfigV2, WalletModalV2 } from '@pancakeswap/ui-wallets'
2+
import { LegacyWalletConfig, LegacyWalletModal } from '@pancakeswap/ui-wallets'
33
import { Button, ButtonProps } from '@pancakeswap/uikit'
44
import { ConnectorNames, createWallets, getDocLink, TOP_WALLET_MAP } from 'config/wallet'
55
import { useActiveChainId } from 'hooks/useActiveChainId'
@@ -33,7 +33,7 @@ const ConnectWalletButton = ({ children, ...props }: ButtonProps) => {
3333
TOP_WALLET_MAP[chainId]
3434
? TOP_WALLET_MAP[chainId]
3535
.map((id) => wallets.find((w) => w.id === id))
36-
.filter<WalletConfigV2<ConnectorNames>>((w): w is WalletConfigV2<ConnectorNames> => Boolean(w))
36+
.filter<LegacyWalletConfig<ConnectorNames>>((w): w is LegacyWalletConfig<ConnectorNames> => Boolean(w))
3737
: [],
3838
[wallets, chainId],
3939
)
@@ -50,7 +50,7 @@ const ConnectWalletButton = ({ children, ...props }: ButtonProps) => {
5050
z-index: 99;
5151
}
5252
`}</style>
53-
<WalletModalV2
53+
<LegacyWalletModal
5454
topWallets={topWallets}
5555
mevDocLink={null}
5656
docText={t('Learn How to Connect')}

apps/gamification/config/wallet.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { isCyberWallet } from '@cyberlab/cyber-app-sdk'
22
import { ChainId } from '@pancakeswap/chains'
3-
import { WalletConfigV2, WalletIds } from '@pancakeswap/ui-wallets'
3+
import { LegacyWalletConfig, LegacyWalletIds } from '@pancakeswap/ui-wallets'
44
import { WalletFilledIcon } from '@pancakeswap/uikit'
55
import safeGetWindow from '@pancakeswap/utils/safeGetWindow'
66
import { getTrustWalletProvider } from '@pancakeswap/wagmi/connectors/trustWallet'
@@ -24,13 +24,13 @@ export enum ConnectorNames {
2424
CyberWallet = 'cyberWallet',
2525
}
2626

27-
export const TOP_WALLET_MAP: { [chainId: number]: WalletIds[] } = {
28-
[ChainId.BSC]: [WalletIds.Metamask, WalletIds.Trust, WalletIds.Okx, WalletIds.BinanceW3W],
29-
[ChainId.ETHEREUM]: [WalletIds.Metamask, WalletIds.Trust, WalletIds.Okx],
30-
[ChainId.POLYGON_ZKEVM]: [WalletIds.Metamask, WalletIds.Trust, WalletIds.Okx],
31-
[ChainId.ZKSYNC]: [WalletIds.Metamask, WalletIds.Trust, WalletIds.Okx],
32-
[ChainId.ARBITRUM_ONE]: [WalletIds.Metamask, WalletIds.Trust, WalletIds.Okx],
33-
[ChainId.BASE]: [WalletIds.Metamask, WalletIds.Trust, WalletIds.Okx],
27+
export const TOP_WALLET_MAP: { [chainId: number]: LegacyWalletIds[] } = {
28+
[ChainId.BSC]: [LegacyWalletIds.Metamask, LegacyWalletIds.Trust, LegacyWalletIds.Okx, LegacyWalletIds.BinanceW3W],
29+
[ChainId.ETHEREUM]: [LegacyWalletIds.Metamask, LegacyWalletIds.Trust, LegacyWalletIds.Okx],
30+
[ChainId.POLYGON_ZKEVM]: [LegacyWalletIds.Metamask, LegacyWalletIds.Trust, LegacyWalletIds.Okx],
31+
[ChainId.ZKSYNC]: [LegacyWalletIds.Metamask, LegacyWalletIds.Trust, LegacyWalletIds.Okx],
32+
[ChainId.ARBITRUM_ONE]: [LegacyWalletIds.Metamask, LegacyWalletIds.Trust, LegacyWalletIds.Okx],
33+
[ChainId.BASE]: [LegacyWalletIds.Metamask, LegacyWalletIds.Trust, LegacyWalletIds.Okx],
3434
}
3535

3636
const createQrCode =
@@ -95,11 +95,11 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
9595
}: {
9696
chainId: number
9797
connect: ConnectMutateAsync<config, context>
98-
}): WalletConfigV2<ConnectorNames>[] => {
98+
}): LegacyWalletConfig<ConnectorNames>[] => {
9999
const qrCode = createQrCode(chainId, connect)
100100
return [
101101
{
102-
id: WalletIds.Metamask,
102+
id: LegacyWalletIds.Metamask,
103103
title: 'Metamask',
104104
icon: `${ASSET_CDN}/web/wallets/metamask.png`,
105105
get installed() {
@@ -112,7 +112,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
112112
downloadLink: 'https://metamask.app.link/dapp/pancakeswap.finance/',
113113
},
114114
{
115-
id: WalletIds.Trust,
115+
id: LegacyWalletIds.Trust,
116116
title: 'Trust Wallet',
117117
icon: `${ASSET_CDN}/web/wallets/trust.png`,
118118
connectorId: ConnectorNames.TrustWallet,
@@ -128,7 +128,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
128128
qrCode,
129129
},
130130
{
131-
id: WalletIds.Okx,
131+
id: LegacyWalletIds.Okx,
132132
title: 'OKX Wallet',
133133
icon: `${ASSET_CDN}/web/wallets/okx-wallet.png`,
134134
connectorId: ConnectorNames.Injected,
@@ -145,7 +145,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
145145
qrCode,
146146
},
147147
{
148-
id: WalletIds.BinanceW3W,
148+
id: LegacyWalletIds.BinanceW3W,
149149
title: 'Binance Wallet',
150150
icon: `${ASSET_CDN}/web/wallets/binance-w3w.png`,
151151
connectorId: isBinanceWeb3WalletInstalled() ? ConnectorNames.Injected : ConnectorNames.BinanceW3W,
@@ -158,19 +158,19 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
158158
},
159159
},
160160
{
161-
id: WalletIds.Coinbase,
161+
id: LegacyWalletIds.Coinbase,
162162
title: 'Coinbase Wallet',
163163
icon: `${ASSET_CDN}/web/wallets/coinbase.png`,
164164
connectorId: ConnectorNames.WalletLink,
165165
},
166166
{
167-
id: WalletIds.Walletconnect,
167+
id: LegacyWalletIds.Walletconnect,
168168
title: 'WalletConnect',
169169
icon: `${ASSET_CDN}/web/wallets/walletconnect.png`,
170170
connectorId: ConnectorNames.WalletConnect,
171171
},
172172
{
173-
id: WalletIds.Opera,
173+
id: LegacyWalletIds.Opera,
174174
title: 'Opera Wallet',
175175
icon: `${ASSET_CDN}/web/wallets/opera.png`,
176176
connectorId: ConnectorNames.Injected,
@@ -180,7 +180,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
180180
downloadLink: 'https://www.opera.com/crypto/next',
181181
},
182182
{
183-
id: WalletIds.Brave,
183+
id: LegacyWalletIds.Brave,
184184
title: 'Brave Wallet',
185185
icon: `${ASSET_CDN}/web/wallets/brave.png`,
186186
connectorId: ConnectorNames.Injected,
@@ -190,7 +190,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
190190
downloadLink: 'https://brave.com/wallet/',
191191
},
192192
{
193-
id: WalletIds.Rabby,
193+
id: LegacyWalletIds.Rabby,
194194
title: 'Rabby Wallet',
195195
icon: `${ASSET_CDN}/web/wallets/rabby.png`,
196196
get installed() {
@@ -206,7 +206,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
206206
qrCode,
207207
},
208208
{
209-
id: WalletIds.Math,
209+
id: LegacyWalletIds.Math,
210210
title: 'MathWallet',
211211
icon: `${ASSET_CDN}/web/wallets/mathwallet.png`,
212212
connectorId: ConnectorNames.Injected,
@@ -216,7 +216,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
216216
qrCode,
217217
},
218218
{
219-
id: WalletIds.Tokenpocket,
219+
id: LegacyWalletIds.Tokenpocket,
220220
title: 'TokenPocket',
221221
icon: `${ASSET_CDN}/web/wallets/tokenpocket.png`,
222222
connectorId: ConnectorNames.Injected,
@@ -226,7 +226,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
226226
qrCode,
227227
},
228228
{
229-
id: WalletIds.SafePal,
229+
id: LegacyWalletIds.SafePal,
230230
title: 'SafePal',
231231
icon: `${ASSET_CDN}/web/wallets/safepal.png`,
232232
connectorId: ConnectorNames.Injected,
@@ -237,7 +237,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
237237
qrCode,
238238
},
239239
{
240-
id: WalletIds.Coin98,
240+
id: LegacyWalletIds.Coin98,
241241
title: 'Coin98',
242242
icon: `${ASSET_CDN}/web/wallets/coin98.png`,
243243
connectorId: ConnectorNames.Injected,
@@ -247,7 +247,7 @@ const walletsConfig = <config extends Config = Config, context = unknown>({
247247
qrCode,
248248
},
249249
{
250-
id: WalletIds.Cyberwallet,
250+
id: LegacyWalletIds.Cyberwallet,
251251
title: 'CyberWallet',
252252
icon: `${ASSET_CDN}/web/wallets/cyberwallet.png`,
253253
connectorId: ConnectorNames.CyberWallet,
@@ -289,7 +289,7 @@ export const createWallets = <config extends Config = Config, context = unknown>
289289
...config,
290290
// add injected icon if none of injected type wallets installed
291291
{
292-
id: WalletIds.Injected,
292+
id: LegacyWalletIds.Injected,
293293
title: 'Injected',
294294
icon: WalletFilledIcon,
295295
connectorId: ConnectorNames.Injected,

apps/gamification/hooks/useAuth.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ChainId } from '@pancakeswap/chains'
22
import { useTranslation } from '@pancakeswap/localization'
3-
import { WalletConnectorNotFoundError, WalletSwitchChainError } from '@pancakeswap/ui-wallets'
3+
import { LegacyWalletConfig, WalletConnectorNotFoundError, WalletSwitchChainError } from '@pancakeswap/ui-wallets'
44
import replaceBrowserHistory from '@pancakeswap/utils/replaceBrowserHistory'
55
import { CHAIN_QUERY_NAME } from 'config/chains'
66
import { ConnectorNames } from 'config/wallet'
@@ -17,8 +17,8 @@ const useAuth = () => {
1717
const { t } = useTranslation()
1818

1919
const login = useCallback(
20-
async (connectorID: ConnectorNames) => {
21-
const findConnector = connectors.find((c) => c.id === connectorID)
20+
async (wallet: LegacyWalletConfig<ConnectorNames>) => {
21+
const findConnector = connectors.find((c) => c.id === wallet.connectorId)
2222
try {
2323
if (!findConnector) return undefined
2424

apps/solana/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@
6363
"@solana/spl-token": "~0.4.9",
6464
"@solana/spl-token-0.4": "npm:@solana/spl-token@0.4.0",
6565
"@solana/spl-token-registry": "~0.2.4574",
66-
"@solana/wallet-adapter-base": "^0.9.23",
67-
"@solana/wallet-adapter-exodus": "^0.1.18",
68-
"@solana/wallet-adapter-glow": "^0.1.18",
69-
"@solana/wallet-adapter-react": "0.15.36",
70-
"@solana/wallet-adapter-react-ui": "0.9.36",
71-
"@solana/wallet-adapter-slope": "^0.5.21",
72-
"@solana/wallet-adapter-wallets": "^0.19.32",
66+
"@solana/wallet-adapter-base": "catalog:",
67+
"@solana/wallet-adapter-exodus": "catalog:",
68+
"@solana/wallet-adapter-glow": "catalog:",
69+
"@solana/wallet-adapter-react": "catalog:",
70+
"@solana/wallet-adapter-react-ui": "catalog:",
71+
"@solana/wallet-adapter-slope": "catalog:",
72+
"@solana/wallet-adapter-wallets": "catalog:",
7373
"@solana/web3.js": "catalog:",
74-
"@solflare-wallet/wallet-adapter": "^1.0.3",
74+
"@solflare-wallet/wallet-adapter": "catalog:",
7575
"@tanstack/query-core": "^5.62.16",
7676
"@tanstack/react-query": "^5.52.1",
7777
"@tiplink/wallet-adapter": "^2.1.19",

apps/web/package.json

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@
3535
},
3636
"dependencies": {
3737
"@aws-sdk/client-s3": "^3.797.0",
38-
"@bnb-chain/canonical-bridge-sdk": "0.7.2",
39-
"@bnb-chain/canonical-bridge-widget": "0.10.3",
4038
"@binance/w3w-utils": "1.1.7",
4139
"@binance/w3w-wagmi-connector-v2": "^1.2.8",
40+
"@bnb-chain/canonical-bridge-sdk": "0.7.2",
41+
"@bnb-chain/canonical-bridge-widget": "0.10.3",
4242
"@cyberlab/cyber-app-sdk": "v3.0.0-beta.5",
4343
"@datadog/browser-logs": "^5.8.0",
4444
"@datadog/browser-rum": "^5.8.0",
@@ -95,22 +95,21 @@
9595
"@solana/spl-token": "~0.4.9",
9696
"@solana/spl-token-0.4": "npm:@solana/spl-token@0.4.0",
9797
"@solana/spl-token-registry": "~0.2.4574",
98-
"@solana/wallet-adapter-base": "^0.9.23",
99-
"@solana/wallet-adapter-exodus": "^0.1.18",
100-
"@solana/wallet-adapter-glow": "^0.1.18",
101-
"@solana/wallet-adapter-react": "0.15.36",
102-
"@solana/wallet-adapter-react-ui": "0.9.36",
103-
"@solana/wallet-adapter-slope": "^0.5.21",
104-
"@solana/wallet-adapter-wallets": "^0.19.32",
98+
"@solana/wallet-adapter-base": "catalog:",
99+
"@solana/wallet-adapter-exodus": "catalog:",
100+
"@solana/wallet-adapter-glow": "catalog:",
101+
"@solana/wallet-adapter-react": "catalog:",
102+
"@solana/wallet-adapter-react-ui": "catalog:",
103+
"@solana/wallet-adapter-slope": "catalog:",
104+
"@solana/wallet-adapter-wallets": "catalog:",
105105
"@solana/web3.js": "catalog:",
106-
"@solflare-wallet/wallet-adapter": "^1.0.3",
106+
"@solflare-wallet/wallet-adapter": "catalog:",
107107
"@tanstack/react-query": "^5.52.1",
108108
"@vanilla-extract/next-plugin": "^2.3.0",
109109
"@vercel/functions": "catalog:",
110110
"@wagmi/core": "2.10.5",
111111
"@wallchain/sdk": "^0.6.8",
112112
"@walletconnect/notify-client": "^1.0.0",
113-
"@walletconnect/solana-adapter": "^0.0.5",
114113
"@web3inbox/core": "1.2.0",
115114
"@web3inbox/react": "1.2.0",
116115
"@yornaath/batshit": "^0.9.0",

0 commit comments

Comments
 (0)