@tanstack/solid-query
Advanced tools
Comparing version 5.30.5 to 5.30.6
@@ -80,2 +80,4 @@ import { QueryClient as QueryClient$1, MutationObserver, replaceEqualDeep, QueriesObserver, hydrate, QueryObserver, InfiniteQueryObserver, notifyManager } from '@tanstack/query-core'; | ||
var hydratableObserverResult = (query, result) => { | ||
if (!isServer) | ||
return result; | ||
const obj = { | ||
@@ -197,3 +199,5 @@ ...unwrap(result), | ||
resolver = null; | ||
return resolve(observerResult); | ||
return resolve( | ||
hydratableObserverResult(obs.getCurrentQuery(), observerResult) | ||
); | ||
} | ||
@@ -200,0 +204,0 @@ setStateWithReconciliation(observerResult); |
@@ -71,2 +71,4 @@ import { QueryClient as QueryClient$1, MutationObserver, replaceEqualDeep, QueriesObserver, hydrate, QueryObserver, InfiniteQueryObserver, notifyManager } from '@tanstack/query-core'; | ||
var hydratableObserverResult = (query, result) => { | ||
if (!isServer) | ||
return result; | ||
const obj = { | ||
@@ -188,3 +190,5 @@ ...unwrap(result), | ||
resolver = null; | ||
return resolve(observerResult); | ||
return resolve( | ||
hydratableObserverResult(obs.getCurrentQuery(), observerResult) | ||
); | ||
} | ||
@@ -191,0 +195,0 @@ setStateWithReconciliation(observerResult); |
{ | ||
"name": "@tanstack/solid-query", | ||
"version": "5.30.5", | ||
"version": "5.30.6", | ||
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Solid", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -77,2 +77,3 @@ // Had to disable the lint rule because isServer type is defined as false | ||
) => { | ||
if (!isServer) return result | ||
const obj: any = { | ||
@@ -259,3 +260,5 @@ ...unwrap(result), | ||
resolver = null | ||
return resolve(observerResult) | ||
return resolve( | ||
hydratableObserverResult(obs.getCurrentQuery(), observerResult), | ||
) | ||
} | ||
@@ -262,0 +265,0 @@ |
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
442311
13412