@remotion/renderer 4.0.245 → 4.0.246

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/dist/client.d.ts CHANGED
@@ -394,7 +394,7 @@ export declare const BrowserSafeApis: {
394
394
  webhookCustomDataOption: {
395
395
  name: string;
396
396
  cliFlag: "webhook-custom-data";
397
- description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
397
+ description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
398
398
  ssrName: "customData";
399
399
  docLink: string;
400
400
  type: Record<string, unknown> | null;
@@ -807,7 +807,7 @@ export declare const BrowserSafeApis: {
807
807
  metadataOption: {
808
808
  name: string;
809
809
  cliFlag: "metadata";
810
- description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
810
+ description: (mode: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
811
811
  docLink: string;
812
812
  type: import("./options/metadata").Metadata;
813
813
  getValue: ({ commandLine }: {
@@ -9,7 +9,7 @@ export declare const hasSpecifiedUnsupportedHardwareQualifySettings: ({ encoding
9
9
  encodingMaxRate: string | null;
10
10
  encodingBufferSize: string | null;
11
11
  crf: unknown;
12
- }) => "encodingMaxRate" | "encodingBufferSize" | "crf" | null;
12
+ }) => "crf" | "encodingBufferSize" | "encodingMaxRate" | null;
13
13
  export declare const getCodecName: ({ codec, encodingMaxRate, encodingBufferSize, crf, hardwareAcceleration, logLevel, indent, }: {
14
14
  codec: Codec;
15
15
  hardwareAcceleration: HardwareAccelerationOption;
package/dist/index.d.ts CHANGED
@@ -26,7 +26,7 @@ export { CancelSignal, makeCancelSignal } from './make-cancel-signal';
26
26
  export { openBrowser } from './open-browser';
27
27
  export type { ChromiumOptions } from './open-browser';
28
28
  export { ColorSpace } from './options/color-space';
29
- export { DeleteAfter } from './options/delete-after';
29
+ export type { DeleteAfter } from './options/delete-after';
30
30
  export { OpenGlRenderer } from './options/gl';
31
31
  export { NumberOfGifLoops } from './options/number-of-gif-loops';
32
32
  export { DownloadBrowserProgressFn, OnBrowserDownload, } from './options/on-browser-download';
@@ -171,7 +171,7 @@ export declare const allOptions: {
171
171
  webhookCustomDataOption: {
172
172
  name: string;
173
173
  cliFlag: "webhook-custom-data";
174
- description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
174
+ description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
175
175
  ssrName: "customData";
176
176
  docLink: string;
177
177
  type: Record<string, unknown> | null;
@@ -584,7 +584,7 @@ export declare const allOptions: {
584
584
  metadataOption: {
585
585
  name: string;
586
586
  cliFlag: "metadata";
587
- description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
587
+ description: (mode: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
588
588
  docLink: string;
589
589
  type: import("./metadata").Metadata;
590
590
  getValue: ({ commandLine }: {
@@ -2,7 +2,7 @@ export type Metadata = Record<string, string>;
2
2
  export declare const metadataOption: {
3
3
  name: string;
4
4
  cliFlag: "metadata";
5
- description: (mode: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
5
+ description: (mode: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
6
6
  docLink: string;
7
7
  type: Metadata;
8
8
  getValue: ({ commandLine }: {
@@ -1,7 +1,7 @@
1
1
  export declare const webhookCustomDataOption: {
2
2
  name: string;
3
3
  cliFlag: "webhook-custom-data";
4
- description: (type: "cli" | "ssr") => import("react/jsx-runtime").JSX.Element;
4
+ description: (type: "ssr" | "cli") => import("react/jsx-runtime").JSX.Element;
5
5
  ssrName: "customData";
6
6
  docLink: string;
7
7
  type: Record<string, unknown> | null;
@@ -39,7 +39,14 @@ const serveStatic = async (path, options) => {
39
39
  });
40
40
  });
41
41
  server.on('connection', (conn) => {
42
- const key = conn.remoteAddress + ':' + conn.remotePort;
42
+ let key;
43
+ // Bun 1.0.43 fails on this
44
+ try {
45
+ key = conn.remoteAddress + ':' + conn.remotePort;
46
+ }
47
+ catch (_a) {
48
+ key = ':';
49
+ }
43
50
  connections[key] = conn;
44
51
  conn.on('close', () => {
45
52
  delete connections[key];
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/renderer"
4
4
  },
5
5
  "name": "@remotion/renderer",
6
- "version": "4.0.245",
6
+ "version": "4.0.246",
7
7
  "description": "Render Remotion videos using Node.js or Bun",
8
8
  "main": "dist/index.js",
9
9
  "types": "dist/index.d.ts",
@@ -18,8 +18,8 @@
18
18
  "extract-zip": "2.0.1",
19
19
  "source-map": "^0.8.0-beta.0",
20
20
  "ws": "8.17.1",
21
- "remotion": "4.0.245",
22
- "@remotion/streaming": "4.0.245"
21
+ "remotion": "4.0.246",
22
+ "@remotion/streaming": "4.0.246"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "react": ">=16.8.0",
@@ -33,17 +33,17 @@
33
33
  "react-dom": "19.0.0",
34
34
  "@types/ws": "8.5.10",
35
35
  "eslint": "9.14.0",
36
- "@remotion/example-videos": "4.0.245",
37
- "@remotion/eslint-config-internal": "4.0.245"
36
+ "@remotion/example-videos": "4.0.246",
37
+ "@remotion/eslint-config-internal": "4.0.246"
38
38
  },
39
39
  "optionalDependencies": {
40
- "@remotion/compositor-darwin-arm64": "4.0.245",
41
- "@remotion/compositor-darwin-x64": "4.0.245",
42
- "@remotion/compositor-linux-arm64-musl": "4.0.245",
43
- "@remotion/compositor-linux-arm64-gnu": "4.0.245",
44
- "@remotion/compositor-linux-x64-musl": "4.0.245",
45
- "@remotion/compositor-linux-x64-gnu": "4.0.245",
46
- "@remotion/compositor-win32-x64-msvc": "4.0.245"
40
+ "@remotion/compositor-darwin-arm64": "4.0.246",
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.246",
42
+ "@remotion/compositor-linux-x64-gnu": "4.0.246",
43
+ "@remotion/compositor-linux-arm64-musl": "4.0.246",
44
+ "@remotion/compositor-win32-x64-msvc": "4.0.246",
45
+ "@remotion/compositor-linux-x64-musl": "4.0.246",
46
+ "@remotion/compositor-darwin-x64": "4.0.246"
47
47
  },
48
48
  "keywords": [
49
49
  "remotion",