@parcel/rsc 2.13.1-canary.3398 → 2.13.1-canary.3399

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/lib/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ /* @jsxRuntime automatic */ import { ReactNode } from 'react';
2
2
  import { HydrationOptions } from 'react-dom/client';
3
3
  export type CallServerCallback = <T>(id: string, args: any[]) => Promise<T>;
4
4
  export interface HydrateOptions extends HydrationOptions {
package/lib/node.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { IncomingMessage, ServerResponse } from 'http';
1
+ /* @jsxRuntime automatic */ import type { IncomingMessage, ServerResponse } from 'http';
2
2
  import { Readable } from 'stream';
3
3
  import { RSCToHTMLOptions, RSCOptions } from './server';
4
4
  export declare function renderRSC(root: any, options?: RSCOptions): Readable;
package/lib/server.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ErrorInfo } from 'react-dom/client';
1
+ /* @jsxRuntime automatic */ import type { ErrorInfo } from 'react-dom/client';
2
2
  import { ComponentType } from 'react' with {
3
3
  env: 'react-client'
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/rsc",
3
- "version": "2.13.1-canary.3398+735a635f7",
3
+ "version": "2.13.1-canary.3399+53633df12",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -41,5 +41,5 @@
41
41
  "react": "^19",
42
42
  "react-dom": "^19"
43
43
  },
44
- "gitHead": "735a635f7eed538c449f37517b26247e0b19c1a4"
44
+ "gitHead": "53633df12ad9bba5d6ed5360e935fde8de0342fe"
45
45
  }
package/src/client.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ /* @jsxRuntime automatic */
1
2
  import { ReactNode, startTransition, useInsertionEffect } from 'react';
2
3
  import {createFromReadableStream, createFromFetch, encodeReply, setServerCallback, createTemporaryReferenceSet} from 'react-server-dom-parcel/client';
3
4
  import {rscStream} from 'rsc-html-stream/client';
package/src/node.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ /* @jsxRuntime automatic */
1
2
  import type { IncomingMessage, ServerResponse } from 'http';
2
3
  import type { ReadableStream as NodeReadableStream } from 'stream/web';
3
4
 
package/src/server.tsx CHANGED
@@ -1,3 +1,4 @@
1
+ /* @jsxRuntime automatic */
1
2
  import type { ErrorInfo } from 'react-dom/client';
2
3
 
3
4
  // Server dependencies.