react-streaming
Advanced tools
Comparing version 0.3.30 to 0.3.31
@@ -11,2 +11,3 @@ export { renderToStream }; | ||
import type { renderToWebStream as renderToWebStream_ } from './renderToStream/renderToWebStream'; | ||
import type { InjectToStream } from './index.node-and-web'; | ||
export declare type StreamOptions = Omit<RenderToPipeableStreamOptions, 'onShellReady' | 'onShellError' | 'onError' | 'onAllReady'> | Omit<RenderToReadableStreamOptions, 'onError' | 'signal'>; | ||
@@ -34,3 +35,3 @@ declare type Options = { | ||
disabled: boolean; | ||
injectToStream: (chunk: unknown) => void; | ||
injectToStream: InjectToStream; | ||
abort: () => void; | ||
@@ -37,0 +38,0 @@ }; |
@@ -5,3 +5,3 @@ "use strict"; | ||
const getGlobalObject_1 = require("./getGlobalObject"); | ||
const PROJECT_VERSION = '0.3.30'; | ||
const PROJECT_VERSION = '0.3.31'; | ||
const projectInfo = { | ||
@@ -22,3 +22,3 @@ projectName: 'react-streaming', | ||
.join(' and '); | ||
throw new Error(`Using different versions is forbidden, but ${versionsStr} are loaded. Make sure only one version is loaded.`); | ||
throw new Error(`${versionsStr} are loaded but using different versions is forbidden`); | ||
} |
@@ -11,2 +11,3 @@ export { renderToStream }; | ||
import type { renderToWebStream as renderToWebStream_ } from './renderToStream/renderToWebStream'; | ||
import type { InjectToStream } from './index.node-and-web'; | ||
export declare type StreamOptions = Omit<RenderToPipeableStreamOptions, 'onShellReady' | 'onShellError' | 'onError' | 'onAllReady'> | Omit<RenderToReadableStreamOptions, 'onError' | 'signal'>; | ||
@@ -34,3 +35,3 @@ declare type Options = { | ||
disabled: boolean; | ||
injectToStream: (chunk: unknown) => void; | ||
injectToStream: InjectToStream; | ||
abort: () => void; | ||
@@ -37,0 +38,0 @@ }; |
export { projectInfo }; | ||
import { getGlobalObject } from './getGlobalObject'; | ||
const PROJECT_VERSION = '0.3.30'; | ||
const PROJECT_VERSION = '0.3.31'; | ||
const projectInfo = { | ||
@@ -18,3 +18,3 @@ projectName: 'react-streaming', | ||
.join(' and '); | ||
throw new Error(`Using different versions is forbidden, but ${versionsStr} are loaded. Make sure only one version is loaded.`); | ||
throw new Error(`${versionsStr} are loaded but using different versions is forbidden`); | ||
} |
{ | ||
"name": "react-streaming", | ||
"description": "React 18 Streaming. Full-fledged & Easy.", | ||
"version": "0.3.30", | ||
"version": "0.3.31", | ||
"peerDependencies": { | ||
@@ -6,0 +6,0 @@ "react": ">=18", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
143070
3039