@remotion/lambda 4.0.417 → 4.0.419

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.
@@ -8,7 +8,7 @@ const serverless_1 = require("@remotion/serverless");
8
8
  * @see [Documentation](https://remotion.dev/docs/cloudrun/getorcreatebucket)
9
9
  */
10
10
  const getOrCreateBucket = (options) => {
11
- var _a, _b, _c;
11
+ var _a, _b, _c, _d;
12
12
  return (0, serverless_1.internalGetOrCreateBucket)({
13
13
  region: options.region,
14
14
  enableFolderExpiry: (_a = options.enableFolderExpiry) !== null && _a !== void 0 ? _a : null,
@@ -17,6 +17,7 @@ const getOrCreateBucket = (options) => {
17
17
  forcePathStyle: false,
18
18
  skipPutAcl: false,
19
19
  requestHandler: (_c = options.requestHandler) !== null && _c !== void 0 ? _c : null,
20
+ logLevel: (_d = options.logLevel) !== null && _d !== void 0 ? _d : 'info',
20
21
  });
21
22
  };
22
23
  exports.getOrCreateBucket = getOrCreateBucket;
@@ -38,6 +38,7 @@ exports.requiredPermissions = [
38
38
  's3:DeleteBucket',
39
39
  's3:PutBucketOwnershipControls',
40
40
  's3:PutBucketPublicAccessBlock',
41
+ 's3:PutBucketPolicy',
41
42
  's3:PutLifecycleConfiguration',
42
43
  ],
43
44
  resource: [`arn:aws:s3:::${constants_1.REMOTION_BUCKET_PREFIX}*`],
@@ -87,6 +87,7 @@ const sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementatio
87
87
  forcePathStyle: false,
88
88
  skipPutAcl: args_1.parsedLambdaCli.privacy === 'no-acl',
89
89
  requestHandler: null,
90
+ logLevel,
90
91
  })).bucketName;
91
92
  multiProgress.bucketProgress.doneIn = Date.now() - bucketStart;
92
93
  updateProgress(false);
@@ -34,6 +34,7 @@ const sitesRmSubcommand = async (args, logLevel, implementation) => {
34
34
  forcePathStyle: false,
35
35
  skipPutAcl: false,
36
36
  requestHandler: null,
37
+ logLevel,
37
38
  })).bucketName;
38
39
  for (const siteName of args) {
39
40
  const site = deployedSites.sites.find((s) => s.id === siteName.trim());
@@ -24,6 +24,7 @@ const sitesRmallSubcommand = async (logLevel, implementation) => {
24
24
  forcePathStyle: false,
25
25
  skipPutAcl: false,
26
26
  requestHandler: null,
27
+ logLevel,
27
28
  })).bucketName;
28
29
  for (const site of deployedSites.sites) {
29
30
  if (!(await (0, confirm_1.confirmCli)({
@@ -8604,7 +8604,7 @@ var require_package = __commonJS((exports, module) => {
8604
8604
  url: "https://github.com/remotion-dev/remotion/tree/main/packages/lambda"
8605
8605
  },
8606
8606
  name: "@remotion/lambda",
8607
- version: "4.0.417",
8607
+ version: "4.0.419",
8608
8608
  description: "Render Remotion videos on AWS Lambda",
8609
8609
  main: "dist/index.js",
8610
8610
  sideEffects: false,
@@ -9489,6 +9489,7 @@ var requiredPermissions = [
9489
9489
  "s3:DeleteBucket",
9490
9490
  "s3:PutBucketOwnershipControls",
9491
9491
  "s3:PutBucketPublicAccessBlock",
9492
+ "s3:PutBucketPolicy",
9492
9493
  "s3:PutLifecycleConfiguration"
9493
9494
  ],
9494
9495
  resource: [`arn:aws:s3:::${REMOTION_BUCKET_PREFIX2}*`]
@@ -10448,7 +10449,8 @@ var getOrCreateBucket = (options) => {
10448
10449
  providerSpecifics: LambdaClientInternals10.awsImplementation,
10449
10450
  forcePathStyle: false,
10450
10451
  skipPutAcl: false,
10451
- requestHandler: options.requestHandler ?? null
10452
+ requestHandler: options.requestHandler ?? null,
10453
+ logLevel: options.logLevel ?? "info"
10452
10454
  });
10453
10455
  };
10454
10456
 
@@ -12189,7 +12191,8 @@ var sitesCreateSubcommand = async (args, remotionRoot, logLevel, implementation)
12189
12191
  providerSpecifics: implementation,
12190
12192
  forcePathStyle: false,
12191
12193
  skipPutAcl: parsedLambdaCli.privacy === "no-acl",
12192
- requestHandler: null
12194
+ requestHandler: null,
12195
+ logLevel
12193
12196
  })).bucketName;
12194
12197
  multiProgress.bucketProgress.doneIn = Date.now() - bucketStart;
12195
12198
  updateProgress(false);
@@ -12379,7 +12382,8 @@ var sitesRmSubcommand = async (args, logLevel, implementation) => {
12379
12382
  providerSpecifics: implementation,
12380
12383
  forcePathStyle: false,
12381
12384
  skipPutAcl: false,
12382
- requestHandler: null
12385
+ requestHandler: null,
12386
+ logLevel
12383
12387
  })).bucketName;
12384
12388
  for (const siteName of args) {
12385
12389
  const site = deployedSites.sites.find((s) => s.id === siteName.trim());
@@ -12422,7 +12426,8 @@ var sitesRmallSubcommand = async (logLevel, implementation) => {
12422
12426
  providerSpecifics: implementation,
12423
12427
  forcePathStyle: false,
12424
12428
  skipPutAcl: false,
12425
- requestHandler: null
12429
+ requestHandler: null,
12430
+ logLevel
12426
12431
  })).bucketName;
12427
12432
  for (const site of deployedSites.sites) {
12428
12433
  if (!await confirmCli({
@@ -86,6 +86,7 @@ var requiredPermissions = [
86
86
  "s3:DeleteBucket",
87
87
  "s3:PutBucketOwnershipControls",
88
88
  "s3:PutBucketPublicAccessBlock",
89
+ "s3:PutBucketPolicy",
89
90
  "s3:PutLifecycleConfiguration"
90
91
  ],
91
92
  resource: [`arn:aws:s3:::${REMOTION_BUCKET_PREFIX2}*`]
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.417",
6
+ "version": "4.0.419",
7
7
  "description": "Render Remotion videos on AWS Lambda",
8
8
  "main": "dist/index.js",
9
9
  "sideEffects": false,
@@ -28,22 +28,22 @@
28
28
  "@aws-sdk/client-cloudwatch-logs": "3.936.0",
29
29
  "@aws-sdk/client-service-quotas": "3.936.0",
30
30
  "@aws-sdk/lib-storage": "3.936.0",
31
- "@remotion/bundler": "4.0.417",
32
- "@remotion/cli": "4.0.417",
33
- "@remotion/lambda-client": "4.0.417",
34
- "@remotion/renderer": "4.0.417",
35
- "@remotion/serverless": "4.0.417",
36
- "@remotion/streaming": "4.0.417",
31
+ "@remotion/bundler": "4.0.419",
32
+ "@remotion/cli": "4.0.419",
33
+ "@remotion/lambda-client": "4.0.419",
34
+ "@remotion/renderer": "4.0.419",
35
+ "@remotion/serverless": "4.0.419",
36
+ "@remotion/streaming": "4.0.419",
37
37
  "@smithy/abort-controller": "4.0.1",
38
- "remotion": "4.0.417",
38
+ "remotion": "4.0.419",
39
39
  "zod": "3.22.3"
40
40
  },
41
41
  "devDependencies": {
42
- "@remotion/bundler": "4.0.417",
42
+ "@remotion/bundler": "4.0.419",
43
43
  "@types/express": "^5.0.0",
44
44
  "express": "4.21.0",
45
- "@remotion/compositor-linux-arm64-gnu": "4.0.417",
46
- "@remotion/eslint-config-internal": "4.0.417",
45
+ "@remotion/compositor-linux-arm64-gnu": "4.0.419",
46
+ "@remotion/eslint-config-internal": "4.0.419",
47
47
  "mime-types": "2.1.34",
48
48
  "@types/mime-types": "2.1.1",
49
49
  "@types/minimist": "1.2.2",
@@ -54,7 +54,7 @@
54
54
  "@types/node": "20.12.14"
55
55
  },
56
56
  "peerDependencies": {
57
- "@remotion/bundler": "4.0.417"
57
+ "@remotion/bundler": "4.0.419"
58
58
  },
59
59
  "publishConfig": {
60
60
  "access": "public"
Binary file