@rsc-kit/core 0.7.2 → 0.8.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rsc-kit/core",
3
- "version": "0.7.2",
3
+ "version": "0.8.0",
4
4
  "description": "React Server Components on any JavaScript server: a Vite plugin that discovers the route tree, and a host adapter that serves it.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -25,6 +25,14 @@
25
25
  "types": "./dist/runtime.d.ts",
26
26
  "default": "./dist/runtime.js"
27
27
  },
28
+ "./query": {
29
+ "types": "./dist/query.d.ts",
30
+ "default": "./dist/query.js"
31
+ },
32
+ "./queryClient": {
33
+ "types": "./dist/js/queryClient.d.ts",
34
+ "default": "./dist/js/queryClient.js"
35
+ },
28
36
  "./errors": {
29
37
  "types": "./dist/js/errors.d.ts",
30
38
  "default": "./dist/js/errors.js"
@@ -171,13 +179,14 @@
171
179
  "devDependencies": {
172
180
  "@happy-dom/global-registrator": "^20.12.0",
173
181
  "@tailwindcss/vite": "^4.3.3",
182
+ "@tanstack/react-query": "^5.102.8",
174
183
  "@types/bun": "^1.4.0",
175
184
  "@types/node": "^24.0.0",
176
- "@types/react": "^19.2.18",
177
- "@types/react-dom": "^19.2.7",
185
+ "@types/react": "^19.3.0",
186
+ "@types/react-dom": "^19.3.0",
178
187
  "@vitejs/plugin-rsc": "^0.5.34",
179
- "react": "^19.2.7",
180
- "react-dom": "^19.2.7",
188
+ "react": "^19.3.0",
189
+ "react-dom": "^19.3.0",
181
190
  "react-server-dom-webpack": "^19.2.7",
182
191
  "tailwindcss": "^4.3.3",
183
192
  "typescript": "^7.0.2",