@remotion/lambda 3.2.13 → 3.2.15

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.
@@ -6,6 +6,9 @@ export declare const planFrameRanges: ({ framesPerLambda, optimization, shouldUs
6
6
  frameRange: [number, number];
7
7
  everyNthFrame: number;
8
8
  }) => {
9
- chunks: [number, number][];
9
+ chunks: [
10
+ number,
11
+ number
12
+ ][];
10
13
  didUseOptimization: boolean;
11
14
  };
@@ -13,7 +13,7 @@ const renderer_2 = require("./renderer");
13
13
  const start_1 = require("./start");
14
14
  const still_1 = require("./still");
15
15
  const handler = async (params, context) => {
16
- process.env.REMOTION_LAMBDA = 'true';
16
+ process.env.__RESERVED_IS_INSIDE_REMOTION_LAMBDA = 'true';
17
17
  const timeoutInMiliseconds = context.getRemainingTimeInMillis();
18
18
  if (!context || !context.invokedFunctionArn) {
19
19
  throw new Error('Lambda function unexpectedly does not have context.invokedFunctionArn');
@@ -1,5 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isInsideLambda = void 0;
4
- const isInsideLambda = () => { var _a; return Boolean(typeof process !== 'undefined' && ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.REMOTION_LAMBDA)); };
4
+ const isInsideLambda = () => {
5
+ var _a;
6
+ return Boolean(typeof process !== 'undefined' &&
7
+ ((_a = process === null || process === void 0 ? void 0 : process.env) === null || _a === void 0 ? void 0 : _a.__RESERVED_IS_INSIDE_REMOTION_LAMBDA));
8
+ };
5
9
  exports.isInsideLambda = isInsideLambda;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.2.13",
3
+ "version": "3.2.15",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -32,12 +32,12 @@
32
32
  "@aws-sdk/client-service-quotas": "3.58.0",
33
33
  "@aws-sdk/lib-storage": "3.58.0",
34
34
  "@aws-sdk/s3-request-presigner": "3.58.0",
35
- "@remotion/bundler": "3.2.13",
36
- "@remotion/cli": "3.2.13",
37
- "@remotion/renderer": "3.2.13",
35
+ "@remotion/bundler": "3.2.15",
36
+ "@remotion/cli": "3.2.15",
37
+ "@remotion/renderer": "3.2.15",
38
38
  "aws-policies": "^1.0.1",
39
39
  "mime-types": "2.1.34",
40
- "remotion": "3.2.13"
40
+ "remotion": "3.2.15"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "react": ">=16.8.0",
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "989d20fc0ace36685c71396847e1b7b7a06d00d7"
65
+ "gitHead": "7346704683815d274733cb3d280157b9ff570773"
66
66
  }
Binary file