remotion 3.3.10 → 3.3.11

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > remotion@3.3.9 build /Users/jonathanburger/remotion/packages/core
2
+ > remotion@3.3.10 build /Users/jonathanburger/remotion/packages/core
3
3
  > tsc -d
4
4
 
package/dist/config.d.ts CHANGED
@@ -32,6 +32,13 @@ export declare type ConfigType = {
32
32
  * @default 0
33
33
  */
34
34
  readonly setNumberOfSharedAudioTags: (numberOfAudioTags: number) => void;
35
+ /**
36
+ * Enable Webpack polling instead of file system listeners for hot reloading in the preview.
37
+ * This is useful if you are using a remote directory or a virtual machine.
38
+ * @param interval
39
+ * @default null
40
+ */
41
+ readonly setWebpackPollingInMilliseconds: (interval: number | null) => void;
35
42
  };
36
43
  readonly Bundling: {
37
44
  /**
@@ -99,6 +106,11 @@ export declare type ConfigType = {
99
106
  * Default: true
100
107
  */
101
108
  readonly setChromiumHeadlessMode: (should: boolean) => void;
109
+ /**
110
+ * If true, your installed Chrome extensions will be enabled.
111
+ * Default: false
112
+ */
113
+ readonly setEnableChromiumExtensions: (should: boolean) => void;
102
114
  /**
103
115
  * Set the OpenGL rendering backend for Chrome. Possible values: 'egl', 'angle', 'swiftshader' and 'swangle'.
104
116
  * Default: 'swangle' in Lambda, null elsewhere.
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "3.3.10";
1
+ export declare const VERSION = "3.3.11";
package/dist/version.js CHANGED
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Automatically generated on publish
5
- exports.VERSION = '3.3.10';
5
+ exports.VERSION = '3.3.11';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remotion",
3
- "version": "3.3.10",
3
+ "version": "3.3.11",
4
4
  "description": "Render videos in React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -55,5 +55,5 @@
55
55
  "publishConfig": {
56
56
  "access": "public"
57
57
  },
58
- "gitHead": "4909df63b9663ecc0294f186d5fe7efd59eee143"
58
+ "gitHead": "08404196c439c2bf1f06bbb7a99a6fd84d5158e1"
59
59
  }
@@ -1,2 +0,0 @@
1
- import type { StaticFile } from './static-file';
2
- export declare const getStaticFiles: () => StaticFile[];
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getStaticFiles = void 0;
4
- let warnedServer = false;
5
- let warnedPlayer = false;
6
- const warnServerOnce = () => {
7
- if (warnedServer) {
8
- return;
9
- }
10
- warnedServer = true;
11
- console.warn('Called getStaticFiles() on the server. The API is only available in the browser. An empty array was returned.');
12
- };
13
- const warnPlayerOnce = () => {
14
- if (warnedPlayer) {
15
- return;
16
- }
17
- warnedPlayer = true;
18
- console.warn('Called getStaticFiles() while using the Remotion Player. The API is only available while using the Remotion Preview. An empty array was returned.');
19
- };
20
- const getStaticFiles = () => {
21
- if (typeof document === 'undefined') {
22
- warnServerOnce();
23
- return [];
24
- }
25
- if (window.remotion_isPlayer) {
26
- warnPlayerOnce();
27
- return [];
28
- }
29
- return window.remotion_staticFiles;
30
- };
31
- exports.getStaticFiles = getStaticFiles;