remotion 3.3.37 → 3.3.39
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/config.d.ts +27 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
package/dist/config.d.ts
CHANGED
|
@@ -12,7 +12,11 @@ declare type FfmpegExecutable = string | null;
|
|
|
12
12
|
declare type Loop = number | null;
|
|
13
13
|
declare type CodecOrUndefined = 'h264' | 'h265' | 'vp8' | 'vp9' | 'mp3' | 'aac' | 'wav' | 'prores' | 'h264-mkv' | 'gif' | undefined;
|
|
14
14
|
declare type Crf = number | undefined;
|
|
15
|
-
|
|
15
|
+
declare type FlatConfig = ObjectConfig['Bundling'] & ObjectConfig['Log'] & ObjectConfig['Preview'] & ObjectConfig['Puppeteer'] & ObjectConfig['Output'] & ObjectConfig['Rendering'];
|
|
16
|
+
declare type ObjectConfig = {
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated New flat config format: You can now replace `Config.Preview.` with `Config.`
|
|
19
|
+
*/
|
|
16
20
|
readonly Preview: {
|
|
17
21
|
/**
|
|
18
22
|
* Change the maximum amount of tracks that are shown in the timeline.
|
|
@@ -46,6 +50,9 @@ export declare type ConfigType = {
|
|
|
46
50
|
*/
|
|
47
51
|
readonly setShouldOpenBrowser: (should: boolean) => void;
|
|
48
52
|
};
|
|
53
|
+
/**
|
|
54
|
+
* @deprecated New flat config format: You can now replace `Config.Bundling.` with `Config.`
|
|
55
|
+
*/
|
|
49
56
|
readonly Bundling: {
|
|
50
57
|
/**
|
|
51
58
|
* Specify the entry point so you don't have to specify it in the
|
|
@@ -76,6 +83,9 @@ export declare type ConfigType = {
|
|
|
76
83
|
*/
|
|
77
84
|
readonly setPublicDir: (publicDir: string | null) => void;
|
|
78
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* @deprecated New flat config format: You can now replace `Config.Log.` with `Config.`
|
|
88
|
+
*/
|
|
79
89
|
readonly Log: {
|
|
80
90
|
/**
|
|
81
91
|
* Set the log level.
|
|
@@ -86,6 +96,9 @@ export declare type ConfigType = {
|
|
|
86
96
|
*/
|
|
87
97
|
readonly setLevel: (newLogLevel: 'verbose' | 'info' | 'warn' | 'error') => void;
|
|
88
98
|
};
|
|
99
|
+
/**
|
|
100
|
+
* @deprecated New flat config format: You can now replace `Config.Puppeteer.` with `Config.`
|
|
101
|
+
*/
|
|
89
102
|
readonly Puppeteer: {
|
|
90
103
|
/**
|
|
91
104
|
* Specify executable path for the browser to use.
|
|
@@ -96,6 +109,12 @@ export declare type ConfigType = {
|
|
|
96
109
|
* Set how many milliseconds a frame may take to render before it times out.
|
|
97
110
|
* Default: `30000`
|
|
98
111
|
*/
|
|
112
|
+
readonly setDelayRenderTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
|
|
113
|
+
/**
|
|
114
|
+
* @deprecated Renamed to `setDelayRenderTimeoutInMilliseconds`.
|
|
115
|
+
* Set how many milliseconds a frame may take to render before it times out.
|
|
116
|
+
* Default: `30000`
|
|
117
|
+
*/
|
|
99
118
|
readonly setTimeoutInMilliseconds: (newPuppeteerTimeout: number) => void;
|
|
100
119
|
/**
|
|
101
120
|
* Setting deciding whether to disable CORS and other Chrome security features.
|
|
@@ -118,6 +137,9 @@ export declare type ConfigType = {
|
|
|
118
137
|
*/
|
|
119
138
|
readonly setChromiumOpenGlRenderer: (renderer: 'swangle' | 'angle' | 'egl' | 'swiftshader') => void;
|
|
120
139
|
};
|
|
140
|
+
/**
|
|
141
|
+
* @deprecated New flat config format: You can now replace `Config.Rendering.` with `Config.`
|
|
142
|
+
*/
|
|
121
143
|
readonly Rendering: {
|
|
122
144
|
/**
|
|
123
145
|
* Set a custom location for a .env file.
|
|
@@ -184,6 +206,9 @@ export declare type ConfigType = {
|
|
|
184
206
|
*/
|
|
185
207
|
readonly setEnforceAudioTrack: (enforceAudioTrack: boolean) => void;
|
|
186
208
|
};
|
|
209
|
+
/**
|
|
210
|
+
* @deprecated New flat config format: You can now replace `Config.Output.` with `Config.`
|
|
211
|
+
*/
|
|
187
212
|
readonly Output: {
|
|
188
213
|
/**
|
|
189
214
|
* Set the output file location string. Default: `out/{composition}.{codec}`
|
|
@@ -254,6 +279,7 @@ export declare type ConfigType = {
|
|
|
254
279
|
readonly setVideoBitrate: (bitrate: string | null) => void;
|
|
255
280
|
};
|
|
256
281
|
};
|
|
282
|
+
export declare type ConfigType = ObjectConfig & FlatConfig;
|
|
257
283
|
export type { Concurrency, WebpackConfiguration, WebpackOverrideFn };
|
|
258
284
|
export declare const Config: ConfigType;
|
|
259
285
|
export declare const enableLegacyRemotionConfig: () => void;
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.3.
|
|
1
|
+
export declare const VERSION = "3.3.39";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "remotion",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.39",
|
|
4
4
|
"description": "Render videos in React",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "5a07260074fe3a6db2cdba0001503c665951414d"
|
|
69
69
|
}
|