Skip to content

Commit

Permalink
chore: bump react query (#4060)
Browse files Browse the repository at this point in the history
* chore: bump react-query to `5.45.*`

* chore: changesets

* chore: changeset

* chore: lock

* chore: clean

---------

Co-authored-by: Tom Meagher <tom@meagher.co>
  • Loading branch information
dalechyn and tmm committed Jul 1, 2024
1 parent ac038b2 commit 95965c1
Show file tree
Hide file tree
Showing 18 changed files with 266 additions and 67 deletions.
8 changes: 8 additions & 0 deletions .changeset/neat-socks-whisper.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"create-wagmi": patch
"wagmi": patch
"@wagmi/core": patch
"@wagmi/vue": patch
---

Bumped Tanstack Query dependencies to fix typing issues between exported Wagmi query options and TanStack Query suspense query methods (due to [`direction` property in `QueryFunctionContext` being deprecated](https://github.com/TanStack/query/pull/7410)).
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"zustand": "4.4.1"
},
"devDependencies": {
"@tanstack/query-core": ">=5.35.1"
"@tanstack/query-core": ">=5.45.0"
},
"contributors": ["awkweb.eth <t@wevm.dev>", "jxom.eth <j@wevm.dev>"],
"funding": "https://github.com/sponsors/wevm",
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/createConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,6 @@ export function createConfig<
// Types
/////////////////////////////////////////////////////////////////////////////////////////////////

export declare const internal: unique symbol

export type Config<
chains extends readonly [Chain, ...Chain[]] = readonly [Chain, ...Chain[]],
transports extends Record<chains[number]['id'], Transport> = Record<
Expand Down
2 changes: 1 addition & 1 deletion packages/create-wagmi/templates/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"@tanstack/react-query": "5.0.5",
"@tanstack/react-query": "5.45.1",
"next": "14.2.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-wagmi/templates/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.45.0",
"@wagmi/vue": "latest",
"nuxt": "^3.11.2",
"viem": "latest",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-wagmi/templates/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/react-query": "5.0.5",
"@tanstack/react-query": "5.45.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"viem": "latest",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-wagmi/templates/vite-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.45.0",
"@wagmi/vue": "latest",
"viem": "latest",
"vue": ">=3.4.21"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
"use-sync-external-store": "1.2.0"
},
"devDependencies": {
"@tanstack/react-query": ">=5.35.1",
"@tanstack/react-query": ">=5.45.1",
"@testing-library/react": ">=15.0.7",
"@types/react": ">=18.3.1",
"@types/react-dom": ">=18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/register-tests/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@tanstack/react-query": ">=5.35.1",
"@tanstack/react-query": ">=5.45.1",
"react": ">=18.3.1",
"wagmi": "workspace:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/register-tests/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.45.0",
"@wagmi/vue": "workspace:*",
"vue": ">=3.4.21"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
}
},
"devDependencies": {
"@tanstack/react-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/react-query": ">=5.45.1",
"@tanstack/vue-query": ">=5.45.0",
"@testing-library/react": ">=15.0.7",
"@types/react": ">=18.3.1",
"@types/react-dom": ">=18.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
"devDependencies": {
"@nuxt/schema": "^3.11.2",
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.45.0",
"@vue/test-utils": "^2.4.6",
"nuxt": "^3.11.2",
"vue": ">=3.4.21",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@next/bundle-analyzer": "^14.2.3",
"@tanstack/react-query": ">=5.35.1",
"@tanstack/react-query": ">=5.45.1",
"next": "14.2.4",
"react": ">=18.3.1",
"react-dom": ">=18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"_postinstall": "nuxt prepare"
},
"dependencies": {
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.45.0",
"@wagmi/vue": "workspace:*",
"nuxt": "^3.11.2",
"viem": "2.*",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@tanstack/query-sync-storage-persister": "5.0.5",
"@tanstack/react-query": ">=5.35.1",
"@tanstack/react-query": ">=5.45.1",
"@tanstack/react-query-persist-client": "5.0.5",
"idb-keyval": "^6.2.1",
"react": ">=18.3.1",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preview": "vite preview"
},
"dependencies": {
"@tanstack/vue-query": ">=5.35.1",
"@tanstack/vue-query": ">=5.45.0",
"@wagmi/vue": "workspace:*",
"viem": "2.*",
"vue": ">=3.4.21"
Expand Down
Loading

0 comments on commit 95965c1

Please sign in to comment.