@remotion/lambda 3.0.9 → 3.0.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.
@@ -1,6 +1,3 @@
1
1
  import { TimingProfile } from './types';
2
- export declare const getFrameRangesFromProfile: (profile: TimingProfile) => [
3
- number,
4
- number
5
- ][];
2
+ export declare const getFrameRangesFromProfile: (profile: TimingProfile) => [number, number][];
6
3
  export declare const sortProfileByFrameRanges: (profile: TimingProfile) => import("./types").ChunkTimingData[];
@@ -1,15 +1,9 @@
1
1
  import { TimingProfile } from './types';
2
2
  export declare const assignFrameToOther: ({ frameRanges, fromChunk, toChunk, framesToShift, }: {
3
- frameRanges: [
4
- number,
5
- number
6
- ][];
3
+ frameRanges: [number, number][];
7
4
  fromChunk: number;
8
5
  toChunk: number;
9
6
  framesToShift: number;
10
- }) => [
11
- number,
12
- number
13
- ][];
7
+ }) => [number, number][];
14
8
  export declare const optimizeProfile: (_profile: TimingProfile) => TimingProfile;
15
9
  export declare const optimizeProfileRecursively: (profile: TimingProfile, amount: number) => TimingProfile;
@@ -6,9 +6,6 @@ export declare const planFrameRanges: ({ chunkCount, framesPerLambda, optimizati
6
6
  shouldUseOptimization: boolean;
7
7
  frameRange: [number, number];
8
8
  }) => {
9
- chunks: [
10
- number,
11
- number
12
- ][];
9
+ chunks: [number, number][];
13
10
  didUseOptimization: boolean;
14
11
  };
@@ -3,8 +3,5 @@ export declare const getTimingForFrame: (profile: TimingProfile, frame: number)
3
3
  export declare const getSimulatedTimingForFrameRange: (profile: TimingProfile, frameRange: [number, number]) => ChunkTimingData['timings'];
4
4
  export declare const simulateFrameRanges: ({ profile, newFrameRanges, }: {
5
5
  profile: TimingProfile;
6
- newFrameRanges: [
7
- number,
8
- number
9
- ][];
6
+ newFrameRanges: [number, number][];
10
7
  }) => TimingProfile;
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getProgress = void 0;
4
4
  const remotion_1 = require("remotion");
5
5
  const constants_1 = require("../../shared/constants");
6
+ const docs_url_1 = require("../../shared/docs-url");
6
7
  const calculate_chunk_times_1 = require("./calculate-chunk-times");
7
8
  const calculate_price_from_bucket_1 = require("./calculate-price-from-bucket");
8
9
  const expected_out_name_1 = require("./expected-out-name");
@@ -155,7 +156,7 @@ const getProgress = async ({ bucketName, renderId, expectedBucketOwner, region,
155
156
  ? {
156
157
  attempt: 1,
157
158
  chunk: null,
158
- explanation: `The main function timed out after ${timeoutInMiliseconds}ms. Consider increasing the timeout of your function.`,
159
+ explanation: `The main function timed out after ${timeoutInMiliseconds}ms. Consider increasing the timeout of your function. You can use the "--timeout" parameter when deploying a function via CLI, or the "timeoutInSeconds" parameter when using the deployFunction API. ${docs_url_1.DOCS_URL}/docs/lambda/cli/functions#deploy`,
159
160
  frame: null,
160
161
  isFatal: true,
161
162
  s3Location: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "3.0.9",
3
+ "version": "3.0.10",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -31,14 +31,14 @@
31
31
  "@aws-sdk/client-service-quotas": "3.58.0",
32
32
  "@aws-sdk/lib-storage": "3.58.0",
33
33
  "@aws-sdk/s3-request-presigner": "3.58.0",
34
- "@remotion/bundler": "3.0.9",
35
- "@remotion/cli": "3.0.9",
36
- "@remotion/renderer": "3.0.9",
34
+ "@remotion/bundler": "3.0.10",
35
+ "@remotion/cli": "3.0.10",
36
+ "@remotion/renderer": "3.0.10",
37
37
  "aws-policies": "^1.0.1",
38
38
  "dotenv": "^10.0.0",
39
39
  "mime-types": "2.1.34",
40
40
  "minimist": "1.2.6",
41
- "remotion": "3.0.9"
41
+ "remotion": "3.0.10"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": ">=16.8.0",
@@ -64,5 +64,5 @@
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
- "gitHead": "46fcf0f5b12f2ba861eac423a2891ef38242ceeb"
67
+ "gitHead": "3ae18de4dd2dda522e37a04c0a5c225f2a94e3a1"
68
68
  }
Binary file