@remotion/serverless-client 4.0.366 → 4.0.368
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/constants.d.ts +5 -5
- package/dist/esm/index.mjs +11 -2
- package/dist/index.d.ts +2 -1
- package/package.json +5 -5
package/dist/constants.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const COMMAND_NOT_FOUND = "Command not found";
|
|
2
|
-
import type { AudioCodec, ChromiumOptions, ColorSpace, FrameRange, LogLevel, PixelFormat,
|
|
2
|
+
import type { AudioCodec, ChromiumOptions, ColorSpace, FrameRange, LogLevel, PixelFormat, StillImageFormat, ToOptions, VideoImageFormat, X264Preset } from '@remotion/renderer';
|
|
3
3
|
import type { BrowserSafeApis } from '@remotion/renderer/client';
|
|
4
|
-
import type { DownloadBehavior } from 'remotion';
|
|
4
|
+
import type { _InternalTypes, DownloadBehavior } from 'remotion';
|
|
5
5
|
import type { ExpensiveChunk } from './most-expensive-chunks';
|
|
6
6
|
import type { ChunkRetry, CloudProvider, ReceivedArtifact } from './types';
|
|
7
7
|
import type { EnhancedErrorInfo } from './write-error-to-storage';
|
|
@@ -78,7 +78,7 @@ export type ServerlessStartPayload<Provider extends CloudProvider> = {
|
|
|
78
78
|
crf: number | undefined | null;
|
|
79
79
|
envVariables: Record<string, string> | undefined;
|
|
80
80
|
pixelFormat: PixelFormat | undefined | null;
|
|
81
|
-
proResProfile: ProResProfile | undefined | null;
|
|
81
|
+
proResProfile: _InternalTypes['ProResProfile'] | undefined | null;
|
|
82
82
|
x264Preset: X264Preset | null;
|
|
83
83
|
jpegQuality: number | undefined;
|
|
84
84
|
maxRetries: number;
|
|
@@ -137,7 +137,7 @@ export type ServerlessPayloads<Provider extends CloudProvider> = {
|
|
|
137
137
|
crf: number | null;
|
|
138
138
|
envVariables: Record<string, string> | undefined;
|
|
139
139
|
pixelFormat: PixelFormat | null;
|
|
140
|
-
proResProfile: ProResProfile | null;
|
|
140
|
+
proResProfile: _InternalTypes['ProResProfile'] | null;
|
|
141
141
|
x264Preset: X264Preset | null;
|
|
142
142
|
jpegQuality: number | undefined;
|
|
143
143
|
maxRetries: number;
|
|
@@ -191,7 +191,7 @@ export type ServerlessPayloads<Provider extends CloudProvider> = {
|
|
|
191
191
|
imageFormat: VideoImageFormat;
|
|
192
192
|
codec: ServerlessCodec;
|
|
193
193
|
crf: number | null;
|
|
194
|
-
proResProfile: ProResProfile | null;
|
|
194
|
+
proResProfile: _InternalTypes['ProResProfile'] | null;
|
|
195
195
|
x264Preset: X264Preset | null;
|
|
196
196
|
pixelFormat: PixelFormat | null;
|
|
197
197
|
jpegQuality: number | undefined;
|
package/dist/esm/index.mjs
CHANGED
|
@@ -484,6 +484,14 @@ function processColor(color) {
|
|
|
484
484
|
const normalizedColor = normalizeColor(color);
|
|
485
485
|
return (normalizedColor << 24 | normalizedColor >>> 8) >>> 0;
|
|
486
486
|
}
|
|
487
|
+
var proResProfileOptions = [
|
|
488
|
+
"4444-xq",
|
|
489
|
+
"4444",
|
|
490
|
+
"hq",
|
|
491
|
+
"standard",
|
|
492
|
+
"light",
|
|
493
|
+
"proxy"
|
|
494
|
+
];
|
|
487
495
|
var ENABLE_V5_BREAKING_CHANGES = false;
|
|
488
496
|
var validateFrame = ({
|
|
489
497
|
allowFloats,
|
|
@@ -644,7 +652,8 @@ var NoReactInternals = {
|
|
|
644
652
|
colorNames,
|
|
645
653
|
DATE_TOKEN,
|
|
646
654
|
FILE_TOKEN,
|
|
647
|
-
validateCodec
|
|
655
|
+
validateCodec,
|
|
656
|
+
proResProfileOptions
|
|
648
657
|
};
|
|
649
658
|
|
|
650
659
|
// src/constants.ts
|
|
@@ -833,7 +842,7 @@ var validateFramesPerFunction = ({
|
|
|
833
842
|
import * as tty from "tty";
|
|
834
843
|
|
|
835
844
|
// ../core/dist/esm/version.mjs
|
|
836
|
-
var VERSION = "4.0.
|
|
845
|
+
var VERSION = "4.0.368";
|
|
837
846
|
|
|
838
847
|
// ../renderer/dist/esm/error-handling.mjs
|
|
839
848
|
var isColorSupported = () => {
|
package/dist/index.d.ts
CHANGED
|
@@ -5,10 +5,11 @@ export { GenericRenderProgress } from './render-progress';
|
|
|
5
5
|
export { deserializeArtifact, serializeArtifact, SerializedArtifact, } from './serialize-artifact';
|
|
6
6
|
export { validateDownloadBehavior } from './validate-download-behavior';
|
|
7
7
|
export { validateFramesPerFunction } from './validate-frames-per-function';
|
|
8
|
-
export type { AudioCodec, ChromiumOptions, ColorSpace, FrameRange, LogLevel, PixelFormat,
|
|
8
|
+
export type { AudioCodec, ChromiumOptions, ColorSpace, FrameRange, LogLevel, PixelFormat, StillImageFormat, ToOptions, VideoImageFormat, X264Preset, } from '@remotion/renderer';
|
|
9
9
|
export type { BrowserSafeApis } from '@remotion/renderer/client';
|
|
10
10
|
export { wrapWithErrorHandling } from '@remotion/renderer/error-handling';
|
|
11
11
|
export { makeStreamer, makeStreamPayloadMessage } from '@remotion/streaming';
|
|
12
|
+
export type { _InternalTypes } from 'remotion';
|
|
12
13
|
export type { DownloadBehavior, VideoConfig } from 'remotion/no-react';
|
|
13
14
|
export { VERSION } from 'remotion/version';
|
|
14
15
|
export { Await } from './await';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/serverless-client"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/serverless-client",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.368",
|
|
7
7
|
"main": "dist",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"remotion": "4.0.
|
|
27
|
-
"@remotion/streaming": "4.0.
|
|
28
|
-
"@remotion/renderer": "4.0.
|
|
29
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
26
|
+
"remotion": "4.0.368",
|
|
27
|
+
"@remotion/streaming": "4.0.368",
|
|
28
|
+
"@remotion/renderer": "4.0.368",
|
|
29
|
+
"@remotion/eslint-config-internal": "4.0.368",
|
|
30
30
|
"eslint": "9.19.0"
|
|
31
31
|
},
|
|
32
32
|
"exports": {
|