@tanstack/solid-query 4.20.9 → 4.22.0
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.
|
@@ -3085,11 +3085,9 @@
|
|
|
3085
3085
|
function defaultShouldDehydrateMutation(mutation) {
|
|
3086
3086
|
return mutation.state.isPaused;
|
|
3087
3087
|
}
|
|
3088
|
-
|
|
3089
3088
|
function defaultShouldDehydrateQuery(query) {
|
|
3090
3089
|
return query.state.status === 'success';
|
|
3091
3090
|
}
|
|
3092
|
-
|
|
3093
3091
|
function dehydrate(client, options = {}) {
|
|
3094
3092
|
const mutations = [];
|
|
3095
3093
|
const queries = [];
|
|
@@ -3538,6 +3536,8 @@
|
|
|
3538
3536
|
exports.createQueries = createQueries;
|
|
3539
3537
|
exports.createQuery = createQuery;
|
|
3540
3538
|
exports.defaultContext = defaultContext;
|
|
3539
|
+
exports.defaultShouldDehydrateMutation = defaultShouldDehydrateMutation;
|
|
3540
|
+
exports.defaultShouldDehydrateQuery = defaultShouldDehydrateQuery;
|
|
3541
3541
|
exports.dehydrate = dehydrate;
|
|
3542
3542
|
exports.focusManager = focusManager;
|
|
3543
3543
|
exports.hashQueryKey = hashQueryKey;
|