@tanstack/svelte-query 5.52.2 → 5.53.1
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.
- package/dist/useHydrate.d.ts +1 -1
- package/dist/useHydrate.js +1 -1
- package/dist/useIsFetching.d.ts +1 -1
- package/dist/useIsFetching.js +1 -1
- package/dist/useIsMutating.d.ts +1 -1
- package/dist/useIsMutating.js +1 -1
- package/package.json +2 -2
- package/src/useHydrate.ts +2 -5
- package/src/useIsFetching.ts +2 -5
- package/src/useIsMutating.ts +2 -5
package/dist/useHydrate.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { HydrateOptions, QueryClient } from '@tanstack/query-core';
|
|
2
2
|
export declare function useHydrate(state?: unknown, options?: HydrateOptions, queryClient?: QueryClient): void;
|
package/dist/useHydrate.js
CHANGED
package/dist/useIsFetching.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="svelte" />
|
|
2
|
-
import { type QueryClient, type QueryFilters } from '@tanstack/query-core';
|
|
3
2
|
import type { Readable } from 'svelte/store';
|
|
3
|
+
import type { QueryClient, QueryFilters } from '@tanstack/query-core';
|
|
4
4
|
export declare function useIsFetching(filters?: QueryFilters, queryClient?: QueryClient): Readable<number>;
|
package/dist/useIsFetching.js
CHANGED
package/dist/useIsMutating.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="svelte" />
|
|
2
|
-
import { type MutationFilters, type QueryClient } from '@tanstack/query-core';
|
|
3
2
|
import type { Readable } from 'svelte/store';
|
|
3
|
+
import type { MutationFilters, QueryClient } from '@tanstack/query-core';
|
|
4
4
|
export declare function useIsMutating(filters?: MutationFilters, queryClient?: QueryClient): Readable<number>;
|
package/dist/useIsMutating.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/svelte-query",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.53.1",
|
|
4
4
|
"description": "Primitives for managing, caching and syncing asynchronous and remote data in Svelte",
|
|
5
5
|
"author": "Lachlan Collins",
|
|
6
6
|
"license": "MIT",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@tanstack/query-core": "5.
|
|
35
|
+
"@tanstack/query-core": "5.53.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@sveltejs/package": "^2.3.2",
|
package/src/useHydrate.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type HydrateOptions,
|
|
3
|
-
type QueryClient,
|
|
4
|
-
hydrate,
|
|
5
|
-
} from '@tanstack/query-core'
|
|
1
|
+
import { hydrate } from '@tanstack/query-core'
|
|
6
2
|
import { useQueryClient } from './useQueryClient.js'
|
|
3
|
+
import type { HydrateOptions, QueryClient } from '@tanstack/query-core'
|
|
7
4
|
|
|
8
5
|
export function useHydrate(
|
|
9
6
|
state?: unknown,
|
package/src/useIsFetching.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type QueryClient,
|
|
3
|
-
type QueryFilters,
|
|
4
|
-
notifyManager,
|
|
5
|
-
} from '@tanstack/query-core'
|
|
1
|
+
import { notifyManager } from '@tanstack/query-core'
|
|
6
2
|
import { readable } from 'svelte/store'
|
|
7
3
|
import { useQueryClient } from './useQueryClient.js'
|
|
8
4
|
import type { Readable } from 'svelte/store'
|
|
5
|
+
import type { QueryClient, QueryFilters } from '@tanstack/query-core'
|
|
9
6
|
|
|
10
7
|
export function useIsFetching(
|
|
11
8
|
filters?: QueryFilters,
|
package/src/useIsMutating.ts
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type MutationFilters,
|
|
3
|
-
type QueryClient,
|
|
4
|
-
notifyManager,
|
|
5
|
-
} from '@tanstack/query-core'
|
|
1
|
+
import { notifyManager } from '@tanstack/query-core'
|
|
6
2
|
import { readable } from 'svelte/store'
|
|
7
3
|
import { useQueryClient } from './useQueryClient.js'
|
|
8
4
|
import type { Readable } from 'svelte/store'
|
|
5
|
+
import type { MutationFilters, QueryClient } from '@tanstack/query-core'
|
|
9
6
|
|
|
10
7
|
export function useIsMutating(
|
|
11
8
|
filters?: MutationFilters,
|