Skip to content

Commit

Permalink
chore: upgrade wagmi, @tanstack/react-query, viem (#2117)
Browse files Browse the repository at this point in the history
* chore: upgrade wagmi, @tanstack-react-query, viem

chore: changeset

chore: tweak

chore: tweak changeset

* chore: upgrade pnpm, keep peers for rainbowkit the same

---------

Co-authored-by: Daniel Sinclair <d@niel.nyc>
  • Loading branch information
magiziz and DanielSinclair committed Jul 24, 2024
1 parent 7f6e36e commit 4cff94d
Show file tree
Hide file tree
Showing 21 changed files with 394 additions and 561 deletions.
23 changes: 23 additions & 0 deletions .changeset/selfish-wasps-join.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
"generated-test-app": patch
"rainbowkit-next-app": patch
"with-next-siwe-iron-session": patch
"with-next-rainbow-button": patch
"with-next-siwe-next-auth": patch
"with-next-custom-button": patch
"with-next-wallet-button": patch
"with-create-react-app": patch
"with-next-app-i18n": patch
"with-next-mint-nft": patch
"with-next-app": patch
"with-remix": patch
"with-next": patch
"with-vite": patch
"example": patch
"site": patch
"@rainbow-me/create-rainbowkit": patch
---

- updated `wagmi` to `^2.12.0`
- updated `viem` to `2.17.0`
- update `@tanstack/react-query` to `^5.51.11`
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on: [pull_request, push]

env:
pnpm: 9.1.0
pnpm: 9.6.0
RAINBOW_PROVIDER_API_KEY: RAINBOW_PROVIDER_API_KEY
WALLETCONNECT_PROJECT_ID: YOUR_PROJECT_ID
ALCHEMY_ID: YOUR_ALCHEMY_ID
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
pnpm: 9.1.0
pnpm: 9.6.0
RAINBOW_PROVIDER_API_KEY: RAINBOW_PROVIDER_API_KEY

concurrency: ${{ github.workflow }}-${{ github.ref }}
Expand Down
6 changes: 3 additions & 3 deletions examples/with-create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"react": "^18.3.0",
"typescript": "5.4.2",
"util": "0.12.5",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"scripts": {
"dev": "GENERATE_SOURCEMAP=false react-scripts start",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-app-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"next-intl": "^3.9.4",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-custom-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-mint-nft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-rainbow-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-siwe-iron-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"react": "^18.3.0",
"react-dom": "^18.3.0",
"siwe": "^2.1.4",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-siwe-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"react": "^18.3.0",
"react-dom": "^18.3.0",
"siwe": "^2.1.4",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next-wallet-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"@remix-run/serve": "^2.9.2",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@remix-run/dev": "^2.9.2",
Expand Down
6 changes: 3 additions & 3 deletions examples/with-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"@rainbow-me/rainbowkit": "workspace:*",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2",
"@tanstack/react-query": "^5.28.4"
"viem": "2.17.0",
"wagmi": "^2.12.0",
"@tanstack/react-query": "^5.51.11"
},
"devDependencies": {
"@types/react": "^18.3.0",
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@lavamoat/preinstall-always-fail": "^2.0.0",
"@tanstack/react-query": "^5.28.4",
"@tanstack/react-query": "^5.51.11",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
Expand All @@ -70,12 +70,12 @@
"react-dom": "^18.3.0",
"recursive-readdir-files": "^2.3.1",
"typescript": "5.4.2",
"viem": "2.9.31",
"viem": "2.17.0",
"vitest": "^0.33.0",
"wagmi": "^2.9.2",
"wagmi": "^2.12.0",
"dotenv": "^16.4.5"
},
"packageManager": "pnpm@9.1.1",
"packageManager": "pnpm@9.6.0",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
Expand Down
6 changes: 3 additions & 3 deletions packages/create-rainbowkit/generated-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.28.4",
"@tanstack/react-query": "^5.51.11",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2"
"viem": "2.17.0",
"wagmi": "^2.12.0"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/create-rainbowkit/templates/next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.28.4",
"@tanstack/react-query": "^5.51.11",
"next": "^14.2.3",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"viem": "2.9.31",
"wagmi": "^2.9.2"
"viem": "2.17.0",
"wagmi": "^2.12.0"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand Down
6 changes: 3 additions & 3 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"@rainbow-me/rainbowkit": "workspace:*",
"@rainbow-me/rainbowkit-siwe-next-auth": "workspace:*",
"@rainbow-me/rainbow-button": "workspace:*",
"@tanstack/react-query": "^5.28.4",
"@tanstack/react-query": "^5.51.11",
"ethers": "^5.6.8",
"next": "^14.2.3",
"next-auth": "4.24.5",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"siwe": "^2.1.4",
"viem": "2.9.31",
"wagmi": "^2.9.2"
"viem": "2.17.0",
"wagmi": "^2.12.0"
},
"scripts": {
"dev": "next dev",
Expand Down
Loading

0 comments on commit 4cff94d

Please sign in to comment.