@trpc/tanstack-react-query 11.1.2-canary.7 → 11.1.3-canary.10
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.
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundleSize":
|
|
3
|
-
"bundleOrigSize":
|
|
4
|
-
"bundleReduction": 62.
|
|
2
|
+
"bundleSize": 16573,
|
|
3
|
+
"bundleOrigSize": 43782,
|
|
4
|
+
"bundleReduction": 62.15,
|
|
5
5
|
"modules": [
|
|
6
6
|
{
|
|
7
7
|
"id": "/src/internals/subscriptionOptions.ts",
|
|
8
|
-
"size":
|
|
9
|
-
"origSize":
|
|
8
|
+
"size": 4803,
|
|
9
|
+
"origSize": 8185,
|
|
10
10
|
"renderedExports": [
|
|
11
11
|
"trpcSubscriptionOptions",
|
|
12
12
|
"useSubscription"
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"/src/index.ts",
|
|
17
17
|
"/src/internals/createOptionsProxy.ts"
|
|
18
18
|
],
|
|
19
|
-
"percent": 28.
|
|
20
|
-
"reduction": 41.
|
|
19
|
+
"percent": 28.98,
|
|
20
|
+
"reduction": 41.32
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"id": "/src/internals/createOptionsProxy.ts",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"/src/index.ts",
|
|
32
32
|
"/src/internals/Context.tsx"
|
|
33
33
|
],
|
|
34
|
-
"percent": 23.
|
|
34
|
+
"percent": 23.41,
|
|
35
35
|
"reduction": 69.58
|
|
36
36
|
},
|
|
37
37
|
{
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"/src/internals/mutationOptions.ts",
|
|
55
55
|
"/src/internals/queryOptions.ts"
|
|
56
56
|
],
|
|
57
|
-
"percent": 18.
|
|
57
|
+
"percent": 18.81,
|
|
58
58
|
"reduction": 11.57
|
|
59
59
|
},
|
|
60
60
|
{
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"dependents": [
|
|
69
69
|
"/src/index.ts"
|
|
70
70
|
],
|
|
71
|
-
"percent": 9.
|
|
71
|
+
"percent": 9.01,
|
|
72
72
|
"reduction": 30.8
|
|
73
73
|
},
|
|
74
74
|
{
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"dependents": [
|
|
83
83
|
"/src/internals/createOptionsProxy.ts"
|
|
84
84
|
],
|
|
85
|
-
"percent": 6.
|
|
85
|
+
"percent": 6.86,
|
|
86
86
|
"reduction": 64.62
|
|
87
87
|
},
|
|
88
88
|
{
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"dependents": [
|
|
97
97
|
"/src/internals/createOptionsProxy.ts"
|
|
98
98
|
],
|
|
99
|
-
"percent": 6.
|
|
99
|
+
"percent": 6.62,
|
|
100
100
|
"reduction": 81.55
|
|
101
101
|
},
|
|
102
102
|
{
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"dependents": [
|
|
111
111
|
"/src/internals/createOptionsProxy.ts"
|
|
112
112
|
],
|
|
113
|
-
"percent": 6.
|
|
113
|
+
"percent": 6.31,
|
|
114
114
|
"reduction": 85.16
|
|
115
115
|
},
|
|
116
116
|
{
|
|
@@ -111,6 +111,7 @@ function useSubscription(opts) {
|
|
|
111
111
|
currentSubscriptionRef.current = ()=>{
|
|
112
112
|
subscription.unsubscribe();
|
|
113
113
|
};
|
|
114
|
+
// eslint-disable-next-line react-hooks/react-compiler
|
|
114
115
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
115
116
|
}, [
|
|
116
117
|
reactQuery.hashKey(opts.queryKey),
|
|
@@ -90,6 +90,7 @@ function useSubscription(opts) {
|
|
|
90
90
|
currentSubscriptionRef.current = ()=>{
|
|
91
91
|
subscription.unsubscribe();
|
|
92
92
|
};
|
|
93
|
+
// eslint-disable-next-line react-hooks/react-compiler
|
|
93
94
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
94
95
|
}, [
|
|
95
96
|
hashKey(opts.queryKey),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trpc/tanstack-react-query",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.3-canary.10+cc2c1e9d2",
|
|
4
4
|
"description": "TanStack React Query Integration for tRPC",
|
|
5
5
|
"author": "juliusmarminge",
|
|
6
6
|
"license": "MIT",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"@tanstack/react-query": "^5.67.1",
|
|
52
|
-
"@trpc/client": "11.1.
|
|
53
|
-
"@trpc/server": "11.1.
|
|
52
|
+
"@trpc/client": "11.1.3-canary.10+cc2c1e9d2",
|
|
53
|
+
"@trpc/server": "11.1.3-canary.10+cc2c1e9d2",
|
|
54
54
|
"react": ">=18.2.0",
|
|
55
55
|
"react-dom": ">=18.2.0",
|
|
56
56
|
"typescript": ">=5.7.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@tanstack/react-query": "^5.74.7",
|
|
60
|
-
"@trpc/client": "11.1.
|
|
61
|
-
"@trpc/server": "11.1.
|
|
60
|
+
"@trpc/client": "11.1.3-canary.10+cc2c1e9d2",
|
|
61
|
+
"@trpc/server": "11.1.3-canary.10+cc2c1e9d2",
|
|
62
62
|
"@types/node": "^22.13.5",
|
|
63
63
|
"@types/react": "^19.1.0",
|
|
64
|
-
"eslint": "^9.
|
|
64
|
+
"eslint": "^9.26.0",
|
|
65
65
|
"event-source-polyfill": "^1.0.31",
|
|
66
66
|
"konn": "^0.7.0",
|
|
67
67
|
"react": "^19.1.0",
|
|
@@ -69,9 +69,9 @@
|
|
|
69
69
|
"rollup": "^4.34.8",
|
|
70
70
|
"tsx": "^4.19.3",
|
|
71
71
|
"typescript": "^5.8.2",
|
|
72
|
-
"vitest": "^3.
|
|
72
|
+
"vitest": "^3.1.2",
|
|
73
73
|
"ws": "^8.0.0",
|
|
74
|
-
"zod": "^3.24.
|
|
74
|
+
"zod": "^3.24.4"
|
|
75
75
|
},
|
|
76
76
|
"publishConfig": {
|
|
77
77
|
"access": "public"
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"funding": [
|
|
80
80
|
"https://trpc.io/sponsor"
|
|
81
81
|
],
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "cc2c1e9d2cf7be1ce5b4396992f80c409d23dc6a"
|
|
83
83
|
}
|
|
@@ -226,7 +226,7 @@ export function useSubscription<TOutput, TError>(
|
|
|
226
226
|
currentSubscriptionRef.current = () => {
|
|
227
227
|
subscription.unsubscribe();
|
|
228
228
|
};
|
|
229
|
-
|
|
229
|
+
// eslint-disable-next-line react-hooks/react-compiler
|
|
230
230
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
231
231
|
}, [hashKey(opts.queryKey), opts.enabled]);
|
|
232
232
|
|