@remotion/lambda 3.3.9 → 3.3.10

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.
@@ -3,8 +3,5 @@ export declare const planFrameRanges: ({ framesPerLambda, frameRange, everyNthFr
3
3
  frameRange: [number, number];
4
4
  everyNthFrame: number;
5
5
  }) => {
6
- chunks: [
7
- number,
8
- number
9
- ][];
6
+ chunks: [number, number][];
10
7
  };
@@ -27,7 +27,7 @@ const get_time_to_finish_1 = require("./get-time-to-finish");
27
27
  const inspect_errors_1 = require("./inspect-errors");
28
28
  const io_1 = require("./io");
29
29
  const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region, memorySizeInMb, timeoutInMilliseconds, customCredentials, }) => {
30
- var _a, _b, _c, _d, _e, _f, _g, _h;
30
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j;
31
31
  const postRenderData = await (0, get_post_render_data_1.getPostRenderData)({
32
32
  bucketName,
33
33
  region,
@@ -240,7 +240,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
240
240
  : null,
241
241
  mostExpensiveFrameRanges: null,
242
242
  timeToEncode: null,
243
- outputSizeInBytes: null,
243
+ outputSizeInBytes: (_j = outputFile === null || outputFile === void 0 ? void 0 : outputFile.size) !== null && _j !== void 0 ? _j : null,
244
244
  };
245
245
  };
246
246
  exports.getProgress = getProgress;
@@ -1,3 +1,5 @@
1
+ /// <reference types="node" />
2
+ /// <reference types="node" />
1
3
  import http from 'http';
2
4
  import https from 'https';
3
5
  import type { EnhancedErrorInfo } from '../functions/helpers/write-lambda-error';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.3.9",
3
+ "version": "3.3.10",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -33,12 +33,12 @@
33
33
  "@aws-sdk/credential-providers": "3.215.0",
34
34
  "@aws-sdk/lib-storage": "3.215.0",
35
35
  "@aws-sdk/s3-request-presigner": "3.215.0",
36
- "@remotion/bundler": "3.3.9",
37
- "@remotion/cli": "3.3.9",
38
- "@remotion/renderer": "3.3.9",
36
+ "@remotion/bundler": "3.3.10",
37
+ "@remotion/cli": "3.3.10",
38
+ "@remotion/renderer": "3.3.10",
39
39
  "aws-policies": "^1.0.1",
40
40
  "mime-types": "2.1.34",
41
- "remotion": "3.3.9"
41
+ "remotion": "3.3.10"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=16.8.0",
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "86269c98522cb7ea280f8283fa6c57885b971b3b"
64
+ "gitHead": "4909df63b9663ecc0294f186d5fe7efd59eee143"
65
65
  }
Binary file