@tanstack/query-core 4.14.5 → 4.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-core",
3
- "version": "4.14.5",
3
+ "version": "4.15.1",
4
4
  "description": "The framework agnostic core that powers TanStack Query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -117,6 +117,10 @@ export class QueriesObserver extends Subscribable<QueriesObserverListener> {
117
117
  return this.observers.map((observer) => observer.getCurrentQuery())
118
118
  }
119
119
 
120
+ getObservers() {
121
+ return this.observers
122
+ }
123
+
120
124
  getOptimisticResult(queries: QueryObserverOptions[]): QueryObserverResult[] {
121
125
  return this.findMatchingObservers(queries).map((match) =>
122
126
  match.observer.getOptimisticResult(match.defaultedQueryOptions),