Skip to content

Commit

Permalink
Merge pull request #1121 from givepraise/fix/upgrade-rainbowkit
Browse files Browse the repository at this point in the history
Upgraded RainbowKit
  • Loading branch information
kristoferlund authored Jul 28, 2023
2 parents a587d47 + 6011e62 commit adfa412
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- **Frontend**: Upgraded to the latest version of RainbowKit. This should fix some issues with the WalletConnect login flow.
- **API**: Backup restore script now supports specifying which database to import from and restore to
- **API**: Refactors the API to use request scoped services and simplifies the database connection logic. We no longer attempt to cache db connections ourselves but instead rely on the MongoDb node.js package #1103
- **Discord bot**: Improved user onboarding - Activation flow when praising first-time #1070
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@json2csv/plainjs": "^6.1.2",
"@mui/material": "^5.3.0",
"@observablehq/plot": "^0.6.5",
"@rainbow-me/rainbowkit": "^1.0.0",
"@rainbow-me/rainbowkit": "^1.0.7",
"@sgratzl/chartjs-chart-boxplot": "^4.1.1",
"@tailwindcss/container-queries": "^0.1.1",
"@tailwindcss/forms": "latest",
Expand Down
3 changes: 2 additions & 1 deletion packages/frontend/src/providers/Web3Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ const REACT_APP_ALCHEMY_KEY =

const REACT_APP_WALLETCONNECT_PROJECT_ID =
process.env.REACT_APP_WALLETCONNECT_PROJECT_ID ||
win.REACT_APP_WALLETCONNECT_PROJECT_ID;
win.REACT_APP_WALLETCONNECT_PROJECT_ID ||
'';

const { chains, publicClient } = configureChains(
[mainnet],
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4982,9 +4982,9 @@ __metadata:
languageName: node
linkType: hard

"@rainbow-me/rainbowkit@npm:^1.0.0":
version: 1.0.1
resolution: "@rainbow-me/rainbowkit@npm:1.0.1"
"@rainbow-me/rainbowkit@npm:^1.0.7":
version: 1.0.7
resolution: "@rainbow-me/rainbowkit@npm:1.0.7"
dependencies:
"@vanilla-extract/css": 1.9.1
"@vanilla-extract/dynamic": 2.0.2
Expand All @@ -4995,9 +4995,9 @@ __metadata:
peerDependencies:
react: ">=17"
react-dom: ">=17"
viem: ~0.3.19
wagmi: ~1.0.1
checksum: 66fb62327731f0555f9418551eabb37af8b81e6977808294f2d3e3a2235f3506498516e98425155662de79bbac454eb86ab7984556cfd09f9082b205aa6638c8
viem: ~0.3.19 || ^1.0.0
wagmi: ~1.0.1 || ~1.1.0 || ~1.2.0 || ~1.3.0
checksum: 035b6416eaaf8d03faad81c35ee5b12d9f642c8e139e6e4ffec8a42fd4db30bbca82fa1b704791ae21049a6d2981d51b5a8bb55f0cd5f116ae338ce4ed01f856
languageName: node
linkType: hard

Expand Down Expand Up @@ -12377,7 +12377,7 @@ __metadata:
"@json2csv/plainjs": ^6.1.2
"@mui/material": ^5.3.0
"@observablehq/plot": ^0.6.5
"@rainbow-me/rainbowkit": ^1.0.0
"@rainbow-me/rainbowkit": ^1.0.7
"@sgratzl/chartjs-chart-boxplot": ^4.1.1
"@tailwindcss/container-queries": ^0.1.1
"@tailwindcss/forms": latest
Expand Down

0 comments on commit adfa412

Please sign in to comment.