@tanstack/react-query-next-experimental 5.61.0 → 5.61.4
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.
|
@@ -45,7 +45,7 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
45
45
|
* Optional transformer to serialize/deserialize the data
|
|
46
46
|
* Example devalue, superjson et al
|
|
47
47
|
*/
|
|
48
|
-
transformer?: DataTransformer
|
|
48
|
+
transformer?: DataTransformer;
|
|
49
49
|
/**
|
|
50
50
|
* **Client method**
|
|
51
51
|
* Called in the browser when new entries are received
|
|
@@ -55,11 +55,11 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
55
55
|
* **Server method**
|
|
56
56
|
* onFlush is called on the server when the cache is flushed
|
|
57
57
|
*/
|
|
58
|
-
onFlush?: (
|
|
58
|
+
onFlush?: () => Array<TShape>;
|
|
59
59
|
/**
|
|
60
60
|
* A nonce that'll allow the inline script to be executed when Content Security Policy is enforced
|
|
61
61
|
*/
|
|
62
|
-
nonce?: string
|
|
62
|
+
nonce?: string;
|
|
63
63
|
}) => react_jsx_runtime.JSX.Element;
|
|
64
64
|
context: React.Context<HydrationStreamContext<TShape>>;
|
|
65
65
|
};
|
|
@@ -45,7 +45,7 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
45
45
|
* Optional transformer to serialize/deserialize the data
|
|
46
46
|
* Example devalue, superjson et al
|
|
47
47
|
*/
|
|
48
|
-
transformer?: DataTransformer
|
|
48
|
+
transformer?: DataTransformer;
|
|
49
49
|
/**
|
|
50
50
|
* **Client method**
|
|
51
51
|
* Called in the browser when new entries are received
|
|
@@ -55,11 +55,11 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
55
55
|
* **Server method**
|
|
56
56
|
* onFlush is called on the server when the cache is flushed
|
|
57
57
|
*/
|
|
58
|
-
onFlush?: (
|
|
58
|
+
onFlush?: () => Array<TShape>;
|
|
59
59
|
/**
|
|
60
60
|
* A nonce that'll allow the inline script to be executed when Content Security Policy is enforced
|
|
61
61
|
*/
|
|
62
|
-
nonce?: string
|
|
62
|
+
nonce?: string;
|
|
63
63
|
}) => react_jsx_runtime.JSX.Element;
|
|
64
64
|
context: React.Context<HydrationStreamContext<TShape>>;
|
|
65
65
|
};
|
|
@@ -45,7 +45,7 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
45
45
|
* Optional transformer to serialize/deserialize the data
|
|
46
46
|
* Example devalue, superjson et al
|
|
47
47
|
*/
|
|
48
|
-
transformer?: DataTransformer
|
|
48
|
+
transformer?: DataTransformer;
|
|
49
49
|
/**
|
|
50
50
|
* **Client method**
|
|
51
51
|
* Called in the browser when new entries are received
|
|
@@ -55,11 +55,11 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
55
55
|
* **Server method**
|
|
56
56
|
* onFlush is called on the server when the cache is flushed
|
|
57
57
|
*/
|
|
58
|
-
onFlush?: (
|
|
58
|
+
onFlush?: () => Array<TShape>;
|
|
59
59
|
/**
|
|
60
60
|
* A nonce that'll allow the inline script to be executed when Content Security Policy is enforced
|
|
61
61
|
*/
|
|
62
|
-
nonce?: string
|
|
62
|
+
nonce?: string;
|
|
63
63
|
}) => react_jsx_runtime.JSX.Element;
|
|
64
64
|
context: React.Context<HydrationStreamContext<TShape>>;
|
|
65
65
|
};
|
|
@@ -45,7 +45,7 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
45
45
|
* Optional transformer to serialize/deserialize the data
|
|
46
46
|
* Example devalue, superjson et al
|
|
47
47
|
*/
|
|
48
|
-
transformer?: DataTransformer
|
|
48
|
+
transformer?: DataTransformer;
|
|
49
49
|
/**
|
|
50
50
|
* **Client method**
|
|
51
51
|
* Called in the browser when new entries are received
|
|
@@ -55,11 +55,11 @@ declare function createHydrationStreamProvider<TShape>(): {
|
|
|
55
55
|
* **Server method**
|
|
56
56
|
* onFlush is called on the server when the cache is flushed
|
|
57
57
|
*/
|
|
58
|
-
onFlush?: (
|
|
58
|
+
onFlush?: () => Array<TShape>;
|
|
59
59
|
/**
|
|
60
60
|
* A nonce that'll allow the inline script to be executed when Content Security Policy is enforced
|
|
61
61
|
*/
|
|
62
|
-
nonce?: string
|
|
62
|
+
nonce?: string;
|
|
63
63
|
}) => react_jsx_runtime.JSX.Element;
|
|
64
64
|
context: React.Context<HydrationStreamContext<TShape>>;
|
|
65
65
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/react-query-next-experimental",
|
|
3
|
-
"version": "5.61.
|
|
3
|
+
"version": "5.61.4",
|
|
4
4
|
"description": "Hydration utils for React Query in the NextJs app directory",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,15 +39,15 @@
|
|
|
39
39
|
],
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/react": "npm:types-react@rc",
|
|
42
|
-
"@vitejs/plugin-react": "^4.3.
|
|
43
|
-
"next": "^14.2.
|
|
44
|
-
"react": "19.0.0-rc-
|
|
45
|
-
"@tanstack/react-query": "5.61.
|
|
42
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
43
|
+
"next": "^14.2.18",
|
|
44
|
+
"react": "19.0.0-rc-66855b96-20241106",
|
|
45
|
+
"@tanstack/react-query": "5.61.4"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"next": "^13 || ^14 || ^15",
|
|
49
49
|
"react": "^18 || ^19",
|
|
50
|
-
"@tanstack/react-query": "^5.61.
|
|
50
|
+
"@tanstack/react-query": "^5.61.4"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {}
|
|
53
53
|
}
|