@remotion/lambda 3.0.0-lambda.461 → 3.0.0-lambda.467
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/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +61 -0
- package/.turbo/turbo-test.log +30 -0
- package/dist/api/get-render-progress.d.ts.map +1 -1
- package/dist/api/get-render-progress.js +2 -1
- package/dist/api/get-render-progress.js.map +1 -1
- package/dist/cli/helpers/yes-or-no.d.ts.map +1 -1
- package/dist/cli/helpers/yes-or-no.js +1 -1
- package/dist/cli/helpers/yes-or-no.js.map +1 -1
- package/dist/functions/helpers/concat-videos.js +1 -1
- package/dist/functions/helpers/concat-videos.js.map +1 -1
- package/dist/functions/info.d.ts.map +1 -1
- package/dist/functions/info.js +2 -2
- package/dist/functions/info.js.map +1 -1
- package/dist/functions/progress.js +1 -1
- package/dist/functions/progress.js.map +1 -1
- package/package.json +7 -7
- package/remotionlambda.zip +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[33m@remotion/lambda:build: [0mcache hit, replaying output [
|
|
1
|
+
[33m@remotion/lambda:build: [0mcache hit, replaying output [2m2539a0d0d7ffc7c1[0m
|
|
2
2
|
[33m@remotion/lambda:build: [0m
|
|
3
3
|
[33m@remotion/lambda:build: [0m> @remotion/lambda@2.6.14 build /Users/jonathanburger/remotion/packages/lambda
|
|
4
4
|
[33m@remotion/lambda:build: [0m> tsc -d && pnpm run buildlambda
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
[33m@remotion/lambda:lint: [0mcache hit, replaying output [2m5e04298990bbf2b0[0m
|
|
2
|
+
[33m@remotion/lambda:lint: [0m
|
|
3
|
+
[33m@remotion/lambda:lint: [0m> @remotion/lambda@2.6.14 lint /Users/jonathanburger/remotion/packages/lambda
|
|
4
|
+
[33m@remotion/lambda:lint: [0m> eslint src --ext ts,tsx
|
|
5
|
+
[33m@remotion/lambda:lint: [0m
|
|
6
|
+
[33m@remotion/lambda:lint: [0m
|
|
7
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/api/__mocks__/create-function.ts
|
|
8
|
+
[33m@remotion/lambda:lint: [0m 9:62 warning Async arrow function has no 'await' expression require-await
|
|
9
|
+
[33m@remotion/lambda:lint: [0m
|
|
10
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/api/__mocks__/get-functions.ts
|
|
11
|
+
[33m@remotion/lambda:lint: [0m 8:4 warning Async arrow function has no 'await' expression require-await
|
|
12
|
+
[33m@remotion/lambda:lint: [0m
|
|
13
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/api/__mocks__/upload-dir.ts
|
|
14
|
+
[33m@remotion/lambda:lint: [0m 34:57 warning Async arrow function has no 'await' expression require-await
|
|
15
|
+
[33m@remotion/lambda:lint: [0m
|
|
16
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/api/clean-items.ts
|
|
17
|
+
[33m@remotion/lambda:lint: [0m 20:4 warning Async arrow function has no 'await' expression require-await
|
|
18
|
+
[33m@remotion/lambda:lint: [0m
|
|
19
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/api/get-render-progress.ts
|
|
20
|
+
[33m@remotion/lambda:lint: [0m 26:45 warning Async arrow function has no 'await' expression require-await
|
|
21
|
+
[33m@remotion/lambda:lint: [0m
|
|
22
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/cli/helpers/yes-or-no.ts
|
|
23
|
+
[33m@remotion/lambda:lint: [0m 27:4 warning Async arrow function has no 'await' expression require-await
|
|
24
|
+
[33m@remotion/lambda:lint: [0m
|
|
25
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/helpers/__mocks__/get-chromium-executable-path.ts
|
|
26
|
+
[33m@remotion/lambda:lint: [0m 3:57 warning Async arrow function has no 'await' expression require-await
|
|
27
|
+
[33m@remotion/lambda:lint: [0m
|
|
28
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/helpers/__mocks__/io.ts
|
|
29
|
+
[33m@remotion/lambda:lint: [0m 51:23 warning Async arrow function has no 'await' expression require-await
|
|
30
|
+
[33m@remotion/lambda:lint: [0m
|
|
31
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/helpers/calculate-chunk-times.ts
|
|
32
|
+
[33m@remotion/lambda:lint: [0m 20:3 warning Unexpected 'todo' comment: 'TODO: Should also calculate invoker...' no-warning-comments
|
|
33
|
+
[33m@remotion/lambda:lint: [0m
|
|
34
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/helpers/concat-videos.ts
|
|
35
|
+
[33m@remotion/lambda:lint: [0m 77:23 warning Async arrow function has no 'await' expression require-await
|
|
36
|
+
[33m@remotion/lambda:lint: [0m
|
|
37
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/helpers/create-post-render-data.ts
|
|
38
|
+
[33m@remotion/lambda:lint: [0m 43:4 warning Async arrow function has no 'await' expression require-await
|
|
39
|
+
[33m@remotion/lambda:lint: [0m
|
|
40
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/helpers/get-chromium-executable-path.ts
|
|
41
|
+
[33m@remotion/lambda:lint: [0m 13:69 warning Async arrow function has no 'await' expression require-await
|
|
42
|
+
[33m@remotion/lambda:lint: [0m
|
|
43
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/index.ts
|
|
44
|
+
[33m@remotion/lambda:lint: [0m 21:35 warning Async arrow function has no 'await' expression require-await
|
|
45
|
+
[33m@remotion/lambda:lint: [0m
|
|
46
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/info.ts
|
|
47
|
+
[33m@remotion/lambda:lint: [0m 8:64 warning Async arrow function has no 'await' expression require-await
|
|
48
|
+
[33m@remotion/lambda:lint: [0m
|
|
49
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/launch.ts
|
|
50
|
+
[33m@remotion/lambda:lint: [0m 123:3 warning Unexpected 'todo' comment: 'TODO: Re-enable chunk optimization later' no-warning-comments
|
|
51
|
+
[33m@remotion/lambda:lint: [0m 300:2 warning Unexpected 'todo' comment: 'TODO: Enable in a later release' no-warning-comments
|
|
52
|
+
[33m@remotion/lambda:lint: [0m
|
|
53
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/functions/progress.ts
|
|
54
|
+
[33m@remotion/lambda:lint: [0m 17:28 warning Async arrow function has no 'await' expression require-await
|
|
55
|
+
[33m@remotion/lambda:lint: [0m
|
|
56
|
+
[33m@remotion/lambda:lint: [0m/Users/jonathanburger/remotion/packages/lambda/src/test/integration/deploy-site.test.ts
|
|
57
|
+
[33m@remotion/lambda:lint: [0m 16:60 warning Async arrow function has no 'await' expression require-await
|
|
58
|
+
[33m@remotion/lambda:lint: [0m 28:55 warning Async arrow function has no 'await' expression require-await
|
|
59
|
+
[33m@remotion/lambda:lint: [0m
|
|
60
|
+
[33m@remotion/lambda:lint: [0m✖ 19 problems (0 errors, 19 warnings)
|
|
61
|
+
[33m@remotion/lambda:lint: [0m
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[35m@remotion/lambda:test: [0mcache hit, replaying output [2mb99ca0d7b5f3e3f4[0m
|
|
2
|
+
[35m@remotion/lambda:test: [0m
|
|
3
|
+
[35m@remotion/lambda:test: [0m> @remotion/lambda@2.6.14 test /Users/jonathanburger/remotion/packages/lambda
|
|
4
|
+
[35m@remotion/lambda:test: [0m> jest src/test/unit
|
|
5
|
+
[35m@remotion/lambda:test: [0m
|
|
6
|
+
[35m@remotion/lambda:test: [0mwatchman warning: Recrawled this watch 111 times, most recently because:
|
|
7
|
+
[35m@remotion/lambda:test: [0mMustScanSubDirs UserDroppedTo resolve, please review the information on
|
|
8
|
+
[35m@remotion/lambda:test: [0mhttps://facebook.github.io/watchman/docs/troubleshooting.html#recrawl
|
|
9
|
+
[35m@remotion/lambda:test: [0mTo clear this warning, run:
|
|
10
|
+
[35m@remotion/lambda:test: [0m`watchman watch-del '/Users/jonathanburger/remotion' ; watchman watch-project '/Users/jonathanburger/remotion'`
|
|
11
|
+
[35m@remotion/lambda:test: [0m
|
|
12
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/min-max.test.ts (5.401 s)
|
|
13
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/frame-bug.test.ts (5.591 s)
|
|
14
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/best-frames-per-lambda-param.test.ts (5.737 s)
|
|
15
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/lambda-timing-file-name.test.ts
|
|
16
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/pricing.test.ts (5.817 s)
|
|
17
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/cloudwatch-validation.test.ts
|
|
18
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/price-calculation.test.ts (6.064 s)
|
|
19
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/lambda-timings-key.test.ts
|
|
20
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/validate-disk-size-in-mb.test.ts
|
|
21
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/expected-out-name.test.ts (6.255 s)
|
|
22
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/hosted-layers-match.test.ts
|
|
23
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/optimize-profile.test.ts (6.478 s)
|
|
24
|
+
[35m@remotion/lambda:test: [0mPASS src/test/unit/handlers.test.ts
|
|
25
|
+
[35m@remotion/lambda:test: [0m
|
|
26
|
+
[35m@remotion/lambda:test: [0mTest Suites: 13 passed, 13 total
|
|
27
|
+
[35m@remotion/lambda:test: [0mTests: 33 passed, 33 total
|
|
28
|
+
[35m@remotion/lambda:test: [0mSnapshots: 0 total
|
|
29
|
+
[35m@remotion/lambda:test: [0mTime: 10.362 s
|
|
30
|
+
[35m@remotion/lambda:test: [0mRan all test suites matching /src\/test\/unit/i.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-render-progress.d.ts","sourceRoot":"","sources":["../../src/api/get-render-progress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAiB,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAEnE,oBAAY,cAAc,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,oDAK3B,cAAc,KAAG,QAAQ,cAAc,
|
|
1
|
+
{"version":3,"file":"get-render-progress.d.ts","sourceRoot":"","sources":["../../src/api/get-render-progress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAiB,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAEnE,oBAAY,cAAc,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,CAAC;CAClB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,oDAK3B,cAAc,KAAG,QAAQ,cAAc,CAWzC,CAAC"}
|
|
@@ -13,7 +13,7 @@ const constants_1 = require("../shared/constants");
|
|
|
13
13
|
* @returns {Promise<RenderProgress>} See documentation for this function to see all properties on the return object.
|
|
14
14
|
*/
|
|
15
15
|
const getRenderProgress = async ({ functionName, bucketName, renderId, region, }) => {
|
|
16
|
-
|
|
16
|
+
const result = await (0, call_lambda_1.callLambda)({
|
|
17
17
|
functionName,
|
|
18
18
|
type: constants_1.LambdaRoutines.status,
|
|
19
19
|
payload: {
|
|
@@ -22,6 +22,7 @@ const getRenderProgress = async ({ functionName, bucketName, renderId, region, }
|
|
|
22
22
|
},
|
|
23
23
|
region,
|
|
24
24
|
});
|
|
25
|
+
return result;
|
|
25
26
|
};
|
|
26
27
|
exports.getRenderProgress = getRenderProgress;
|
|
27
28
|
//# sourceMappingURL=get-render-progress.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-render-progress.js","sourceRoot":"","sources":["../../src/api/get-render-progress.ts"],"names":[],"mappings":";;;AACA,uDAAiD;AACjD,mDAAmE;AASnE;;;;;;;;GAQG;AACI,MAAM,iBAAiB,GAAG,KAAK,EAAE,EACvC,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,MAAM,GACU,EAA2B,EAAE;IAC7C,
|
|
1
|
+
{"version":3,"file":"get-render-progress.js","sourceRoot":"","sources":["../../src/api/get-render-progress.ts"],"names":[],"mappings":";;;AACA,uDAAiD;AACjD,mDAAmE;AASnE;;;;;;;;GAQG;AACI,MAAM,iBAAiB,GAAG,KAAK,EAAE,EACvC,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,MAAM,GACU,EAA2B,EAAE;IAC7C,MAAM,MAAM,GAAG,MAAM,IAAA,wBAAU,EAAC;QAC/B,YAAY;QACZ,IAAI,EAAE,0BAAc,CAAC,MAAM;QAC3B,OAAO,EAAE;YACR,UAAU;YACV,QAAQ;SACR;QACD,MAAM;KACN,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AACf,CAAC,CAAC;AAhBW,QAAA,iBAAiB,qBAgB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yes-or-no.d.ts","sourceRoot":"","sources":["../../../src/cli/helpers/yes-or-no.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,OAAO;cAIT,MAAM;kBACF,OAAO;
|
|
1
|
+
{"version":3,"file":"yes-or-no.d.ts","sourceRoot":"","sources":["../../../src/cli/helpers/yes-or-no.ts"],"names":[],"mappings":"AAoBA,eAAO,MAAM,OAAO;cAIT,MAAM;kBACF,OAAO;MAClB,QAAQ,OAAO,CA8BlB,CAAC"}
|
|
@@ -14,7 +14,7 @@ function defaultInvalidHandler({ yesValues, noValues, }) {
|
|
|
14
14
|
process.stdout.write('Answer either yes : (' + yesValues.join(', ') + ') \n');
|
|
15
15
|
process.stdout.write('Or no: (' + noValues.join(', ') + ') \n\n');
|
|
16
16
|
}
|
|
17
|
-
const yesOrNo =
|
|
17
|
+
const yesOrNo = ({ question, defaultValue, }) => {
|
|
18
18
|
const invalid = defaultInvalidHandler;
|
|
19
19
|
const yesValues = options.yes.map((v) => v.toLowerCase());
|
|
20
20
|
const noValues = options.no.map((v) => v.toLowerCase());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yes-or-no.js","sourceRoot":"","sources":["../../../src/cli/helpers/yes-or-no.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAEhC,MAAM,OAAO,GAAG;IACf,GAAG,EAAE,CAAC,KAAK,EAAE,GAAG,CAAC;IACjB,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,CAAC;CACf,CAAC;AAEF,SAAS,qBAAqB,CAAC,EAC9B,SAAS,EACT,QAAQ,GAKR;IACA,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,CAAC,CAAC;IAC9C,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,uBAAuB,GAAG,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,CAAC;IAC9E,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,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AAO,EAAE,EAAE;QACvC,EAAE,CAAC,QAAQ,CAAC,QAAQ,GAAG,GAAG,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE;YAC5C,EAAE,CAAC,KAAK,EAAE,CAAC;YAEX,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;YAC5C,IAAI,OAAO,KAAK,EAAE,IAAI,YAAY,KAAK,IAAI;gBAAE,OAAO,OAAO,CAAC,YAAY,CAAC,CAAC;YAE1E,IAAI,SAAS,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;gBAAE,OAAO,OAAO,CAAC,IAAI,CAAC,CAAC;YAE1D,IAAI,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC;gBAAE,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC;YAE1D,OAAO,CAAC,EAAC,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAC,CAAC,CAAC;YACzC,MAAM,MAAM,GAAG,MAAM,IAAA,eAAO,EAAC;gBAC5B,QAAQ;gBACR,YAAY;aACZ,CAAC,CAAC;YACH,OAAO,CAAC,MAAM,CAAC,CAAC;QACjB,CAAC,CAAC,CAAC;IACJ,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC;AApCW,QAAA,OAAO,WAoClB"}
|
|
@@ -46,7 +46,7 @@ const downloadS3File = async ({ bucket, key, outdir, region, expectedBucketOwner
|
|
|
46
46
|
.on('close', () => resolve());
|
|
47
47
|
});
|
|
48
48
|
};
|
|
49
|
-
const getAllFilesS3 =
|
|
49
|
+
const getAllFilesS3 = ({ bucket, expectedFiles, outdir, renderId, region, expectedBucketOwner, }) => {
|
|
50
50
|
const alreadyDownloading = {};
|
|
51
51
|
const downloaded = {};
|
|
52
52
|
const getFiles = async () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"concat-videos.js","sourceRoot":"","sources":["../../../src/functions/helpers/concat-videos.ts"],"names":[],"mappings":";;;;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C,EAAE,mCAAI,YAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,MAAM,EAAE;QACvE,SAAS,EAAE,IAAI;KACf,CAAC,CAAC;IACH,OAAO,EAAC,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAC,CAAC;AACpD,CAAC,CAAC;AA5DW,QAAA,cAAc,kBA4DzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../src/functions/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,aAAa,EAEb,cAAc,EACd,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"info.d.ts","sourceRoot":"","sources":["../../src/functions/info.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,aAAa,EAEb,cAAc,EACd,MAAM,qBAAqB,CAAC;AAE7B,eAAO,MAAM,WAAW,iBAAkB,aAAa;aAM5C,cAAc;EAMxB,CAAC"}
|
package/dist/functions/info.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.infoHandler = void 0;
|
|
4
4
|
const constants_1 = require("../shared/constants");
|
|
5
|
-
const infoHandler =
|
|
5
|
+
const infoHandler = (lambdaParams) => {
|
|
6
6
|
if (lambdaParams.type !== constants_1.LambdaRoutines.info) {
|
|
7
7
|
throw new TypeError('Expected info type');
|
|
8
8
|
}
|
|
9
9
|
const returnValue = {
|
|
10
10
|
version: constants_1.CURRENT_VERSION,
|
|
11
11
|
};
|
|
12
|
-
return returnValue;
|
|
12
|
+
return Promise.resolve(returnValue);
|
|
13
13
|
};
|
|
14
14
|
exports.infoHandler = infoHandler;
|
|
15
15
|
//# sourceMappingURL=info.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../src/functions/info.ts"],"names":[],"mappings":";;;AAAA,mDAK6B;AAEtB,MAAM,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"info.js","sourceRoot":"","sources":["../../src/functions/info.ts"],"names":[],"mappings":";;;AAAA,mDAK6B;AAEtB,MAAM,WAAW,GAAG,CAAC,YAA2B,EAAE,EAAE;IAC1D,IAAI,YAAY,CAAC,IAAI,KAAK,0BAAc,CAAC,IAAI,EAAE;QAC9C,MAAM,IAAI,SAAS,CAAC,oBAAoB,CAAC,CAAC;KAC1C;IAED,MAAM,WAAW,GAEb;QACH,OAAO,EAAE,2BAAe;KACxB,CAAC;IAEF,OAAO,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC;AACrC,CAAC,CAAC;AAZW,QAAA,WAAW,eAYtB"}
|
|
@@ -4,7 +4,7 @@ exports.progressHandler = void 0;
|
|
|
4
4
|
const constants_1 = require("../shared/constants");
|
|
5
5
|
const get_current_region_1 = require("./helpers/get-current-region");
|
|
6
6
|
const get_progress_1 = require("./helpers/get-progress");
|
|
7
|
-
const progressHandler =
|
|
7
|
+
const progressHandler = (lambdaParams, options) => {
|
|
8
8
|
if (lambdaParams.type !== constants_1.LambdaRoutines.status) {
|
|
9
9
|
throw new TypeError('Expected status type');
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.js","sourceRoot":"","sources":["../../src/functions/progress.ts"],"names":[],"mappings":";;;AAAA,mDAI6B;AAC7B,qEAAwE;AACxE,yDAAmD;AAO5C,MAAM,eAAe,GAAG,
|
|
1
|
+
{"version":3,"file":"progress.js","sourceRoot":"","sources":["../../src/functions/progress.ts"],"names":[],"mappings":";;;AAAA,mDAI6B;AAC7B,qEAAwE;AACxE,yDAAmD;AAO5C,MAAM,eAAe,GAAG,CAC9B,YAA2B,EAC3B,OAAgB,EACU,EAAE;IAC5B,IAAI,YAAY,CAAC,IAAI,KAAK,0BAAc,CAAC,MAAM,EAAE;QAChD,MAAM,IAAI,SAAS,CAAC,sBAAsB,CAAC,CAAC;KAC5C;IAED,OAAO,IAAA,0BAAW,EAAC;QAClB,UAAU,EAAE,YAAY,CAAC,UAAU;QACnC,QAAQ,EAAE,YAAY,CAAC,QAAQ;QAC/B,mBAAmB,EAAE,OAAO,CAAC,mBAAmB;QAChD,MAAM,EAAE,IAAA,+CAA0B,GAAE;QACpC,cAAc,EAAE,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC;QACnE,oBAAoB,EAAE,OAAO,CAAC,oBAAoB;KAClD,CAAC,CAAC;AACJ,CAAC,CAAC;AAhBW,QAAA,eAAe,mBAgB1B"}
|
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.467+9e364b5a3",
|
|
4
4
|
"description": "Utility functions for audio and video",
|
|
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.0-lambda.
|
|
35
|
-
"@remotion/cli": "3.0.0-lambda.
|
|
36
|
-
"@remotion/renderer": "3.0.0-lambda.
|
|
34
|
+
"@remotion/bundler": "3.0.0-lambda.467+9e364b5a3",
|
|
35
|
+
"@remotion/cli": "3.0.0-lambda.467+9e364b5a3",
|
|
36
|
+
"@remotion/renderer": "3.0.0-lambda.467+9e364b5a3",
|
|
37
37
|
"aws-policies": "^1.0.1",
|
|
38
38
|
"dotenv": "^10.0.0",
|
|
39
39
|
"minimist": "^1.2.5",
|
|
40
40
|
"p-limit": "^3.1.0",
|
|
41
|
-
"remotion": "3.0.0-lambda.
|
|
41
|
+
"remotion": "3.0.0-lambda.467+9e364b5a3"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@types/minimist": "1.2.2",
|
|
51
51
|
"@types/node": "^14.14.14",
|
|
52
52
|
"@types/prompt": "^1.1.0",
|
|
53
|
-
"eslint": "
|
|
53
|
+
"eslint": "8.13.0",
|
|
54
54
|
"execa": "5.1.1",
|
|
55
55
|
"jest": "^27.2.4",
|
|
56
56
|
"prettier": "^2.4.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "9e364b5a3a21e3ccb3704330c0ddffb480906d58"
|
|
67
67
|
}
|
package/remotionlambda.zip
CHANGED
|
Binary file
|