@remotion/lambda 4.0.208 → 4.0.210

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,5 +3,8 @@ export declare const planFrameRanges: ({ framesPerLambda, frameRange, everyNthFr
3
3
  frameRange: [number, number];
4
4
  everyNthFrame: number;
5
5
  }) => {
6
- chunks: [number, number][];
6
+ chunks: [
7
+ number,
8
+ number
9
+ ][];
7
10
  };
@@ -5,4 +5,7 @@ export declare const cleanupProps: <Provider extends CloudProvider<string, Recor
5
5
  inputProps: SerializedInputProps;
6
6
  providerSpecifics: ProviderSpecifics<Provider>;
7
7
  forcePathStyle: boolean;
8
- }) => Promise<[number, number]>;
8
+ }) => Promise<[
9
+ number,
10
+ number
11
+ ]>;
@@ -1 +1 @@
1
- export declare const getCurrentRegionInFunctionImplementation: () => "us-east-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
1
+ export declare const getCurrentRegionInFunctionImplementation: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-south-1" | "ap-east-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "me-south-1" | "sa-east-1";
@@ -119,7 +119,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
119
119
  .map((_, i) => i)
120
120
  .filter((index) => {
121
121
  var _a;
122
- return (typeof ((_a = overallProgress.chunks) !== null && _a !== void 0 ? _a : []).find((c) => c === index) !==
122
+ return (typeof ((_a = overallProgress.chunks) !== null && _a !== void 0 ? _a : []).find((c) => c === index) ===
123
123
  'undefined');
124
124
  })
125
125
  : null;
@@ -32,7 +32,7 @@ export declare const LambdaInternals: {
32
32
  internalDeploySite: (args_0: {
33
33
  entryPoint: string;
34
34
  bucketName: string;
35
- region: "us-east-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
35
+ region: "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-south-1" | "ap-east-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "me-south-1" | "sa-east-1";
36
36
  } & {
37
37
  siteName: string;
38
38
  options: {
@@ -34,16 +34,17 @@ const callLambdaWithStreaming = async (options) => {
34
34
  await callLambdaWithStreamingWithoutRetry(options);
35
35
  }
36
36
  catch (err) {
37
- if (options.retriesRemaining === 0) {
38
- throw err;
39
- }
40
37
  if (!err.message.includes(INVALID_JSON_MESSAGE) &&
41
38
  !err.message.includes(LAMBDA_STREAM_STALL) &&
42
39
  !err.message.includes('aborted')) {
43
40
  throw err;
44
41
  }
42
+ console.error('Retries remaining:', options.retriesRemaining);
43
+ if (options.retriesRemaining === 0) {
44
+ console.error('Throwing error:');
45
+ throw err;
46
+ }
45
47
  console.error(err);
46
- console.error('Retries remaining', options.retriesRemaining);
47
48
  return (0, exports.callLambdaWithStreaming)({
48
49
  ...options,
49
50
  retriesRemaining: options.retriesRemaining - 1,
package/package.json CHANGED
@@ -3,32 +3,32 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
4
4
  },
5
5
  "name": "@remotion/lambda",
6
- "version": "4.0.208",
6
+ "version": "4.0.210",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
10
10
  "author": "Jonny Burger <jonny@remotion.dev>",
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@smithy/abort-controller": "3.0.0",
14
- "@aws-sdk/client-cloudwatch-logs": "3.583.0",
15
- "@aws-sdk/client-iam": "3.583.0",
16
- "@aws-sdk/client-lambda": "3.583.0",
17
- "@aws-sdk/client-s3": "3.583.0",
18
- "@aws-sdk/client-service-quotas": "3.583.0",
19
- "@aws-sdk/client-sts": "3.583.0",
20
- "@aws-sdk/credential-providers": "3.583.0",
21
- "@aws-sdk/lib-storage": "3.583.0",
22
- "@aws-sdk/s3-request-presigner": "3.583.0",
13
+ "@smithy/abort-controller": "3.1.1",
14
+ "@aws-sdk/client-cloudwatch-logs": "3.645.0",
15
+ "@aws-sdk/client-iam": "3.645.0",
16
+ "@aws-sdk/client-lambda": "3.645.0",
17
+ "@aws-sdk/client-s3": "3.645.0",
18
+ "@aws-sdk/client-service-quotas": "3.645.0",
19
+ "@aws-sdk/client-sts": "3.645.0",
20
+ "@aws-sdk/credential-providers": "3.645.0",
21
+ "@aws-sdk/lib-storage": "3.645.0",
22
+ "@aws-sdk/s3-request-presigner": "3.645.0",
23
23
  "mime-types": "2.1.34",
24
24
  "zod": "3.22.3",
25
- "@remotion/renderer": "4.0.208",
26
- "@remotion/bundler": "4.0.208",
27
- "@remotion/cli": "4.0.208",
28
- "@remotion/streaming": "4.0.208",
29
- "@remotion/studio-server": "4.0.208",
30
- "remotion": "4.0.208",
31
- "@remotion/serverless": "4.0.208"
25
+ "@remotion/cli": "4.0.210",
26
+ "@remotion/bundler": "4.0.210",
27
+ "@remotion/renderer": "4.0.210",
28
+ "@remotion/studio-server": "4.0.210",
29
+ "remotion": "4.0.210",
30
+ "@remotion/streaming": "4.0.210",
31
+ "@remotion/serverless": "4.0.210"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@types/mime-types": "2.1.1",
@@ -37,11 +37,11 @@
37
37
  "pureimage": "0.4.13",
38
38
  "vitest": "0.31.1",
39
39
  "zip-lib": "^0.7.2",
40
- "@remotion/bundler": "4.0.208",
41
- "@remotion/compositor-linux-arm64-gnu": "4.0.208"
40
+ "@remotion/bundler": "4.0.210",
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.210"
42
42
  },
43
43
  "peerDependencies": {
44
- "@remotion/bundler": "4.0.208"
44
+ "@remotion/bundler": "4.0.210"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
Binary file