@remotion/lambda 4.0.0-fastlambda.29 → 4.0.0-fastlambda.33

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.
@@ -20,6 +20,7 @@ const waitForLaunched = () => {
20
20
  });
21
21
  };
22
22
  const getBrowserInstance = async (shouldDumpIo, chromiumOptions) => {
23
+ var _a;
23
24
  if (launching) {
24
25
  await waitForLaunched();
25
26
  if (!_browserInstance) {
@@ -33,8 +34,9 @@ const getBrowserInstance = async (shouldDumpIo, chromiumOptions) => {
33
34
  launching = true;
34
35
  const execPath = await (0, get_chromium_executable_path_1.executablePath)();
35
36
  const actualChromiumOptions = {
36
- gl: 'swangle',
37
37
  ...chromiumOptions,
38
+ // Override the `null` value, which might come from CLI with swANGLE
39
+ gl: (_a = chromiumOptions.gl) !== null && _a !== void 0 ? _a : 'swangle',
38
40
  };
39
41
  _browserInstance = await (0, renderer_1.openBrowser)('chrome', {
40
42
  browserExecutable: execPath,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.0-fastlambda.29+3a8167804",
3
+ "version": "4.0.0-fastlambda.33+c985281f2",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,14 +31,14 @@
31
31
  "@aws-sdk/client-service-quotas": "3.58.0",
32
32
  "@aws-sdk/lib-storage": "3.58.0",
33
33
  "@aws-sdk/s3-request-presigner": "3.58.0",
34
- "@remotion/bundler": "4.0.0-fastlambda.29+3a8167804",
35
- "@remotion/cli": "4.0.0-fastlambda.29+3a8167804",
36
- "@remotion/renderer": "4.0.0-fastlambda.29+3a8167804",
34
+ "@remotion/bundler": "4.0.0-fastlambda.33+c985281f2",
35
+ "@remotion/cli": "4.0.0-fastlambda.33+c985281f2",
36
+ "@remotion/renderer": "4.0.0-fastlambda.33+c985281f2",
37
37
  "aws-policies": "^1.0.1",
38
38
  "dotenv": "^10.0.0",
39
39
  "mime-types": "2.1.34",
40
40
  "minimist": "1.2.6",
41
- "remotion": "4.0.0-fastlambda.29+3a8167804"
41
+ "remotion": "4.0.0-fastlambda.33+c985281f2"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=16.8.0",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "3a8167804f7d5cafe0894f1751b153a2f1de9c16"
67
+ "gitHead": "c985281f2560018c03250627744290454472c0dd"
68
68
  }
Binary file