Commit 691d0076 authored by tom's avatar tom

up web3modal and chakra-ui versions

parent 491c8395
...@@ -33,8 +33,8 @@ ...@@ -33,8 +33,8 @@
"test:jest:watch": "jest --watch" "test:jest:watch": "jest --watch"
}, },
"dependencies": { "dependencies": {
"@chakra-ui/react": "2.5.1", "@chakra-ui/react": "2.7.1",
"@chakra-ui/theme-tools": "^2.0.14", "@chakra-ui/theme-tools": "^2.0.18",
"@emotion/react": "^11.10.4", "@emotion/react": "^11.10.4",
"@emotion/styled": "^11.10.4", "@emotion/styled": "^11.10.4",
"@metamask/providers": "^10.2.1", "@metamask/providers": "^10.2.1",
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
"@tanstack/react-query-devtools": "^4.0.10", "@tanstack/react-query-devtools": "^4.0.10",
"@types/papaparse": "^5.3.5", "@types/papaparse": "^5.3.5",
"@types/react-scroll": "^1.8.4", "@types/react-scroll": "^1.8.4",
"@web3modal/ethereum": "^2.4.1", "@web3modal/ethereum": "^2.6.2",
"@web3modal/react": "^2.4.1", "@web3modal/react": "^2.6.2",
"bignumber.js": "^9.1.0", "bignumber.js": "^9.1.0",
"chakra-react-select": "^4.4.3", "chakra-react-select": "^4.4.3",
"crypto-js": "^4.1.1", "crypto-js": "^4.1.1",
...@@ -82,14 +82,14 @@ ...@@ -82,14 +82,14 @@
"react-scroll": "^1.8.7", "react-scroll": "^1.8.7",
"swagger-ui-react": "^4.15.5", "swagger-ui-react": "^4.15.5",
"use-font-face-observer": "^1.2.1", "use-font-face-observer": "^1.2.1",
"viem": "^0.3.39", "viem": "^1.1.8",
"wagmi": "^1.0.9" "wagmi": "^1.3.3"
}, },
"devDependencies": { "devDependencies": {
"@playwright/experimental-ct-react": "1.32.3", "@playwright/experimental-ct-react": "1.32.3",
"@svgr/webpack": "^6.5.1", "@svgr/webpack": "^6.5.1",
"@testing-library/react": "^14.0.0", "@testing-library/react": "^14.0.0",
"@total-typescript/ts-reset": "^0.3.7", "@total-typescript/ts-reset": "^0.4.0",
"@types/crypto-js": "^4.1.1", "@types/crypto-js": "^4.1.1",
"@types/csp-dev": "^1.0.0", "@types/csp-dev": "^1.0.0",
"@types/d3": "^7.4.0", "@types/d3": "^7.4.0",
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
"@types/react-google-recaptcha": "^2.1.5", "@types/react-google-recaptcha": "^2.1.5",
"@types/swagger-ui-react": "^4.11.0", "@types/swagger-ui-react": "^4.11.0",
"@types/ws": "^8.5.3", "@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/eslint-plugin": "^5.60.0",
"@vitejs/plugin-react": "^4.0.0", "@vitejs/plugin-react": "^4.0.0",
"css-loader": "^6.7.3", "css-loader": "^6.7.3",
"dotenv-cli": "^6.0.0", "dotenv-cli": "^6.0.0",
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
"svgo": "^2.8.0", "svgo": "^2.8.0",
"ts-jest": "^29.0.3", "ts-jest": "^29.0.3",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "4.9.5", "typescript": "^5.1.0",
"vite-plugin-svgr": "^2.2.2", "vite-plugin-svgr": "^2.2.2",
"vite-tsconfig-paths": "^3.5.2", "vite-tsconfig-paths": "^3.5.2",
"ws": "^8.11.0" "ws": "^8.11.0"
......
...@@ -45,7 +45,7 @@ const getConfig = () => { ...@@ -45,7 +45,7 @@ const getConfig = () => {
]); ]);
const wagmiConfig = createConfig({ const wagmiConfig = createConfig({
autoConnect: true, autoConnect: true,
connectors: w3mConnectors({ projectId: appConfig.walletConnect.projectId, chains, version: 2 }), connectors: w3mConnectors({ projectId: appConfig.walletConnect.projectId, chains }),
publicClient, publicClient,
}); });
const ethereumClient = new EthereumClient(wagmiConfig, chains); const ethereumClient = new EthereumClient(wagmiConfig, chains);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment