react-on-rails-pro 16.2.0-test.5 → 16.2.0-test.7

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.
@@ -34,6 +34,6 @@ type GetReactServerComponentOnServerProps = {
34
34
  * for fetching or retrieving cached server components. For rendering server components,
35
35
  * consider using RSCRoute component which handles the rendering logic automatically.
36
36
  */
37
- declare const getReactServerComponent: (railsContext: RailsContextWithServerStreamingCapabilities) => ({ componentName, componentProps }: GetReactServerComponentOnServerProps) => Promise<bigint | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | import("react").AwaitedReactNode>;
37
+ declare const getReactServerComponent: (railsContext: RailsContextWithServerStreamingCapabilities) => ({ componentName, componentProps }: GetReactServerComponentOnServerProps) => Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | (string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined)>;
38
38
  export default getReactServerComponent;
39
39
  //# sourceMappingURL=getReactServerComponent.server.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails-pro",
3
- "version": "16.2.0-test.5",
3
+ "version": "16.2.0-test.7",
4
4
  "description": "React on Rails Pro package with React Server Components support",
5
5
  "type": "module",
6
6
  "repository": {
@@ -42,12 +42,12 @@
42
42
  "./ServerComponentFetchError": "./lib/ServerComponentFetchError.js"
43
43
  },
44
44
  "dependencies": {
45
- "react-on-rails": "16.2.0-test.5"
45
+ "react-on-rails": "16.2.0-test.7"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "react": ">= 16",
49
49
  "react-dom": ">= 16",
50
- "react-on-rails-rsc": "19.0.2"
50
+ "react-on-rails-rsc": "19.0.3"
51
51
  },
52
52
  "peerDependenciesMeta": {
53
53
  "react-on-rails-rsc": {
@@ -64,7 +64,10 @@
64
64
  "homepage": "https://github.com/shakacode/react_on_rails#readme",
65
65
  "devDependencies": {
66
66
  "@types/mock-fs": "^4.13.4",
67
- "mock-fs": "^5.5.0"
67
+ "mock-fs": "^5.5.0",
68
+ "react": "^19.0.1",
69
+ "react-dom": "^19.0.1",
70
+ "react-on-rails-rsc": "^19.0.3"
68
71
  },
69
72
  "scripts": {
70
73
  "build": "pnpm run clean && tsc",