Skip to content

Commit

Permalink
Bump connectick to 1.3.0 and add support for walletconnect 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanfazakas committed Jun 27, 2023
1 parent a5b0ecf commit 3ad6057
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 41 deletions.
66 changes: 27 additions & 39 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@urql/exchange-refocus": "^1.0.0",
"axios": "^1.2.0",
"classnames": "^2.3.2",
"connectkit": "^1.2.3",
"connectkit": "^1.3.0",
"date-fns": "^2.29.3",
"decimal.js": "^10.4.2",
"dom-confetti": "^0.2.2",
Expand Down
3 changes: 2 additions & 1 deletion src/@utils/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export const wagmiClient = createClient(
appName: 'Ocean Market',
infuraId: process.env.NEXT_PUBLIC_INFURA_PROJECT_ID,
// TODO: mapping between appConfig.chainIdsSupported and wagmi chainId
chains: [mainnet, polygon, goerli, polygonMumbai]
chains: [mainnet, polygon, goerli, polygonMumbai],
walletConnectProjectId: process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID
})
)

Expand Down

0 comments on commit 3ad6057

Please sign in to comment.