@remotion/lambda 3.3.0 → 3.3.1

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.
@@ -115,5 +115,8 @@ const sitesCreateSubcommand = async (args, remotionRoot) => {
115
115
  log_1.Log.info('Deployed to S3!');
116
116
  log_1.Log.info(`Serve URL: ${serveUrl}`);
117
117
  log_1.Log.info(`Site Name: ${siteName}`);
118
+ log_1.Log.info();
119
+ log_1.Log.info(cli_1.CliInternals.chalk.blueBright('ℹ️ If you make changes to your code, you need to redeploy the site. You can overwrite the existing site by running:'));
120
+ log_1.Log.info(cli_1.CliInternals.chalk.blueBright(`npx remotion lambda sites create ${args[0]} --site-name=${siteName}`));
118
121
  };
119
122
  exports.sitesCreateSubcommand = sitesCreateSubcommand;
@@ -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
  };
@@ -148,7 +148,7 @@ const innerLaunchHandler = async (params, options) => {
148
148
  });
149
149
  const chunkCount = Math.ceil(frameCount.length / framesPerLambda);
150
150
  if (chunkCount > constants_1.MAX_FUNCTIONS_PER_RENDER) {
151
- throw new Error(`Too many functions: This render would cause ${chunkCount} functions to spawn. We limit this amount to ${constants_1.MAX_FUNCTIONS_PER_RENDER} functions as more would result in diminishing returns. Values set: frameCount = ${frameCount}, framesPerLambda=${framesPerLambda}. See ${docs_url_1.DOCS_URL}/docs/lambda/concurrency for how this parameter is calculated.`);
151
+ throw new Error(`Too many functions: This render would cause ${chunkCount} functions to spawn. We limit this amount to ${constants_1.MAX_FUNCTIONS_PER_RENDER} functions as more would result in diminishing returns. Values set: frameCount = ${frameCount}, framesPerLambda=${framesPerLambda}. See ${docs_url_1.DOCS_URL}/docs/lambda/concurrency#too-many-functions for help.`);
152
152
  }
153
153
  (0, validate_outname_1.validateOutname)(params.outName, params.codec);
154
154
  (0, validate_privacy_1.validatePrivacy)(params.privacy);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,12 +31,12 @@
31
31
  "@aws-sdk/client-service-quotas": "3.190.0",
32
32
  "@aws-sdk/lib-storage": "3.190.0",
33
33
  "@aws-sdk/s3-request-presigner": "3.190.0",
34
- "@remotion/bundler": "3.3.0",
35
- "@remotion/cli": "3.3.0",
36
- "@remotion/renderer": "3.3.0",
34
+ "@remotion/bundler": "3.3.1",
35
+ "@remotion/cli": "3.3.1",
36
+ "@remotion/renderer": "3.3.1",
37
37
  "aws-policies": "^1.0.1",
38
38
  "mime-types": "2.1.34",
39
- "remotion": "3.3.0"
39
+ "remotion": "3.3.1"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">=16.8.0",
@@ -59,5 +59,5 @@
59
59
  "publishConfig": {
60
60
  "access": "public"
61
61
  },
62
- "gitHead": "29322c95729df0229eecc5f674d019145a783b46"
62
+ "gitHead": "f56a29f8ab19e279e1a9950d3a3ccbb3c8ae42e0"
63
63
  }
Binary file