diff --git a/examples/child-process/src/entry-ssr.tsx b/examples/child-process/src/entry-ssr.tsx index 30a4dbb..db0378a 100644 --- a/examples/child-process/src/entry-ssr.tsx +++ b/examples/child-process/src/entry-ssr.tsx @@ -26,7 +26,7 @@ export default async function handler(request: Request): Promise { const rscPromise = ReactClient.createFromReadableStream( rscStream1, { - ssrManifest: {}, + serverConsumerManifest: {}, }, ); diff --git a/examples/react-server/src/types/index.ts b/examples/react-server/src/types/index.ts index 687cfc6..6c62835 100644 --- a/examples/react-server/src/types/index.ts +++ b/examples/react-server/src/types/index.ts @@ -20,7 +20,7 @@ export type ModuleMap = { }; }; -export interface SsrManifest { +export interface ServerConsumerManifest { moduleMap: ModuleMap; // TODO serverModuleMap?: unknown; diff --git a/examples/react-server/src/types/react-modules.d.ts b/examples/react-server/src/types/react-modules.d.ts index c73ab9d..6035a63 100644 --- a/examples/react-server/src/types/react-modules.d.ts +++ b/examples/react-server/src/types/react-modules.d.ts @@ -48,7 +48,7 @@ declare module "react-server-dom-webpack/client.edge" { export function createFromReadableStream( stream: ReadableStream, options: { - serverConsumerManifest: import(".").SsrManifest; + serverConsumerManifest: import(".").ServerConsumerManifest; }, ): Promise; }