@remotion/lambda 4.0.0-alpha14 → 4.0.0-alpha17

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,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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.0-alpha14",
3
+ "version": "4.0.0-alpha17",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -25,10 +25,10 @@
25
25
  "@aws-sdk/s3-request-presigner": "3.338.0",
26
26
  "aws-policies": "^1.0.1",
27
27
  "mime-types": "2.1.34",
28
- "@remotion/bundler": "4.0.0-alpha14",
29
- "@remotion/cli": "4.0.0-alpha14",
30
- "remotion": "4.0.0-alpha14",
31
- "@remotion/renderer": "4.0.0-alpha14"
28
+ "@remotion/bundler": "4.0.0-alpha17",
29
+ "@remotion/cli": "4.0.0-alpha17",
30
+ "@remotion/renderer": "4.0.0-alpha17",
31
+ "remotion": "4.0.0-alpha17"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@jonny/eslint-config": "3.0.266",
@@ -43,11 +43,11 @@
43
43
  "typescript": "4.9.5",
44
44
  "vitest": "0.31.1",
45
45
  "zip-lib": "^0.7.2",
46
- "@remotion/bundler": "4.0.0-alpha14",
47
- "@remotion/compositor-linux-arm64-gnu": "4.0.0-alpha14"
46
+ "@remotion/bundler": "4.0.0-alpha17",
47
+ "@remotion/compositor-linux-arm64-gnu": "4.0.0-alpha17"
48
48
  },
49
49
  "peerDependencies": {
50
- "@remotion/bundler": "4.0.0-alpha14"
50
+ "@remotion/bundler": "4.0.0-alpha17"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
Binary file
@@ -1,2 +0,0 @@
1
- import type { LambdaArchitecture } from '../../shared/validate-architecture';
2
- export declare const getCurrentArchitecture: () => LambdaArchitecture;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getCurrentArchitecture = void 0;
4
- const is_in_lambda_1 = require("../../shared/is-in-lambda");
5
- const getCurrentArchitecture = () => {
6
- if (!(0, is_in_lambda_1.isInsideLambda)()) {
7
- throw new Error('Should not call getCurrentArchitecture() if not inside a lambda function');
8
- }
9
- return process.arch.includes('arm') ? 'arm64' : 'x86_64';
10
- };
11
- exports.getCurrentArchitecture = getCurrentArchitecture;
@@ -1,4 +0,0 @@
1
- declare const validArchitectures: readonly ["arm64", "x86_64"];
2
- export declare type LambdaArchitecture = typeof validArchitectures[number];
3
- export declare const validateArchitecture: (architecture: unknown) => void;
4
- export {};
@@ -1,14 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.validateArchitecture = void 0;
4
- const validArchitectures = ['arm64', 'x86_64'];
5
- const validateArchitecture = (architecture) => {
6
- if (typeof architecture !== 'string') {
7
- throw new TypeError('You must pass an architecture when deploying: One of ' +
8
- validArchitectures.join(', '));
9
- }
10
- if (!validArchitectures.find((a) => a === architecture)) {
11
- throw new TypeError(`You must pass an "architecture" when deploying a function: either "arm64" or "x86_64"`);
12
- }
13
- };
14
- exports.validateArchitecture = validateArchitecture;