@tanstack/solid-query-persist-client 5.28.5 → 5.28.8
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/build/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PersistQueryClientOptions } from '@tanstack/query-persist-client-core';
|
|
2
2
|
export * from '@tanstack/query-persist-client-core';
|
|
3
|
-
import { QueryClientProviderProps } from '@tanstack/solid-query';
|
|
3
|
+
import { QueryClientProviderProps, OmitKeyof } from '@tanstack/solid-query';
|
|
4
4
|
import { JSX } from 'solid-js';
|
|
5
5
|
|
|
6
6
|
type PersistQueryClientProviderProps = QueryClientProviderProps & {
|
|
7
|
-
persistOptions:
|
|
7
|
+
persistOptions: OmitKeyof<PersistQueryClientOptions, 'queryClient'>;
|
|
8
8
|
onSuccess?: () => void;
|
|
9
9
|
};
|
|
10
10
|
declare const PersistQueryClientProvider: (props: PersistQueryClientProviderProps) => JSX.Element;
|
package/build/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { PersistQueryClientOptions } from '@tanstack/query-persist-client-core';
|
|
2
2
|
export * from '@tanstack/query-persist-client-core';
|
|
3
|
-
import { QueryClientProviderProps } from '@tanstack/solid-query';
|
|
3
|
+
import { QueryClientProviderProps, OmitKeyof } from '@tanstack/solid-query';
|
|
4
4
|
import { JSX } from 'solid-js';
|
|
5
5
|
|
|
6
6
|
type PersistQueryClientProviderProps = QueryClientProviderProps & {
|
|
7
|
-
persistOptions:
|
|
7
|
+
persistOptions: OmitKeyof<PersistQueryClientOptions, 'queryClient'>;
|
|
8
8
|
onSuccess?: () => void;
|
|
9
9
|
};
|
|
10
10
|
declare const PersistQueryClientProvider: (props: PersistQueryClientProviderProps) => JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/solid-query-persist-client",
|
|
3
|
-
"version": "5.28.
|
|
3
|
+
"version": "5.28.8",
|
|
4
4
|
"description": "Solid.js bindings to work with persisters in TanStack/solid-query",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"src"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@tanstack/query-persist-client-core": "5.28.
|
|
47
|
+
"@tanstack/query-persist-client-core": "5.28.8"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"tsup-preset-solid": "^2.2.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"solid-js": "^1.6.0",
|
|
56
|
-
"@tanstack/solid-query": "5.28.
|
|
56
|
+
"@tanstack/solid-query": "5.28.8"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"clean": "rimraf ./build && rimraf ./coverage",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"test:lib": "vitest",
|
|
63
63
|
"test:lib:dev": "pnpm run test:lib --watch",
|
|
64
64
|
"test:build": "publint --strict",
|
|
65
|
+
"test:attw": "attw --pack",
|
|
65
66
|
"build": "tsup"
|
|
66
67
|
}
|
|
67
68
|
}
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
import { createEffect, createMemo, createSignal, onCleanup } from 'solid-js'
|
|
6
6
|
import { IsRestoringProvider, QueryClientProvider } from '@tanstack/solid-query'
|
|
7
7
|
import type { PersistQueryClientOptions } from '@tanstack/query-persist-client-core'
|
|
8
|
-
import type { QueryClientProviderProps } from '@tanstack/solid-query'
|
|
8
|
+
import type { OmitKeyof, QueryClientProviderProps } from '@tanstack/solid-query'
|
|
9
9
|
import type { JSX } from 'solid-js'
|
|
10
10
|
|
|
11
11
|
export type PersistQueryClientProviderProps = QueryClientProviderProps & {
|
|
12
|
-
persistOptions:
|
|
12
|
+
persistOptions: OmitKeyof<PersistQueryClientOptions, 'queryClient'>
|
|
13
13
|
onSuccess?: () => void
|
|
14
14
|
}
|
|
15
15
|
|