@remotion/lambda 3.0.0-lambda.201 → 3.0.0-lambda.202
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-credentials.d.ts","sourceRoot":"","sources":["../../src/shared/check-credentials.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"check-credentials.d.ts","sourceRoot":"","sources":["../../src/shared/check-credentials.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,gBAAgB,YAc5B,CAAC"}
|
|
@@ -5,10 +5,12 @@ const docs_url_1 = require("./docs-url");
|
|
|
5
5
|
const messageForVariable = (variable) => `You have tried to call a Remotion Lambda function, but have not set the environment variable ${variable}. Please refer to the Remotion Lambda docs (${docs_url_1.DOCS_URL}/docs/lambda/setup) to see how to generate the credentials for your AWS account and then set the environment variables. Environment variables from a '.env' file are not automatically read if you are calling the Node.JS APIs, in that case you need to read the .env file yourself using the 'dotenv' package.`;
|
|
6
6
|
// TODO: Could better differentiate between CLI and Node.JS acccess.
|
|
7
7
|
const checkCredentials = () => {
|
|
8
|
-
if (!process.env.AWS_ACCESS_KEY_ID
|
|
8
|
+
if (!process.env.AWS_ACCESS_KEY_ID &&
|
|
9
|
+
!process.env.REMOTION_AWS_ACCESS_KEY_ID) {
|
|
9
10
|
throw new Error(messageForVariable('AWS_ACCESS_KEY_ID'));
|
|
10
11
|
}
|
|
11
|
-
if (!process.env.AWS_SECRET_ACCESS_KEY
|
|
12
|
+
if (!process.env.AWS_SECRET_ACCESS_KEY &&
|
|
13
|
+
!process.env.REMOTION_AWS_SECRET_ACCESS_KEY) {
|
|
12
14
|
throw new Error(messageForVariable('AWS_SECRET_ACCESS_KEY'));
|
|
13
15
|
}
|
|
14
16
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-credentials.js","sourceRoot":"","sources":["../../src/shared/check-credentials.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AAEpC,MAAM,kBAAkB,GAAG,CAAC,QAAgB,EAAE,EAAE,CAC/C,gGAAgG,QAAQ,+CAA+C,mBAAQ,mTAAmT,CAAC;AAEpd,oEAAoE;AAC7D,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,
|
|
1
|
+
{"version":3,"file":"check-credentials.js","sourceRoot":"","sources":["../../src/shared/check-credentials.ts"],"names":[],"mappings":";;;AAAA,yCAAoC;AAEpC,MAAM,kBAAkB,GAAG,CAAC,QAAgB,EAAE,EAAE,CAC/C,gGAAgG,QAAQ,+CAA+C,mBAAQ,mTAAmT,CAAC;AAEpd,oEAAoE;AAC7D,MAAM,gBAAgB,GAAG,GAAG,EAAE;IACpC,IACC,CAAC,OAAO,CAAC,GAAG,CAAC,iBAAiB;QAC9B,CAAC,OAAO,CAAC,GAAG,CAAC,0BAA0B,EACtC;QACD,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,CAAC,CAAC;KACzD;IAED,IACC,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB;QAClC,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAC1C;QACD,MAAM,IAAI,KAAK,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,CAAC,CAAC;KAC7D;AACF,CAAC,CAAC;AAdW,QAAA,gBAAgB,oBAc3B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.0.0-lambda.
|
|
3
|
+
"version": "3.0.0-lambda.202+1f9050a92",
|
|
4
4
|
"description": "Utility functions for audio and video",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"@aws-sdk/client-s3": "3.42.0",
|
|
28
28
|
"@aws-sdk/lib-storage": "3.42.0",
|
|
29
29
|
"@aws-sdk/s3-request-presigner": "3.42.0",
|
|
30
|
-
"@remotion/bundler": "3.0.0-lambda.
|
|
31
|
-
"@remotion/cli": "3.0.0-lambda.
|
|
32
|
-
"@remotion/renderer": "3.0.0-lambda.
|
|
30
|
+
"@remotion/bundler": "3.0.0-lambda.202+1f9050a92",
|
|
31
|
+
"@remotion/cli": "3.0.0-lambda.202+1f9050a92",
|
|
32
|
+
"@remotion/renderer": "3.0.0-lambda.202+1f9050a92",
|
|
33
33
|
"aws-policies": "^1.0.1",
|
|
34
34
|
"dotenv": "^10.0.0",
|
|
35
35
|
"minimist": "^1.2.5",
|
|
36
36
|
"p-limit": "^3.1.0",
|
|
37
37
|
"prompt": "^1.1.0",
|
|
38
|
-
"remotion": "3.0.0-lambda.
|
|
38
|
+
"remotion": "3.0.0-lambda.202+1f9050a92"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^17.0.1",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"publishConfig": {
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "1f9050a924ed94c4e83fe53d113039d7bdb4a7bc"
|
|
63
63
|
}
|
package/remotionlambda.zip
CHANGED
|
Binary file
|