@remotion/lambda 4.0.199 → 4.0.200

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.
@@ -61,11 +61,11 @@ export declare const internalDeploySite: (args_0: MandatoryParameters & {
61
61
  getValue: ({ commandLine }: {
62
62
  commandLine: Record<string, unknown>;
63
63
  }) => {
64
- value: "error" | "verbose" | "info" | "warn";
64
+ value: "verbose" | "info" | "warn" | "error";
65
65
  source: string;
66
66
  };
67
- setConfig: (newLogLevel: "error" | "verbose" | "info" | "warn") => void;
68
- type: "error" | "verbose" | "info" | "warn";
67
+ setConfig: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
68
+ type: "verbose" | "info" | "warn" | "error";
69
69
  };
70
70
  readonly throwIfSiteExists: {
71
71
  cliFlag: string;
@@ -54,7 +54,7 @@ const findFunctionName = async (logLevel) => {
54
54
  log_1.Log.info(logOptions);
55
55
  log_1.Log.info(logOptions, 'Possible solutions:');
56
56
  log_1.Log.info(logOptions, '- Define using `--function-name` which function you want to use.');
57
- log_1.Log.info(logOptions, `- Delete extraneous lambda functions in your AWS console or using:`);
57
+ log_1.Log.info(logOptions, `- Delete extraneous Lambda functions in your AWS console or using:`);
58
58
  log_1.Log.info(logOptions, ` npx ${constants_1.BINARY_NAME} ${functions_1.FUNCTIONS_COMMAND} ${rm_1.FUNCTIONS_RM_SUBCOMMAND} $(npx ${constants_1.BINARY_NAME} ${functions_1.FUNCTIONS_COMMAND} ${ls_1.FUNCTIONS_LS_SUBCOMMAND} -q) -y`);
59
59
  log_1.Log.info(logOptions);
60
60
  log_1.Log.info(logOptions, `The following functions were found (only showing v${version_1.VERSION}):`);
@@ -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
  };
@@ -1 +1 @@
1
- export declare const getCurrentRegionInFunctionImplementation: () => "us-east-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-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";
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";
@@ -118,7 +118,8 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
118
118
  .map((_, i) => i)
119
119
  .filter((index) => {
120
120
  var _a;
121
- return !((_a = overallProgress.chunks) !== null && _a !== void 0 ? _a : []).find((c) => c === index);
121
+ return (typeof ((_a = overallProgress.chunks) !== null && _a !== void 0 ? _a : []).find((c) => c === index) !==
122
+ 'undefined');
122
123
  })
123
124
  : null;
124
125
  // We add a 20 second buffer for it, since AWS timeshifts can be quite a lot. Once it's 20sec over the limit, we consider it timed out
@@ -1,5 +1,5 @@
1
1
  export declare const LambdaInternals: {
2
- executeCommand: (args: string[], remotionRoot: string, logLevel: "error" | "verbose" | "info" | "warn", implementation: import("@remotion/serverless").ProviderSpecifics<import("./functions/aws-implementation").AwsProvider> | null) => Promise<void>;
2
+ executeCommand: (args: string[], remotionRoot: string, logLevel: "verbose" | "info" | "warn" | "error", implementation: import("@remotion/serverless").ProviderSpecifics<import("./functions/aws-implementation").AwsProvider> | null) => Promise<void>;
3
3
  makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, }: import("./api/make-lambda-payload").InnerRenderMediaOnLambdaInput) => Promise<import("@remotion/serverless/client").ServerlessStartPayload<import("./functions/aws-implementation").AwsProvider>>;
4
4
  getRenderProgressPayload: ({ bucketName, renderId, s3OutputProvider, logLevel, }: import("./client").GetRenderProgressInput) => import("@remotion/serverless/client").ServerlessStatusPayload<import("./functions/aws-implementation").AwsProvider>;
5
5
  makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, }: import("./api/render-still-on-lambda").RenderStillOnLambdaNonNullInput) => Promise<{
@@ -14,7 +14,7 @@ export declare const LambdaInternals: {
14
14
  maxRetries: number;
15
15
  frame: number;
16
16
  privacy: import("@remotion/serverless/client").Privacy;
17
- logLevel: "error" | "verbose" | "info" | "warn";
17
+ logLevel: "verbose" | "info" | "warn" | "error";
18
18
  outName: import("@remotion/serverless/client").OutNameInput<import("./functions/aws-implementation").AwsProvider> | null;
19
19
  timeoutInMilliseconds: number;
20
20
  chromiumOptions: import("@remotion/renderer").ChromiumOptions;
@@ -31,7 +31,7 @@ export declare const LambdaInternals: {
31
31
  internalDeploySite: (args_0: {
32
32
  entryPoint: string;
33
33
  bucketName: string;
34
- region: "us-east-1" | "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-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";
34
+ 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";
35
35
  } & {
36
36
  siteName: string;
37
37
  options: {
@@ -57,11 +57,11 @@ export declare const LambdaInternals: {
57
57
  getValue: ({ commandLine }: {
58
58
  commandLine: Record<string, unknown>;
59
59
  }) => {
60
- value: "error" | "verbose" | "info" | "warn";
60
+ value: "verbose" | "info" | "warn" | "error";
61
61
  source: string;
62
62
  };
63
- setConfig: (newLogLevel: "error" | "verbose" | "info" | "warn") => void;
64
- type: "error" | "verbose" | "info" | "warn";
63
+ setConfig: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
64
+ type: "verbose" | "info" | "warn" | "error";
65
65
  };
66
66
  readonly throwIfSiteExists: {
67
67
  cliFlag: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
4
4
  },
5
5
  "name": "@remotion/lambda",
6
- "version": "4.0.199",
6
+ "version": "4.0.200",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -22,13 +22,13 @@
22
22
  "@aws-sdk/s3-request-presigner": "3.583.0",
23
23
  "mime-types": "2.1.34",
24
24
  "zod": "3.22.3",
25
- "@remotion/cli": "4.0.199",
26
- "@remotion/bundler": "4.0.199",
27
- "@remotion/streaming": "4.0.199",
28
- "@remotion/renderer": "4.0.199",
29
- "remotion": "4.0.199",
30
- "@remotion/serverless": "4.0.199",
31
- "@remotion/studio-server": "4.0.199"
25
+ "@remotion/bundler": "4.0.200",
26
+ "@remotion/renderer": "4.0.200",
27
+ "@remotion/cli": "4.0.200",
28
+ "@remotion/studio-server": "4.0.200",
29
+ "@remotion/streaming": "4.0.200",
30
+ "@remotion/serverless": "4.0.200",
31
+ "remotion": "4.0.200"
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/compositor-linux-arm64-gnu": "4.0.199",
41
- "@remotion/bundler": "4.0.199"
40
+ "@remotion/bundler": "4.0.200",
41
+ "@remotion/compositor-linux-arm64-gnu": "4.0.200"
42
42
  },
43
43
  "peerDependencies": {
44
- "@remotion/bundler": "4.0.199"
44
+ "@remotion/bundler": "4.0.200"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
Binary file