@tanstack/query-core
Advanced tools
Comparing version 5.28.0 to 5.28.2
@@ -45,4 +45,4 @@ import { | ||
this.reset(); | ||
} else { | ||
(_a = __privateGet(this, _currentMutation)) == null ? void 0 : _a.setOptions(this.options); | ||
} else if (((_a = __privateGet(this, _currentMutation)) == null ? void 0 : _a.state.status) === "pending") { | ||
__privateGet(this, _currentMutation).setOptions(this.options); | ||
} | ||
@@ -49,0 +49,0 @@ } |
@@ -34,4 +34,4 @@ // src/mutationObserver.ts | ||
this.reset(); | ||
} else { | ||
this.#currentMutation?.setOptions(this.options); | ||
} else if (this.#currentMutation?.state.status === "pending") { | ||
this.#currentMutation.setOptions(this.options); | ||
} | ||
@@ -38,0 +38,0 @@ } |
{ | ||
"name": "@tanstack/query-core", | ||
"version": "5.28.0", | ||
"version": "5.28.2", | ||
"description": "The framework agnostic core that powers TanStack Query", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -76,4 +76,4 @@ import { getDefaultState } from './mutation' | ||
this.reset() | ||
} else { | ||
this.#currentMutation?.setOptions(this.options) | ||
} else if (this.#currentMutation?.state.status === 'pending') { | ||
this.#currentMutation.setOptions(this.options) | ||
} | ||
@@ -80,0 +80,0 @@ } |
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
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
1853649
26399