@tanstack/react-query-next-experimental 5.96.0 → 5.96.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.
@@ -2,10 +2,8 @@ import type { DehydratedState } from '@tanstack/react-query';
2
2
  import type { DehydrateOptions } from '@tanstack/react-query';
3
3
  import type { HydrateOptions } from '@tanstack/react-query';
4
4
  import { JSX } from 'react/jsx-runtime';
5
- import { Options } from 'tsup';
6
5
  import type { QueryClient } from '@tanstack/react-query';
7
6
  import * as React_2 from 'react';
8
- import { UserConfig } from 'vite';
9
7
 
10
8
  export declare function createHydrationStreamProvider<TShape>(): {
11
9
  Provider: (props: {
@@ -38,14 +36,6 @@ declare interface DataTransformer {
38
36
  deserialize: (object: any) => any;
39
37
  }
40
38
 
41
- export declare const default_alias: any[];
42
-
43
- export declare const default_alias_1: any[];
44
-
45
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
46
-
47
- export declare const default_alias_3: UserConfig;
48
-
49
39
  export declare const ESCAPE_REGEX: RegExp;
50
40
 
51
41
  export declare function htmlEscapeJsonString(str: string): string;
@@ -85,24 +75,6 @@ export declare interface HydrationStreamProviderProps<TShape> {
85
75
  nonce?: string;
86
76
  }
87
77
 
88
- /**
89
- * @param {Object} opts - Options for building configurations.
90
- * @param {string[]} opts.entry - The entry array.
91
- * @returns {import('tsup').Options}
92
- */
93
- export declare function legacyConfig(opts: {
94
- entry: string[];
95
- }): Options;
96
-
97
- /**
98
- * @param {Object} opts - Options for building configurations.
99
- * @param {string[]} opts.entry - The entry array.
100
- * @returns {import('tsup').Options}
101
- */
102
- export declare function modernConfig(opts: {
103
- entry: string[];
104
- }): Options;
105
-
106
78
  /**
107
79
  * This component is responsible for:
108
80
  * - hydrating the query client on the server
@@ -2,10 +2,8 @@ import type { DehydratedState } from '@tanstack/react-query';
2
2
  import type { DehydrateOptions } from '@tanstack/react-query';
3
3
  import type { HydrateOptions } from '@tanstack/react-query';
4
4
  import { JSX } from 'react/jsx-runtime';
5
- import { Options } from 'tsup';
6
5
  import type { QueryClient } from '@tanstack/react-query';
7
6
  import * as React_2 from 'react';
8
- import { UserConfig } from 'vite';
9
7
 
10
8
  export declare function createHydrationStreamProvider<TShape>(): {
11
9
  Provider: (props: {
@@ -38,14 +36,6 @@ declare interface DataTransformer {
38
36
  deserialize: (object: any) => any;
39
37
  }
40
38
 
41
- export declare const default_alias: any[];
42
-
43
- export declare const default_alias_1: any[];
44
-
45
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
46
-
47
- export declare const default_alias_3: UserConfig;
48
-
49
39
  export declare const ESCAPE_REGEX: RegExp;
50
40
 
51
41
  export declare function htmlEscapeJsonString(str: string): string;
@@ -85,24 +75,6 @@ export declare interface HydrationStreamProviderProps<TShape> {
85
75
  nonce?: string;
86
76
  }
87
77
 
88
- /**
89
- * @param {Object} opts - Options for building configurations.
90
- * @param {string[]} opts.entry - The entry array.
91
- * @returns {import('tsup').Options}
92
- */
93
- export declare function legacyConfig(opts: {
94
- entry: string[];
95
- }): Options;
96
-
97
- /**
98
- * @param {Object} opts - Options for building configurations.
99
- * @param {string[]} opts.entry - The entry array.
100
- * @returns {import('tsup').Options}
101
- */
102
- export declare function modernConfig(opts: {
103
- entry: string[];
104
- }): Options;
105
-
106
78
  /**
107
79
  * This component is responsible for:
108
80
  * - hydrating the query client on the server
@@ -2,10 +2,8 @@ import type { DehydratedState } from '@tanstack/react-query';
2
2
  import type { DehydrateOptions } from '@tanstack/react-query';
3
3
  import type { HydrateOptions } from '@tanstack/react-query';
4
4
  import { JSX } from 'react/jsx-runtime';
5
- import { Options } from 'tsup';
6
5
  import type { QueryClient } from '@tanstack/react-query';
7
6
  import * as React_2 from 'react';
8
- import { UserConfig } from 'vite';
9
7
 
10
8
  export declare function createHydrationStreamProvider<TShape>(): {
11
9
  Provider: (props: {
@@ -38,14 +36,6 @@ declare interface DataTransformer {
38
36
  deserialize: (object: any) => any;
39
37
  }
40
38
 
41
- export declare const default_alias: any[];
42
-
43
- export declare const default_alias_1: any[];
44
-
45
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
46
-
47
- export declare const default_alias_3: UserConfig;
48
-
49
39
  export declare const ESCAPE_REGEX: RegExp;
50
40
 
51
41
  export declare function htmlEscapeJsonString(str: string): string;
@@ -85,24 +75,6 @@ export declare interface HydrationStreamProviderProps<TShape> {
85
75
  nonce?: string;
86
76
  }
87
77
 
88
- /**
89
- * @param {Object} opts - Options for building configurations.
90
- * @param {string[]} opts.entry - The entry array.
91
- * @returns {import('tsup').Options}
92
- */
93
- export declare function legacyConfig(opts: {
94
- entry: string[];
95
- }): Options;
96
-
97
- /**
98
- * @param {Object} opts - Options for building configurations.
99
- * @param {string[]} opts.entry - The entry array.
100
- * @returns {import('tsup').Options}
101
- */
102
- export declare function modernConfig(opts: {
103
- entry: string[];
104
- }): Options;
105
-
106
78
  /**
107
79
  * This component is responsible for:
108
80
  * - hydrating the query client on the server
@@ -2,10 +2,8 @@ import type { DehydratedState } from '@tanstack/react-query';
2
2
  import type { DehydrateOptions } from '@tanstack/react-query';
3
3
  import type { HydrateOptions } from '@tanstack/react-query';
4
4
  import { JSX } from 'react/jsx-runtime';
5
- import { Options } from 'tsup';
6
5
  import type { QueryClient } from '@tanstack/react-query';
7
6
  import * as React_2 from 'react';
8
- import { UserConfig } from 'vite';
9
7
 
10
8
  export declare function createHydrationStreamProvider<TShape>(): {
11
9
  Provider: (props: {
@@ -38,14 +36,6 @@ declare interface DataTransformer {
38
36
  deserialize: (object: any) => any;
39
37
  }
40
38
 
41
- export declare const default_alias: any[];
42
-
43
- export declare const default_alias_1: any[];
44
-
45
- export declare const default_alias_2: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
46
-
47
- export declare const default_alias_3: UserConfig;
48
-
49
39
  export declare const ESCAPE_REGEX: RegExp;
50
40
 
51
41
  export declare function htmlEscapeJsonString(str: string): string;
@@ -85,24 +75,6 @@ export declare interface HydrationStreamProviderProps<TShape> {
85
75
  nonce?: string;
86
76
  }
87
77
 
88
- /**
89
- * @param {Object} opts - Options for building configurations.
90
- * @param {string[]} opts.entry - The entry array.
91
- * @returns {import('tsup').Options}
92
- */
93
- export declare function legacyConfig(opts: {
94
- entry: string[];
95
- }): Options;
96
-
97
- /**
98
- * @param {Object} opts - Options for building configurations.
99
- * @param {string[]} opts.entry - The entry array.
100
- * @returns {import('tsup').Options}
101
- */
102
- export declare function modernConfig(opts: {
103
- entry: string[];
104
- }): Options;
105
-
106
78
  /**
107
79
  * This component is responsible for:
108
80
  * - hydrating the query client on the server
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/react-query-next-experimental",
3
- "version": "5.96.0",
3
+ "version": "5.96.1",
4
4
  "description": "Hydration utils for React Query in the NextJs app directory",
5
5
  "author": "tannerlinsley",
6
6
  "license": "MIT",
@@ -44,12 +44,12 @@
44
44
  "next": "^16.0.1",
45
45
  "npm-run-all2": "^5.0.0",
46
46
  "react": "^19.2.1",
47
- "@tanstack/react-query": "5.96.0"
47
+ "@tanstack/react-query": "5.96.1"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "next": "^13 || ^14 || ^15 || ^16",
51
51
  "react": "^18 || ^19",
52
- "@tanstack/react-query": "^5.96.0"
52
+ "@tanstack/react-query": "^5.96.1"
53
53
  },
54
54
  "scripts": {
55
55
  "clean": "premove ./build ./coverage ./dist-ts",