@tanstack/lit-query 0.2.32 → 0.2.34
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/README.md +1 -1
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.d.cts +1 -1
- package/build/legacy/index.d.cts.map +1 -1
- package/build/legacy/index.d.ts +1 -1
- package/build/legacy/index.d.ts.map +1 -1
- package/build/legacy/index.js.map +1 -1
- package/build/modern/index.cjs.map +1 -1
- package/build/modern/index.d.cts +1 -1
- package/build/modern/index.d.cts.map +1 -1
- package/build/modern/index.d.ts +1 -1
- package/build/modern/index.d.ts.map +1 -1
- package/build/modern/index.js.map +1 -1
- package/package.json +2 -2
- package/src/useIsMutating.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/lit-query",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.34",
|
|
4
4
|
"description": "Lit adapter for TanStack Query Core",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@lit/context": "^1.1.6",
|
|
43
|
-
"@tanstack/query-core": "5.105.
|
|
43
|
+
"@tanstack/query-core": "5.105.3"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@lit-labs/ssr": "^3.3.1",
|
package/src/useIsMutating.ts
CHANGED
|
@@ -18,7 +18,7 @@ class IsMutatingController extends BaseController<number> {
|
|
|
18
18
|
|
|
19
19
|
constructor(
|
|
20
20
|
host: ReactiveControllerHost,
|
|
21
|
-
private readonly filters: Accessor<MutationFilters
|
|
21
|
+
private readonly filters: Accessor<Omit<MutationFilters, 'status'>> = {},
|
|
22
22
|
queryClient?: QueryClient,
|
|
23
23
|
) {
|
|
24
24
|
super(host, 0, queryClient)
|
|
@@ -140,7 +140,7 @@ class IsMutatingController extends BaseController<number> {
|
|
|
140
140
|
*/
|
|
141
141
|
export function useIsMutating(
|
|
142
142
|
host: ReactiveControllerHost,
|
|
143
|
-
filters: Accessor<MutationFilters
|
|
143
|
+
filters: Accessor<Omit<MutationFilters, 'status'>> = {},
|
|
144
144
|
queryClient?: QueryClient,
|
|
145
145
|
): IsMutatingAccessor {
|
|
146
146
|
const controller = new IsMutatingController(host, filters, queryClient)
|