@tanstack/query-core 4.32.5 → 4.32.6

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.
Files changed (50) hide show
  1. package/build/lib/focusManager.d.ts.map +1 -0
  2. package/build/lib/hydration.d.ts.map +1 -0
  3. package/build/lib/index.d.ts.map +1 -0
  4. package/build/lib/infiniteQueryBehavior.d.ts.map +1 -0
  5. package/build/lib/infiniteQueryObserver.d.ts.map +1 -0
  6. package/build/lib/logger.d.ts.map +1 -0
  7. package/build/lib/logger.native.d.ts.map +1 -0
  8. package/build/lib/mutation.d.ts.map +1 -0
  9. package/build/lib/mutationCache.d.ts.map +1 -0
  10. package/build/lib/mutationObserver.d.ts.map +1 -0
  11. package/build/lib/notifyManager.d.ts.map +1 -0
  12. package/build/lib/onlineManager.d.ts.map +1 -0
  13. package/build/lib/queriesObserver.d.ts.map +1 -0
  14. package/build/lib/query.d.ts.map +1 -0
  15. package/build/lib/queryCache.d.ts.map +1 -0
  16. package/build/lib/queryClient.d.ts.map +1 -0
  17. package/build/lib/queryObserver.d.ts.map +1 -0
  18. package/build/lib/queryObserver.esm.js +1 -1
  19. package/build/lib/queryObserver.esm.js.map +1 -1
  20. package/build/lib/queryObserver.js +1 -1
  21. package/build/lib/queryObserver.js.map +1 -1
  22. package/build/lib/queryObserver.mjs +1 -1
  23. package/build/lib/queryObserver.mjs.map +1 -1
  24. package/build/lib/removable.d.ts.map +1 -0
  25. package/build/lib/retryer.d.ts.map +1 -0
  26. package/build/lib/subscribable.d.ts.map +1 -0
  27. package/build/lib/tests/focusManager.test.d.ts.map +1 -0
  28. package/build/lib/tests/hydration.test.d.ts.map +1 -0
  29. package/build/lib/tests/infiniteQueryBehavior.test.d.ts.map +1 -0
  30. package/build/lib/tests/infiniteQueryObserver.test.d.ts.map +1 -0
  31. package/build/lib/tests/mutationCache.test.d.ts.map +1 -0
  32. package/build/lib/tests/mutationObserver.test.d.ts.map +1 -0
  33. package/build/lib/tests/mutations.test.d.ts.map +1 -0
  34. package/build/lib/tests/notifyManager.test.d.ts.map +1 -0
  35. package/build/lib/tests/onlineManager.test.d.ts.map +1 -0
  36. package/build/lib/tests/queriesObserver.test.d.ts.map +1 -0
  37. package/build/lib/tests/query.test.d.ts.map +1 -0
  38. package/build/lib/tests/queryCache.test.d.ts.map +1 -0
  39. package/build/lib/tests/queryClient.test.d.ts.map +1 -0
  40. package/build/lib/tests/queryObserver.test.d.ts.map +1 -0
  41. package/build/lib/tests/utils.d.ts.map +1 -0
  42. package/build/lib/tests/utils.test.d.ts.map +1 -0
  43. package/build/lib/types.d.ts.map +1 -0
  44. package/build/lib/utils.d.ts.map +1 -0
  45. package/build/umd/index.development.js +1 -1
  46. package/build/umd/index.development.js.map +1 -1
  47. package/build/umd/index.production.js +1 -1
  48. package/build/umd/index.production.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/queryObserver.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-core",
3
- "version": "4.32.5",
3
+ "version": "4.32.6",
4
4
  "description": "The framework agnostic core that powers TanStack Query",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -834,7 +834,7 @@ function shouldAssignObserverCurrentProperties<
834
834
 
835
835
  // if the newly created result isn't what the observer is holding as current,
836
836
  // then we'll need to update the properties as well
837
- if (observer.getCurrentResult() !== optimisticResult) {
837
+ if (!shallowEqualObjects(observer.getCurrentResult(), optimisticResult)) {
838
838
  return true
839
839
  }
840
840