@tanstack/react-query 4.21.0 → 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.
|
@@ -3109,11 +3109,9 @@
|
|
|
3109
3109
|
function defaultShouldDehydrateMutation(mutation) {
|
|
3110
3110
|
return mutation.state.isPaused;
|
|
3111
3111
|
}
|
|
3112
|
-
|
|
3113
3112
|
function defaultShouldDehydrateQuery(query) {
|
|
3114
3113
|
return query.state.status === 'success';
|
|
3115
3114
|
}
|
|
3116
|
-
|
|
3117
3115
|
function dehydrate(client, options = {}) {
|
|
3118
3116
|
const mutations = [];
|
|
3119
3117
|
const queries = [];
|
|
@@ -3804,6 +3802,8 @@
|
|
|
3804
3802
|
exports.QueryErrorResetBoundary = QueryErrorResetBoundary;
|
|
3805
3803
|
exports.QueryObserver = QueryObserver;
|
|
3806
3804
|
exports.defaultContext = defaultContext;
|
|
3805
|
+
exports.defaultShouldDehydrateMutation = defaultShouldDehydrateMutation;
|
|
3806
|
+
exports.defaultShouldDehydrateQuery = defaultShouldDehydrateQuery;
|
|
3807
3807
|
exports.dehydrate = dehydrate;
|
|
3808
3808
|
exports.focusManager = focusManager;
|
|
3809
3809
|
exports.hashQueryKey = hashQueryKey;
|