@remotion/lambda 4.0.0-alpha11 → 4.0.0-alpha12
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.
- package/package.json +8 -8
- package/remotionlambda-arm64.zip +0 -0
- package/dist/functions/helpers/get-current-architecture.d.ts +0 -2
- package/dist/functions/helpers/get-current-architecture.js +0 -11
- package/dist/shared/validate-architecture.d.ts +0 -4
- package/dist/shared/validate-architecture.js +0 -14
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-alpha12",
|
|
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-
|
|
29
|
-
"@remotion/
|
|
30
|
-
"
|
|
31
|
-
"remotion": "4.0.0-
|
|
28
|
+
"@remotion/bundler": "4.0.0-alpha12",
|
|
29
|
+
"@remotion/renderer": "4.0.0-alpha12",
|
|
30
|
+
"remotion": "4.0.0-alpha12",
|
|
31
|
+
"@remotion/cli": "4.0.0-alpha12"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@jonny/eslint-config": "3.0.266",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"typescript": "^4.7.0",
|
|
44
44
|
"vitest": "^0.24.3",
|
|
45
45
|
"zip-lib": "^0.7.2",
|
|
46
|
-
"@remotion/bundler": "4.0.0-
|
|
47
|
-
"@remotion/compositor-linux-arm64-gnu": "4.0.0-
|
|
46
|
+
"@remotion/bundler": "4.0.0-alpha12",
|
|
47
|
+
"@remotion/compositor-linux-arm64-gnu": "4.0.0-alpha12"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@remotion/bundler": "4.0.0-
|
|
50
|
+
"@remotion/bundler": "4.0.0-alpha12"
|
|
51
51
|
},
|
|
52
52
|
"publishConfig": {
|
|
53
53
|
"access": "public"
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|
|
@@ -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,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;
|