@tanstack/query-core
Advanced tools
Comparing version 5.28.8 to 5.28.9
@@ -93,3 +93,3 @@ import { | ||
getQueriesData(filters) { | ||
return this.getQueryCache().findAll(filters).map(({ queryKey, state }) => { | ||
return __privateGet(this, _queryCache).findAll(filters).map(({ queryKey, state }) => { | ||
const data = state.data; | ||
@@ -113,3 +113,3 @@ return [queryKey, data]; | ||
return notifyManager.batch( | ||
() => this.getQueryCache().findAll(filters).map(({ queryKey }) => [ | ||
() => __privateGet(this, _queryCache).findAll(filters).map(({ queryKey }) => [ | ||
queryKey, | ||
@@ -116,0 +116,0 @@ this.setQueryData(queryKey, updater, options) |
@@ -83,3 +83,3 @@ // src/queryClient.ts | ||
getQueriesData(filters) { | ||
return this.getQueryCache().findAll(filters).map(({ queryKey, state }) => { | ||
return this.#queryCache.findAll(filters).map(({ queryKey, state }) => { | ||
const data = state.data; | ||
@@ -103,3 +103,3 @@ return [queryKey, data]; | ||
return notifyManager.batch( | ||
() => this.getQueryCache().findAll(filters).map(({ queryKey }) => [ | ||
() => this.#queryCache.findAll(filters).map(({ queryKey }) => [ | ||
queryKey, | ||
@@ -106,0 +106,0 @@ this.setQueryData(queryKey, updater, options) |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.28.8", | ||
"version": "5.28.9", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -157,8 +157,6 @@ import { | ||
): Array<[QueryKey, TQueryFnData | undefined]> { | ||
return this.getQueryCache() | ||
.findAll(filters) | ||
.map(({ queryKey, state }) => { | ||
const data = state.data as TQueryFnData | undefined | ||
return [queryKey, data] | ||
}) | ||
return this.#queryCache.findAll(filters).map(({ queryKey, state }) => { | ||
const data = state.data as TQueryFnData | undefined | ||
return [queryKey, data] | ||
}) | ||
} | ||
@@ -212,3 +210,3 @@ | ||
return notifyManager.batch(() => | ||
this.getQueryCache() | ||
this.#queryCache | ||
.findAll(filters) | ||
@@ -215,0 +213,0 @@ .map(({ queryKey }) => [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1861549
26525