@tanstack/vue-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.
|
@@ -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 = [];
|
|
@@ -4965,6 +4963,8 @@
|
|
|
4965
4963
|
exports.QueryObserver = QueryObserver;
|
|
4966
4964
|
exports.VUE_QUERY_CLIENT = VUE_QUERY_CLIENT;
|
|
4967
4965
|
exports.VueQueryPlugin = VueQueryPlugin;
|
|
4966
|
+
exports.defaultShouldDehydrateMutation = defaultShouldDehydrateMutation;
|
|
4967
|
+
exports.defaultShouldDehydrateQuery = defaultShouldDehydrateQuery;
|
|
4968
4968
|
exports.dehydrate = dehydrate;
|
|
4969
4969
|
exports.focusManager = focusManager;
|
|
4970
4970
|
exports.hashQueryKey = hashQueryKey;
|