Skip to content

Commit

Permalink
chore: upgrade wagmi, @wagmi/core, viem (#1505)
Browse files Browse the repository at this point in the history
* chore: upgrade wagmi, @wagmi/core, viem

* chore: upgrade lockfile

* chore: update accepted peer versions

* chore: changeset
  • Loading branch information
DanielSinclair authored Sep 7, 2023
1 parent 7e2eab6 commit 118dfe1
Show file tree
Hide file tree
Showing 18 changed files with 398 additions and 535 deletions.
5 changes: 5 additions & 0 deletions .changeset/slimy-drinks-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rainbow-me/rainbowkit': patch
---

Support for wagmi `1.4.x` and viem `1.10.x` peer dependencies.
5 changes: 5 additions & 0 deletions .changeset/stale-islands-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@rainbow-me/create-rainbowkit': patch
---

Updated wagmi to `~1.4.0` and viem to `~1.10.0`.
4 changes: 2 additions & 2 deletions examples/with-create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"react": "^18.2.0",
"typescript": "^5.0.4",
"util": "0.12.4",
"viem": "~1.6.7",
"wagmi": "~1.3.10",
"viem": "~1.10.3",
"wagmi": "~1.4.1",
"web-vitals": "^2.1.4",
"buffer": "npm:buffer@6.0.3"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/with-next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"next": "^13.4.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-next-custom-button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"next": "^13.4.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-next-mint-nft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"next": "^13.4.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-next-siwe-iron-session/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"siwe": "^2.1.4",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-next-siwe-next-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"siwe": "^2.1.4",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"next": "^13.4.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-remix/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"buffer-polyfill": "npm:buffer@^6.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@remix-run/dev": "^1.5.1",
Expand Down
4 changes: 2 additions & 2 deletions examples/with-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"buffer": "^6.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/react": "^18.2.20",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@typescript-eslint/parser": "^5.5.0",
"@vanilla-extract/esbuild-plugin": "^2.2.0",
"@vanilla-extract/vite-plugin": "^3.8.2",
"@wagmi/core": "~1.3.9",
"@wagmi/core": "~1.4.1",
"autoprefixer": "^10.4.0",
"esbuild": "^0.14.39",
"esbuild-plugin-replace": "^1.4.0",
Expand All @@ -84,9 +84,9 @@
"react-dom": "^18.2.0",
"recursive-readdir-files": "^2.0.7",
"typescript": "^5.0.4",
"viem": "~1.6.7",
"viem": "~1.10.3",
"vitest": "^0.32.4",
"wagmi": "~1.3.10"
"wagmi": "~1.4.1"
},
"packageManager": "pnpm@8.7.1",
"pnpm": {
Expand Down
4 changes: 2 additions & 2 deletions packages/create-rainbowkit/generated-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"next": "^13.4.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/create-rainbowkit/templates/next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"next": "^13.4.19",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"devDependencies": {
"@types/node": "^18.16.12",
Expand Down
4 changes: 2 additions & 2 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"siwe": "^2.1.4",
"viem": "~1.6.7",
"wagmi": "~1.3.10"
"viem": "~1.10.3",
"wagmi": "~1.4.1"
},
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 4 additions & 4 deletions packages/rainbowkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"react": ">=17",
"react-dom": ">=17",
"viem": "~0.3.19 || ^1.0.0",
"wagmi": "~1.0.1 || ~1.1.0 || ~1.2.0 || ~1.3.0"
"wagmi": "~1.0.1 || ~1.1.0 || ~1.2.0 || ~1.3.0 || ~1.4.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
Expand All @@ -59,10 +59,10 @@
"nock": "^13.2.4",
"postcss": "^8.4.4",
"react": "^18.2.0",
"viem": "~1.6.7",
"viem": "~1.10.3",
"vitest": "^0.32.4",
"wagmi": "~1.3.10",
"@wagmi/core": "~1.3.9"
"wagmi": "~1.4.1",
"@wagmi/core": "~1.4.1"
},
"dependencies": {
"@vanilla-extract/css": "1.9.1",
Expand Down
Loading

2 comments on commit 118dfe1

@vercel
Copy link

@vercel vercel bot commented on 118dfe1 Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 118dfe1 Sep 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.