@tanstack/query-core
Advanced tools
Comparing version 5.18.1 to 5.20.1
@@ -11,3 +11,2 @@ import "./chunk-2HYBKCYP.js"; | ||
var InfiniteQueryObserver = class extends QueryObserver { | ||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor | ||
constructor(client, options) { | ||
@@ -14,0 +13,0 @@ super(client, options); |
@@ -9,3 +9,2 @@ // src/infiniteQueryObserver.ts | ||
var InfiniteQueryObserver = class extends QueryObserver { | ||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor | ||
constructor(client, options) { | ||
@@ -12,0 +11,0 @@ super(client, options); |
@@ -6,2 +6,6 @@ // src/mutation.ts | ||
var Mutation = class extends Removable { | ||
#observers; | ||
#defaultOptions; | ||
#mutationCache; | ||
#retryer; | ||
constructor(config) { | ||
@@ -17,6 +21,2 @@ super(); | ||
} | ||
#observers; | ||
#defaultOptions; | ||
#mutationCache; | ||
#retryer; | ||
setOptions(options) { | ||
@@ -23,0 +23,0 @@ this.options = { ...this.#defaultOptions, ...options }; |
@@ -7,5 +7,8 @@ // src/mutationObserver.ts | ||
var MutationObserver = class extends Subscribable { | ||
#client; | ||
#currentResult = void 0; | ||
#currentMutation; | ||
#mutateOptions; | ||
constructor(client, options) { | ||
super(); | ||
this.#currentResult = void 0; | ||
this.#client = client; | ||
@@ -16,6 +19,2 @@ this.setOptions(options); | ||
} | ||
#client; | ||
#currentResult; | ||
#currentMutation; | ||
#mutateOptions; | ||
bindMethods() { | ||
@@ -22,0 +21,0 @@ this.mutate = this.mutate.bind(this); |
@@ -7,2 +7,10 @@ // src/query.ts | ||
var Query = class extends Removable { | ||
#initialState; | ||
#revertState; | ||
#cache; | ||
#promise; | ||
#retryer; | ||
#observers; | ||
#defaultOptions; | ||
#abortSignalConsumed; | ||
constructor(config) { | ||
@@ -21,10 +29,2 @@ super(); | ||
} | ||
#initialState; | ||
#revertState; | ||
#cache; | ||
#promise; | ||
#retryer; | ||
#observers; | ||
#defaultOptions; | ||
#abortSignalConsumed; | ||
get meta() { | ||
@@ -31,0 +31,0 @@ return this.options.meta; |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.18.1", | ||
"version": "5.20.1", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -52,3 +52,2 @@ import { QueryObserver } from './queryObserver' | ||
// eslint-disable-next-line @typescript-eslint/no-useless-constructor | ||
constructor( | ||
@@ -55,0 +54,0 @@ client: QueryClient, |
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
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
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
240
7
122
1813521
25780
13
1