@remotion/lambda 3.0.0-lambda.99 → 3.0.0-symbols.518
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/.prettierrc.js +15 -0
- package/.turbo/turbo-build.log +10 -0
- package/.turbo/turbo-lint.log +33 -0
- package/.turbo/turbo-test.log +24 -0
- package/LICENSE.md +2 -2
- package/README.md +1 -10
- package/dist/admin/bundle-lambda.d.ts +0 -0
- package/dist/admin/bundle-lambda.d.ts.map +0 -0
- package/dist/admin/bundle-lambda.js +4 -3
- package/dist/admin/bundle-lambda.js.map +1 -1
- package/dist/admin/make-layer-public.d.ts +0 -0
- package/dist/admin/make-layer-public.d.ts.map +0 -0
- package/dist/admin/make-layer-public.js +67 -60
- package/dist/admin/make-layer-public.js.map +1 -1
- package/dist/api/bucket-exists.d.ts +1 -1
- package/dist/api/bucket-exists.d.ts.map +1 -1
- package/dist/api/bucket-exists.js +0 -0
- package/dist/api/bucket-exists.js.map +0 -0
- package/dist/api/clean-items.d.ts +0 -0
- package/dist/api/clean-items.d.ts.map +0 -0
- package/dist/api/clean-items.js +0 -0
- package/dist/api/clean-items.js.map +0 -0
- package/dist/api/create-bucket.d.ts +1 -1
- package/dist/api/create-bucket.d.ts.map +1 -1
- package/dist/api/create-bucket.js +0 -0
- package/dist/api/create-bucket.js.map +0 -0
- package/dist/api/create-function.d.ts +8 -3
- package/dist/api/create-function.d.ts.map +1 -1
- package/dist/api/create-function.js +28 -20
- package/dist/api/create-function.js.map +1 -1
- package/dist/api/delete-function.d.ts +7 -6
- package/dist/api/delete-function.d.ts.map +1 -1
- package/dist/api/delete-function.js +2 -2
- package/dist/api/delete-function.js.map +1 -1
- package/dist/api/delete-site.d.ts +19 -9
- package/dist/api/delete-site.d.ts.map +1 -1
- package/dist/api/delete-site.js +10 -1
- package/dist/api/delete-site.js.map +1 -1
- package/dist/api/deploy-function.d.ts +20 -10
- package/dist/api/deploy-function.d.ts.map +1 -1
- package/dist/api/deploy-function.js +33 -4
- package/dist/api/deploy-function.js.map +1 -1
- package/dist/api/deploy-site.d.ts +3 -3
- package/dist/api/deploy-site.d.ts.map +1 -1
- package/dist/api/deploy-site.js +6 -8
- package/dist/api/deploy-site.js.map +1 -1
- package/dist/api/download-media.d.ts +19 -0
- package/dist/api/download-media.d.ts.map +1 -0
- package/dist/api/download-media.js +45 -0
- package/dist/api/download-media.js.map +1 -0
- package/dist/api/enable-s3-website.d.ts +1 -1
- package/dist/api/enable-s3-website.d.ts.map +1 -1
- package/dist/api/enable-s3-website.js +0 -1
- package/dist/api/enable-s3-website.js.map +1 -1
- package/dist/api/estimate-price.d.ts +18 -0
- package/dist/api/estimate-price.d.ts.map +1 -0
- package/dist/api/estimate-price.js +51 -0
- package/dist/api/estimate-price.js.map +1 -0
- package/dist/api/get-aws-client.d.ts +32 -0
- package/dist/api/get-aws-client.d.ts.map +1 -0
- package/dist/api/get-aws-client.js +49 -0
- package/dist/api/get-aws-client.js.map +1 -0
- package/dist/api/get-buckets.d.ts +0 -0
- package/dist/api/get-buckets.d.ts.map +1 -1
- package/dist/api/get-buckets.js +1 -7
- package/dist/api/get-buckets.js.map +1 -1
- package/dist/api/get-function-info.d.ts +4 -4
- package/dist/api/get-function-info.d.ts.map +1 -1
- package/dist/api/get-function-info.js +4 -2
- package/dist/api/get-function-info.js.map +1 -1
- package/dist/api/get-functions.d.ts +7 -6
- package/dist/api/get-functions.d.ts.map +1 -1
- package/dist/api/get-functions.js +30 -4
- package/dist/api/get-functions.js.map +1 -1
- package/dist/api/get-or-create-bucket.d.ts +5 -6
- package/dist/api/get-or-create-bucket.d.ts.map +1 -1
- package/dist/api/get-or-create-bucket.js +2 -2
- package/dist/api/get-or-create-bucket.js.map +1 -1
- package/dist/api/get-regions.d.ts +8 -0
- package/dist/api/get-regions.d.ts.map +1 -0
- package/dist/api/get-regions.js +14 -0
- package/dist/api/get-regions.js.map +1 -0
- package/dist/api/get-render-progress.d.ts +12 -10
- package/dist/api/get-render-progress.d.ts.map +1 -1
- package/dist/api/get-render-progress.js +6 -5
- package/dist/api/get-render-progress.js.map +1 -1
- package/dist/api/get-sites.d.ts +12 -4
- package/dist/api/get-sites.d.ts.map +1 -1
- package/dist/api/get-sites.js +8 -3
- package/dist/api/get-sites.js.map +1 -1
- package/dist/api/iam-validation/role-permissions.d.ts +0 -0
- package/dist/api/iam-validation/role-permissions.d.ts.map +1 -1
- package/dist/api/iam-validation/role-permissions.js +6 -5
- package/dist/api/iam-validation/role-permissions.js.map +1 -1
- package/dist/api/iam-validation/simulate-rule.d.ts +1 -0
- package/dist/api/iam-validation/simulate-rule.d.ts.map +1 -1
- package/dist/api/iam-validation/simulate-rule.js +42 -29
- package/dist/api/iam-validation/simulate-rule.js.map +1 -1
- package/dist/api/iam-validation/simulate.d.ts +14 -5
- package/dist/api/iam-validation/simulate.d.ts.map +1 -1
- package/dist/api/iam-validation/simulate.js +11 -4
- package/dist/api/iam-validation/simulate.js.map +1 -1
- package/dist/api/iam-validation/suggested-policy.d.ts +3 -2
- package/dist/api/iam-validation/suggested-policy.d.ts.map +1 -1
- package/dist/api/iam-validation/suggested-policy.js +7 -6
- package/dist/api/iam-validation/suggested-policy.js.map +1 -1
- package/dist/api/iam-validation/user-permissions.d.ts +7 -0
- package/dist/api/iam-validation/user-permissions.d.ts.map +1 -0
- package/dist/api/iam-validation/{required-permissions.js → user-permissions.js} +37 -20
- package/dist/api/iam-validation/user-permissions.js.map +1 -0
- package/dist/api/mock-functions.d.ts +1 -1
- package/dist/api/mock-functions.d.ts.map +1 -1
- package/dist/api/mock-functions.js +0 -0
- package/dist/api/mock-functions.js.map +0 -0
- package/dist/api/presign-url.d.ts +20 -0
- package/dist/api/presign-url.d.ts.map +1 -0
- package/dist/api/presign-url.js +47 -0
- package/dist/api/presign-url.js.map +1 -0
- package/dist/api/{render-video-on-lambda.d.ts → render-media-on-lambda.d.ts} +38 -28
- package/dist/api/render-media-on-lambda.d.ts.map +1 -0
- package/dist/api/{render-video-on-lambda.js → render-media-on-lambda.js} +26 -14
- package/dist/api/render-media-on-lambda.js.map +1 -0
- package/dist/api/render-still-on-lambda.d.ts +31 -23
- package/dist/api/render-still-on-lambda.d.ts.map +1 -1
- package/dist/api/render-still-on-lambda.js +14 -7
- package/dist/api/render-still-on-lambda.js.map +1 -1
- package/dist/api/upload-dir.d.ts +1 -1
- package/dist/api/upload-dir.d.ts.map +1 -1
- package/dist/api/upload-dir.js +7 -5
- package/dist/api/upload-dir.js.map +1 -1
- package/dist/cli/args.d.ts +9 -3
- package/dist/cli/args.d.ts.map +1 -1
- package/dist/cli/args.js +1 -2
- package/dist/cli/args.js.map +1 -1
- package/dist/cli/commands/functions/deploy.d.ts +0 -0
- package/dist/cli/commands/functions/deploy.d.ts.map +1 -1
- package/dist/cli/commands/functions/deploy.js +34 -6
- package/dist/cli/commands/functions/deploy.js.map +1 -1
- package/dist/cli/commands/functions/index.d.ts +0 -0
- package/dist/cli/commands/functions/index.d.ts.map +1 -1
- package/dist/cli/commands/functions/index.js +9 -1
- package/dist/cli/commands/functions/index.js.map +1 -1
- package/dist/cli/commands/functions/ls.d.ts +0 -0
- package/dist/cli/commands/functions/ls.d.ts.map +1 -1
- package/dist/cli/commands/functions/ls.js +11 -7
- package/dist/cli/commands/functions/ls.js.map +1 -1
- package/dist/cli/commands/functions/rm.d.ts +0 -0
- package/dist/cli/commands/functions/rm.d.ts.map +1 -1
- package/dist/cli/commands/functions/rm.js +9 -4
- package/dist/cli/commands/functions/rm.js.map +1 -1
- package/dist/cli/commands/functions/rmall.d.ts +3 -0
- package/dist/cli/commands/functions/rmall.d.ts.map +1 -0
- package/dist/cli/commands/functions/rmall.js +41 -0
- package/dist/cli/commands/functions/rmall.js.map +1 -0
- package/dist/cli/commands/policies/policies.d.ts +0 -0
- package/dist/cli/commands/policies/policies.d.ts.map +1 -1
- package/dist/cli/commands/policies/policies.js +2 -1
- package/dist/cli/commands/policies/policies.js.map +1 -1
- package/dist/cli/commands/policies/role.d.ts +0 -0
- package/dist/cli/commands/policies/role.d.ts.map +0 -0
- package/dist/cli/commands/policies/role.js +0 -0
- package/dist/cli/commands/policies/role.js.map +0 -0
- package/dist/cli/commands/policies/user.d.ts +0 -0
- package/dist/cli/commands/policies/user.d.ts.map +0 -0
- package/dist/cli/commands/policies/user.js +0 -0
- package/dist/cli/commands/policies/user.js.map +0 -0
- package/dist/cli/commands/policies/validate.d.ts +0 -0
- package/dist/cli/commands/policies/validate.d.ts.map +0 -0
- package/dist/cli/commands/policies/validate.js +0 -0
- package/dist/cli/commands/policies/validate.js.map +0 -0
- package/dist/cli/commands/quotas/increase.d.ts +3 -0
- package/dist/cli/commands/quotas/increase.d.ts.map +1 -0
- package/dist/cli/commands/quotas/increase.js +58 -0
- package/dist/cli/commands/quotas/increase.js.map +1 -0
- package/dist/cli/commands/quotas/index.d.ts +3 -0
- package/dist/cli/commands/quotas/index.d.ts.map +1 -0
- package/dist/cli/commands/quotas/index.js +30 -0
- package/dist/cli/commands/quotas/index.js.map +1 -0
- package/dist/cli/commands/quotas/list.d.ts +2 -0
- package/dist/cli/commands/quotas/list.d.ts.map +1 -0
- package/dist/cli/commands/quotas/list.js +65 -0
- package/dist/cli/commands/quotas/list.js.map +1 -0
- package/dist/cli/commands/regions.d.ts +3 -0
- package/dist/cli/commands/regions.d.ts.map +1 -0
- package/dist/cli/commands/regions.js +11 -0
- package/dist/cli/commands/regions.js.map +1 -0
- package/dist/cli/commands/render/progress.d.ts +7 -5
- package/dist/cli/commands/render/progress.d.ts.map +1 -1
- package/dist/cli/commands/render/progress.js +11 -33
- package/dist/cli/commands/render/progress.js.map +1 -1
- package/dist/cli/commands/render/render.d.ts +0 -0
- package/dist/cli/commands/render/render.d.ts.map +1 -1
- package/dist/cli/commands/render/render.js +83 -50
- package/dist/cli/commands/render/render.js.map +1 -1
- package/dist/cli/commands/sites/create.d.ts +0 -0
- package/dist/cli/commands/sites/create.d.ts.map +1 -1
- package/dist/cli/commands/sites/create.js +18 -9
- package/dist/cli/commands/sites/create.js.map +1 -1
- package/dist/cli/commands/sites/index.d.ts +0 -0
- package/dist/cli/commands/sites/index.d.ts.map +1 -1
- package/dist/cli/commands/sites/index.js +6 -1
- package/dist/cli/commands/sites/index.js.map +1 -1
- package/dist/cli/commands/sites/ls.d.ts +0 -0
- package/dist/cli/commands/sites/ls.d.ts.map +1 -1
- package/dist/cli/commands/sites/ls.js +8 -5
- package/dist/cli/commands/sites/ls.js.map +1 -1
- package/dist/cli/commands/sites/rm.d.ts +1 -1
- package/dist/cli/commands/sites/rm.d.ts.map +1 -1
- package/dist/cli/commands/sites/rm.js +16 -7
- package/dist/cli/commands/sites/rm.js.map +1 -1
- package/dist/cli/commands/sites/rmall.d.ts +3 -0
- package/dist/cli/commands/sites/rmall.d.ts.map +1 -0
- package/dist/cli/commands/sites/rmall.js +49 -0
- package/dist/cli/commands/sites/rmall.js.map +1 -0
- package/dist/cli/commands/still.d.ts +0 -0
- package/dist/cli/commands/still.d.ts.map +1 -1
- package/dist/cli/commands/still.js +72 -25
- package/dist/cli/commands/still.js.map +1 -1
- package/dist/cli/get-aws-region.d.ts +0 -0
- package/dist/cli/get-aws-region.d.ts.map +0 -0
- package/dist/cli/get-aws-region.js +2 -2
- package/dist/cli/get-aws-region.js.map +1 -1
- package/dist/cli/help.d.ts +0 -0
- package/dist/cli/help.d.ts.map +1 -1
- package/dist/cli/help.js +13 -1
- package/dist/cli/help.js.map +1 -1
- package/dist/cli/helpers/confirm.d.ts +0 -0
- package/dist/cli/helpers/confirm.d.ts.map +1 -1
- package/dist/cli/helpers/confirm.js +5 -18
- package/dist/cli/helpers/confirm.js.map +1 -1
- package/dist/cli/helpers/date-string.d.ts +0 -0
- package/dist/cli/helpers/date-string.d.ts.map +0 -0
- package/dist/cli/helpers/date-string.js +0 -0
- package/dist/cli/helpers/date-string.js.map +0 -0
- package/dist/cli/helpers/find-function-name.d.ts +0 -0
- package/dist/cli/helpers/find-function-name.d.ts.map +1 -1
- package/dist/cli/helpers/find-function-name.js +3 -2
- package/dist/cli/helpers/find-function-name.js.map +1 -1
- package/dist/cli/helpers/format-bytes.d.ts +0 -0
- package/dist/cli/helpers/format-bytes.d.ts.map +0 -0
- package/dist/cli/helpers/format-bytes.js +0 -0
- package/dist/cli/helpers/format-bytes.js.map +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.d.ts.map +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.js +0 -0
- package/dist/cli/helpers/get-cloudwatch-stream-url.js.map +0 -0
- package/dist/cli/helpers/progress-bar.d.ts +0 -0
- package/dist/cli/helpers/progress-bar.d.ts.map +0 -0
- package/dist/cli/helpers/progress-bar.js +0 -0
- package/dist/cli/helpers/progress-bar.js.map +0 -0
- package/dist/cli/helpers/quit.d.ts +2 -0
- package/dist/cli/helpers/quit.d.ts.map +1 -0
- package/dist/cli/helpers/quit.js +8 -0
- package/dist/cli/helpers/quit.js.map +1 -0
- package/dist/cli/helpers/yes-or-no.d.ts +5 -0
- package/dist/cli/helpers/yes-or-no.d.ts.map +1 -0
- package/dist/cli/helpers/yes-or-no.js +45 -0
- package/dist/cli/helpers/yes-or-no.js.map +1 -0
- package/dist/cli/index.d.ts +0 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +41 -10
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/is-cli.d.ts +3 -0
- package/dist/cli/is-cli.d.ts.map +1 -0
- package/dist/cli/is-cli.js +11 -0
- package/dist/cli/is-cli.js.map +1 -0
- package/dist/cli/log.d.ts +0 -0
- package/dist/cli/log.d.ts.map +0 -0
- package/dist/cli/log.js +0 -0
- package/dist/cli/log.js.map +0 -0
- package/dist/client.d.ts +4 -3
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -5
- package/dist/client.js.map +1 -1
- package/dist/defaults.d.ts +0 -0
- package/dist/defaults.d.ts.map +0 -0
- package/dist/defaults.js +0 -0
- package/dist/defaults.js.map +0 -0
- package/dist/functions/chunk-optimization/can-use-optimization.d.ts +2 -2
- package/dist/functions/chunk-optimization/can-use-optimization.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/can-use-optimization.js +6 -3
- package/dist/functions/chunk-optimization/can-use-optimization.js.map +1 -1
- package/dist/functions/chunk-optimization/collect-data.d.ts +3 -2
- package/dist/functions/chunk-optimization/collect-data.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/collect-data.js +0 -0
- package/dist/functions/chunk-optimization/collect-data.js.map +0 -0
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts +1 -4
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.js +0 -0
- package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.d.ts +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.js +0 -0
- package/dist/functions/chunk-optimization/get-profile-duration.js.map +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.d.ts +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.js +0 -0
- package/dist/functions/chunk-optimization/is-valid-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.d.ts +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.js +0 -0
- package/dist/functions/chunk-optimization/optimize-invocation-order.js.map +0 -0
- package/dist/functions/chunk-optimization/optimize-profile.d.ts +2 -8
- package/dist/functions/chunk-optimization/optimize-profile.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/optimize-profile.js +0 -0
- package/dist/functions/chunk-optimization/optimize-profile.js.map +0 -0
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +3 -6
- package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/plan-frame-ranges.js +10 -5
- package/dist/functions/chunk-optimization/plan-frame-ranges.js.map +1 -1
- package/dist/functions/chunk-optimization/s3-optimization-file.d.ts +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.js +0 -0
- package/dist/functions/chunk-optimization/s3-optimization-file.js.map +0 -0
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts +1 -4
- package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/simulate-frame-ranges.js +0 -0
- package/dist/functions/chunk-optimization/simulate-frame-ranges.js.map +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.d.ts +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.d.ts.map +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.js +0 -0
- package/dist/functions/chunk-optimization/sort-by-duration.js.map +0 -0
- package/dist/functions/chunk-optimization/types.d.ts +2 -2
- package/dist/functions/chunk-optimization/types.d.ts.map +1 -1
- package/dist/functions/chunk-optimization/types.js +0 -0
- package/dist/functions/chunk-optimization/types.js.map +0 -0
- package/dist/functions/fire.d.ts +0 -0
- package/dist/functions/fire.d.ts.map +0 -0
- package/dist/functions/fire.js +0 -0
- package/dist/functions/fire.js.map +0 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.d.ts +2 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.d.ts.map +1 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.js +18 -0
- package/dist/functions/helpers/best-frames-per-lambda-param.js.map +1 -0
- package/dist/functions/helpers/calculate-chunk-times.d.ts +0 -0
- package/dist/functions/helpers/calculate-chunk-times.d.ts.map +1 -1
- package/dist/functions/helpers/calculate-chunk-times.js +18 -14
- package/dist/functions/helpers/calculate-chunk-times.js.map +1 -1
- package/dist/functions/helpers/calculate-price-from-bucket.d.ts +7 -3
- package/dist/functions/helpers/calculate-price-from-bucket.d.ts.map +1 -1
- package/dist/functions/helpers/calculate-price-from-bucket.js +12 -15
- package/dist/functions/helpers/calculate-price-from-bucket.js.map +1 -1
- package/dist/functions/helpers/clean-tmpdir.d.ts +0 -0
- package/dist/functions/helpers/clean-tmpdir.d.ts.map +0 -0
- package/dist/functions/helpers/clean-tmpdir.js +0 -0
- package/dist/functions/helpers/clean-tmpdir.js.map +0 -0
- package/dist/functions/helpers/concat-videos.d.ts +0 -0
- package/dist/functions/helpers/concat-videos.d.ts.map +1 -1
- package/dist/functions/helpers/concat-videos.js +12 -8
- package/dist/functions/helpers/concat-videos.js.map +1 -1
- package/dist/functions/helpers/create-post-render-data.d.ts +5 -4
- package/dist/functions/helpers/create-post-render-data.d.ts.map +1 -1
- package/dist/functions/helpers/create-post-render-data.js +18 -12
- package/dist/functions/helpers/create-post-render-data.js.map +1 -1
- package/dist/functions/helpers/delete-chunks.d.ts +1 -1
- package/dist/functions/helpers/delete-chunks.d.ts.map +1 -1
- package/dist/functions/helpers/delete-chunks.js +0 -0
- package/dist/functions/helpers/delete-chunks.js.map +1 -1
- package/dist/functions/helpers/expected-out-name.d.ts +2 -2
- package/dist/functions/helpers/expected-out-name.d.ts.map +1 -1
- package/dist/functions/helpers/expected-out-name.js +15 -3
- package/dist/functions/helpers/expected-out-name.js.map +1 -1
- package/dist/functions/helpers/find-output-file-in-bucket.d.ts +8 -7
- package/dist/functions/helpers/find-output-file-in-bucket.d.ts.map +1 -1
- package/dist/functions/helpers/find-output-file-in-bucket.js +23 -17
- package/dist/functions/helpers/find-output-file-in-bucket.js.map +1 -1
- package/dist/functions/helpers/format-costs-info.d.ts +0 -0
- package/dist/functions/helpers/format-costs-info.d.ts.map +0 -0
- package/dist/functions/helpers/format-costs-info.js +0 -0
- package/dist/functions/helpers/format-costs-info.js.map +0 -0
- package/dist/functions/helpers/get-browser-instance.d.ts +2 -2
- package/dist/functions/helpers/get-browser-instance.d.ts.map +1 -1
- package/dist/functions/helpers/get-browser-instance.js +8 -2
- package/dist/functions/helpers/get-browser-instance.js.map +1 -1
- package/dist/functions/helpers/get-chromium-executable-path.d.ts +1 -1
- package/dist/functions/helpers/get-chromium-executable-path.d.ts.map +1 -1
- package/dist/functions/helpers/get-chromium-executable-path.js +0 -0
- package/dist/functions/helpers/get-chromium-executable-path.js.map +1 -1
- package/dist/functions/helpers/get-cleanup-progress.d.ts +0 -0
- package/dist/functions/helpers/get-cleanup-progress.d.ts.map +1 -1
- package/dist/functions/helpers/get-cleanup-progress.js +2 -2
- package/dist/functions/helpers/get-cleanup-progress.js.map +1 -1
- package/dist/functions/helpers/get-current-architecture.d.ts +3 -0
- package/dist/functions/helpers/get-current-architecture.d.ts.map +1 -0
- package/dist/functions/helpers/get-current-architecture.js +12 -0
- package/dist/functions/helpers/get-current-architecture.js.map +1 -0
- package/dist/functions/helpers/get-current-region.d.ts +1 -1
- package/dist/functions/helpers/get-current-region.d.ts.map +1 -1
- package/dist/functions/helpers/get-current-region.js +2 -2
- package/dist/functions/helpers/get-current-region.js.map +1 -1
- package/dist/functions/helpers/get-encoding-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-encoding-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-encoding-metadata.js +0 -0
- package/dist/functions/helpers/get-encoding-metadata.js.map +0 -0
- package/dist/functions/helpers/get-files-in-folder.d.ts +0 -0
- package/dist/functions/helpers/get-files-in-folder.d.ts.map +0 -0
- package/dist/functions/helpers/get-files-in-folder.js +0 -0
- package/dist/functions/helpers/get-files-in-folder.js.map +0 -0
- package/dist/functions/helpers/get-files-to-delete.d.ts +0 -0
- package/dist/functions/helpers/get-files-to-delete.d.ts.map +0 -0
- package/dist/functions/helpers/get-files-to-delete.js +0 -0
- package/dist/functions/helpers/get-files-to-delete.js.map +0 -0
- package/dist/functions/helpers/get-final-encoding-status.d.ts +0 -0
- package/dist/functions/helpers/get-final-encoding-status.d.ts.map +0 -0
- package/dist/functions/helpers/get-final-encoding-status.js +0 -0
- package/dist/functions/helpers/get-final-encoding-status.js.map +0 -0
- package/dist/functions/helpers/get-folder-size.d.ts +0 -0
- package/dist/functions/helpers/get-folder-size.d.ts.map +0 -0
- package/dist/functions/helpers/get-folder-size.js +0 -0
- package/dist/functions/helpers/get-folder-size.js.map +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts +0 -0
- package/dist/functions/helpers/get-lambdas-invoked-stats.d.ts.map +1 -1
- package/dist/functions/helpers/get-lambdas-invoked-stats.js +3 -2
- package/dist/functions/helpers/get-lambdas-invoked-stats.js.map +1 -1
- package/dist/functions/helpers/get-output-url-from-metadata.d.ts +3 -0
- package/dist/functions/helpers/get-output-url-from-metadata.d.ts.map +1 -0
- package/dist/functions/helpers/get-output-url-from-metadata.js +11 -0
- package/dist/functions/helpers/get-output-url-from-metadata.js.map +1 -0
- package/dist/functions/helpers/get-overall-progress.d.ts +0 -0
- package/dist/functions/helpers/get-overall-progress.d.ts.map +0 -0
- package/dist/functions/helpers/get-overall-progress.js +0 -0
- package/dist/functions/helpers/get-overall-progress.js.map +0 -0
- package/dist/functions/helpers/get-post-render-data.d.ts +1 -1
- package/dist/functions/helpers/get-post-render-data.d.ts.map +1 -1
- package/dist/functions/helpers/get-post-render-data.js +0 -0
- package/dist/functions/helpers/get-post-render-data.js.map +0 -0
- package/dist/functions/helpers/get-progress.d.ts +3 -2
- package/dist/functions/helpers/get-progress.d.ts.map +1 -1
- package/dist/functions/helpers/get-progress.js +60 -21
- package/dist/functions/helpers/get-progress.js.map +1 -1
- package/dist/functions/helpers/get-render-metadata.d.ts +0 -0
- package/dist/functions/helpers/get-render-metadata.d.ts.map +0 -0
- package/dist/functions/helpers/get-render-metadata.js +0 -0
- package/dist/functions/helpers/get-render-metadata.js.map +0 -0
- package/dist/functions/helpers/get-retry-stats.d.ts +0 -0
- package/dist/functions/helpers/get-retry-stats.d.ts.map +0 -0
- package/dist/functions/helpers/get-retry-stats.js +0 -0
- package/dist/functions/helpers/get-retry-stats.js.map +0 -0
- package/dist/functions/helpers/get-time-to-finish.d.ts +0 -0
- package/dist/functions/helpers/get-time-to-finish.d.ts.map +0 -0
- package/dist/functions/helpers/get-time-to-finish.js +1 -1
- package/dist/functions/helpers/get-time-to-finish.js.map +1 -1
- package/dist/functions/helpers/inspect-errors.d.ts +0 -0
- package/dist/functions/helpers/inspect-errors.d.ts.map +1 -1
- package/dist/functions/helpers/inspect-errors.js +8 -1
- package/dist/functions/helpers/inspect-errors.js.map +1 -1
- package/dist/functions/helpers/io.d.ts +0 -0
- package/dist/functions/helpers/io.d.ts.map +0 -0
- package/dist/functions/helpers/io.js +0 -0
- package/dist/functions/helpers/io.js.map +0 -0
- package/dist/functions/helpers/is-enosp-err.d.ts +1 -0
- package/dist/functions/helpers/is-enosp-err.d.ts.map +1 -1
- package/dist/functions/helpers/is-enosp-err.js +5 -1
- package/dist/functions/helpers/is-enosp-err.js.map +1 -1
- package/dist/functions/helpers/is-warm.d.ts +0 -0
- package/dist/functions/helpers/is-warm.d.ts.map +0 -0
- package/dist/functions/helpers/is-warm.js +0 -0
- package/dist/functions/helpers/is-warm.js.map +0 -0
- package/dist/functions/helpers/min-max.d.ts +3 -0
- package/dist/functions/helpers/min-max.d.ts.map +1 -0
- package/dist/functions/helpers/min-max.js +34 -0
- package/dist/functions/helpers/min-max.js.map +1 -0
- package/dist/functions/helpers/presign-url.d.ts +2 -0
- package/dist/functions/helpers/presign-url.d.ts.map +1 -0
- package/dist/functions/helpers/presign-url.js +9 -0
- package/dist/functions/helpers/presign-url.js.map +1 -0
- package/dist/functions/helpers/print-cloudwatch-helper.d.ts +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.d.ts.map +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.js +0 -0
- package/dist/functions/helpers/print-cloudwatch-helper.js.map +0 -0
- package/dist/functions/helpers/print-concurrency-curve.d.ts +2 -0
- package/dist/functions/helpers/print-concurrency-curve.d.ts.map +1 -0
- package/dist/functions/helpers/print-concurrency-curve.js +9 -0
- package/dist/functions/helpers/print-concurrency-curve.js.map +1 -0
- package/dist/functions/helpers/read-with-progress.d.ts +17 -0
- package/dist/functions/helpers/read-with-progress.d.ts.map +1 -0
- package/dist/functions/helpers/read-with-progress.js +19 -0
- package/dist/functions/helpers/read-with-progress.js.map +1 -0
- package/dist/functions/helpers/timer.d.ts +0 -0
- package/dist/functions/helpers/timer.d.ts.map +0 -0
- package/dist/functions/helpers/timer.js +0 -0
- package/dist/functions/helpers/timer.js.map +0 -0
- package/dist/functions/helpers/validate-composition.d.ts +2 -2
- package/dist/functions/helpers/validate-composition.d.ts.map +1 -1
- package/dist/functions/helpers/validate-composition.js +1 -1
- package/dist/functions/helpers/validate-composition.js.map +1 -1
- package/dist/functions/helpers/write-lambda-error.d.ts +2 -0
- package/dist/functions/helpers/write-lambda-error.d.ts.map +1 -1
- package/dist/functions/helpers/write-lambda-error.js +0 -0
- package/dist/functions/helpers/write-lambda-error.js.map +1 -1
- package/dist/functions/helpers/write-post-render-data.d.ts +1 -1
- package/dist/functions/helpers/write-post-render-data.d.ts.map +1 -1
- package/dist/functions/helpers/write-post-render-data.js +0 -0
- package/dist/functions/helpers/write-post-render-data.js.map +0 -0
- package/dist/functions/index.d.ts +1 -0
- package/dist/functions/index.d.ts.map +1 -1
- package/dist/functions/index.js +14 -10
- package/dist/functions/index.js.map +1 -1
- package/dist/functions/info.d.ts +0 -0
- 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/launch.d.ts +0 -0
- package/dist/functions/launch.d.ts.map +1 -1
- package/dist/functions/launch.js +57 -34
- package/dist/functions/launch.js.map +1 -1
- package/dist/functions/progress.d.ts +1 -0
- package/dist/functions/progress.d.ts.map +1 -1
- package/dist/functions/progress.js +2 -1
- package/dist/functions/progress.js.map +1 -1
- package/dist/functions/renderer.d.ts +0 -0
- package/dist/functions/renderer.d.ts.map +1 -1
- package/dist/functions/renderer.js +32 -70
- package/dist/functions/renderer.js.map +1 -1
- package/dist/functions/start.d.ts +0 -0
- package/dist/functions/start.d.ts.map +1 -1
- package/dist/functions/start.js +9 -11
- package/dist/functions/start.js.map +1 -1
- package/dist/functions/still.d.ts +0 -0
- package/dist/functions/still.d.ts.map +1 -1
- package/dist/functions/still.js +26 -18
- package/dist/functions/still.js.map +1 -1
- package/dist/index.d.ts +21 -17
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/internals.d.ts +0 -0
- package/dist/internals.d.ts.map +0 -0
- package/dist/internals.js +0 -0
- package/dist/internals.js.map +0 -0
- package/dist/pricing/aws-regions.d.ts +1 -1
- package/dist/pricing/aws-regions.d.ts.map +1 -1
- package/dist/pricing/aws-regions.js +3 -14
- package/dist/pricing/aws-regions.js.map +1 -1
- package/dist/pricing/price-per-1-s.d.ts +16 -0
- package/dist/pricing/price-per-1-s.d.ts.map +1 -1
- package/dist/pricing/price-per-1-s.js +149 -187
- package/dist/pricing/price-per-1-s.js.map +1 -1
- package/dist/regions.d.ts +0 -0
- package/dist/regions.d.ts.map +0 -0
- package/dist/regions.js +0 -0
- package/dist/regions.js.map +0 -0
- package/dist/shared/await.d.ts +0 -0
- package/dist/shared/await.d.ts.map +0 -0
- package/dist/shared/await.js +0 -0
- package/dist/shared/await.js.map +0 -0
- package/dist/shared/aws-clients.d.ts +10 -0
- package/dist/shared/aws-clients.d.ts.map +1 -1
- package/dist/shared/aws-clients.js +71 -24
- package/dist/shared/aws-clients.js.map +1 -1
- package/dist/shared/bundle-site.d.ts +0 -0
- package/dist/shared/bundle-site.d.ts.map +0 -0
- package/dist/shared/bundle-site.js +0 -0
- package/dist/shared/bundle-site.js.map +0 -0
- package/dist/shared/call-lambda.d.ts +0 -0
- package/dist/shared/call-lambda.d.ts.map +0 -0
- package/dist/shared/call-lambda.js +0 -0
- package/dist/shared/call-lambda.js.map +0 -0
- package/dist/shared/check-credentials.d.ts +0 -0
- package/dist/shared/check-credentials.d.ts.map +1 -1
- package/dist/shared/check-credentials.js +21 -6
- package/dist/shared/check-credentials.js.map +1 -1
- package/dist/shared/chunk.d.ts +0 -0
- package/dist/shared/chunk.d.ts.map +0 -0
- package/dist/shared/chunk.js +0 -0
- package/dist/shared/chunk.js.map +0 -0
- package/dist/shared/constants.d.ts +52 -26
- package/dist/shared/constants.d.ts.map +1 -1
- package/dist/shared/constants.js +25 -13
- package/dist/shared/constants.js.map +1 -1
- package/dist/shared/convert-to-serve-url.d.ts +3 -0
- package/dist/shared/convert-to-serve-url.d.ts.map +1 -0
- package/dist/shared/convert-to-serve-url.js +19 -0
- package/dist/shared/convert-to-serve-url.js.map +1 -0
- package/dist/shared/docs-url.d.ts +2 -0
- package/dist/shared/docs-url.d.ts.map +1 -0
- package/dist/shared/docs-url.js +5 -0
- package/dist/shared/docs-url.js.map +1 -0
- package/dist/shared/function-zip-path.d.ts +0 -0
- package/dist/shared/function-zip-path.d.ts.map +0 -0
- package/dist/shared/function-zip-path.js +0 -0
- package/dist/shared/function-zip-path.js.map +0 -0
- package/dist/shared/get-account-id.d.ts +0 -0
- package/dist/shared/get-account-id.d.ts.map +0 -0
- package/dist/shared/get-account-id.js +0 -0
- package/dist/shared/get-account-id.js.map +0 -0
- package/dist/shared/get-function-version.d.ts +0 -0
- package/dist/shared/get-function-version.d.ts.map +0 -0
- package/dist/shared/get-function-version.js +0 -0
- package/dist/shared/get-function-version.js.map +0 -0
- package/dist/shared/hosted-layers.d.ts +11 -6
- package/dist/shared/hosted-layers.d.ts.map +1 -1
- package/dist/shared/hosted-layers.js +286 -295
- package/dist/shared/hosted-layers.js.map +1 -1
- package/dist/shared/is-in-lambda.d.ts +2 -0
- package/dist/shared/is-in-lambda.d.ts.map +1 -0
- package/dist/shared/is-in-lambda.js +6 -0
- package/dist/shared/is-in-lambda.js.map +1 -0
- package/dist/shared/make-s3-url.d.ts +0 -0
- package/dist/shared/make-s3-url.d.ts.map +0 -0
- package/dist/shared/make-s3-url.js +0 -0
- package/dist/shared/make-s3-url.js.map +0 -0
- package/dist/shared/parse-lambda-initialized-key.d.ts +0 -0
- package/dist/shared/parse-lambda-initialized-key.d.ts.map +0 -0
- package/dist/shared/parse-lambda-initialized-key.js +0 -0
- package/dist/shared/parse-lambda-initialized-key.js.map +0 -0
- package/dist/shared/parse-lambda-timings-key.d.ts +2 -2
- package/dist/shared/parse-lambda-timings-key.d.ts.map +1 -1
- package/dist/shared/parse-lambda-timings-key.js +1 -2
- package/dist/shared/parse-lambda-timings-key.js.map +1 -1
- package/dist/shared/random-hash.d.ts +3 -1
- package/dist/shared/random-hash.d.ts.map +1 -1
- package/dist/shared/random-hash.js +2 -1
- package/dist/shared/random-hash.js.map +1 -1
- package/dist/shared/return-values.d.ts +0 -2
- package/dist/shared/return-values.d.ts.map +1 -1
- package/dist/shared/return-values.js +0 -0
- package/dist/shared/return-values.js.map +1 -1
- package/dist/shared/sleep.d.ts +0 -0
- package/dist/shared/sleep.d.ts.map +0 -0
- package/dist/shared/sleep.js +0 -0
- package/dist/shared/sleep.js.map +0 -0
- package/dist/shared/stream-to-string.d.ts +0 -0
- package/dist/shared/stream-to-string.d.ts.map +0 -0
- package/dist/shared/stream-to-string.js +0 -0
- package/dist/shared/stream-to-string.js.map +0 -0
- package/dist/shared/validate-architecture.d.ts +5 -0
- package/dist/shared/validate-architecture.d.ts.map +1 -0
- package/dist/shared/validate-architecture.js +15 -0
- package/dist/shared/validate-architecture.js.map +1 -0
- package/dist/shared/validate-aws-region.d.ts +0 -0
- package/dist/shared/validate-aws-region.d.ts.map +0 -0
- package/dist/shared/validate-aws-region.js +0 -0
- package/dist/shared/validate-aws-region.js.map +0 -0
- package/dist/shared/validate-bucketname.d.ts +4 -0
- package/dist/shared/validate-bucketname.d.ts.map +1 -0
- package/dist/shared/validate-bucketname.js +18 -0
- package/dist/shared/validate-bucketname.js.map +1 -0
- package/dist/shared/validate-disk-size-in-mb.d.ts +2 -0
- package/dist/shared/validate-disk-size-in-mb.d.ts.map +1 -0
- package/dist/shared/validate-disk-size-in-mb.js +24 -0
- package/dist/shared/validate-disk-size-in-mb.js.map +1 -0
- package/dist/shared/validate-frames-per-lambda.d.ts +2 -0
- package/dist/shared/validate-frames-per-lambda.d.ts.map +1 -0
- package/dist/shared/validate-frames-per-lambda.js +29 -0
- package/dist/shared/validate-frames-per-lambda.js.map +1 -0
- package/dist/shared/validate-memory-size.d.ts +0 -0
- package/dist/shared/validate-memory-size.d.ts.map +0 -0
- package/dist/shared/validate-memory-size.js +0 -0
- package/dist/shared/validate-memory-size.js.map +0 -0
- package/dist/shared/validate-outname.d.ts +3 -0
- package/dist/shared/validate-outname.d.ts.map +1 -0
- package/dist/shared/validate-outname.js +27 -0
- package/dist/shared/validate-outname.js.map +1 -0
- package/dist/shared/validate-presign-expiration.d.ts +4 -0
- package/dist/shared/validate-presign-expiration.d.ts.map +1 -0
- package/dist/shared/validate-presign-expiration.js +30 -0
- package/dist/shared/validate-presign-expiration.js.map +1 -0
- package/dist/shared/validate-privacy.d.ts +0 -0
- package/dist/shared/validate-privacy.d.ts.map +0 -0
- package/dist/shared/validate-privacy.js +0 -0
- package/dist/shared/validate-privacy.js.map +0 -0
- package/dist/shared/validate-retention-period.d.ts +2 -0
- package/dist/shared/validate-retention-period.d.ts.map +1 -0
- package/dist/shared/validate-retention-period.js +30 -0
- package/dist/shared/validate-retention-period.js.map +1 -0
- package/dist/shared/validate-retries.d.ts +2 -0
- package/dist/shared/validate-retries.d.ts.map +1 -0
- package/dist/shared/validate-retries.js +22 -0
- package/dist/shared/validate-retries.js.map +1 -0
- package/dist/shared/validate-serveurl.d.ts +2 -0
- package/dist/shared/validate-serveurl.d.ts.map +1 -0
- package/dist/shared/validate-serveurl.js +10 -0
- package/dist/shared/validate-serveurl.js.map +1 -0
- package/dist/shared/validate-site-name.d.ts +2 -0
- package/dist/shared/validate-site-name.d.ts.map +1 -0
- package/dist/shared/validate-site-name.js +18 -0
- package/dist/shared/validate-site-name.js.map +1 -0
- package/dist/shared/validate-timeout.d.ts +0 -0
- package/dist/shared/validate-timeout.d.ts.map +0 -0
- package/dist/shared/validate-timeout.js +0 -0
- package/dist/shared/validate-timeout.js.map +0 -0
- package/package.json +24 -19
- package/remotion-lambda-cli.js +1 -1
- package/remotionlambda.zip +0 -0
- package/dist/api/download-video.d.ts +0 -14
- package/dist/api/download-video.d.ts.map +0 -1
- package/dist/api/download-video.js +0 -62
- package/dist/api/download-video.js.map +0 -1
- package/dist/api/iam-validation/required-permissions.d.ts +0 -6
- package/dist/api/iam-validation/required-permissions.d.ts.map +0 -1
- package/dist/api/iam-validation/required-permissions.js.map +0 -1
- package/dist/api/render-video-on-lambda.d.ts.map +0 -1
- package/dist/api/render-video-on-lambda.js.map +0 -1
- package/dist/api/validate-frames-per-lambda.d.ts +0 -2
- package/dist/api/validate-frames-per-lambda.d.ts.map +0 -1
- package/dist/api/validate-frames-per-lambda.js +0 -26
- package/dist/api/validate-frames-per-lambda.js.map +0 -1
- package/dist/cleanup/cleanup-lambdas.d.ts +0 -7
- package/dist/cleanup/cleanup-lambdas.d.ts.map +0 -1
- package/dist/cleanup/cleanup-lambdas.js +0 -22
- package/dist/cleanup/cleanup-lambdas.js.map +0 -1
- package/dist/cleanup/s3-buckets.d.ts +0 -16
- package/dist/cleanup/s3-buckets.d.ts.map +0 -1
- package/dist/cleanup/s3-buckets.js +0 -59
- package/dist/cleanup/s3-buckets.js.map +0 -1
- package/dist/cli/cleanup.d.ts +0 -2
- package/dist/cli/cleanup.d.ts.map +0 -1
- package/dist/cli/cleanup.js +0 -3
- package/dist/cli/cleanup.js.map +0 -1
- package/dist/functions/helpers/is-fatal-error.d.ts +0 -3
- package/dist/functions/helpers/is-fatal-error.d.ts.map +0 -1
- package/dist/functions/helpers/is-fatal-error.js +0 -8
- package/dist/functions/helpers/is-fatal-error.js.map +0 -1
- package/dist/functions/helpers/upload-browser-logs.d.ts +0 -11
- package/dist/functions/helpers/upload-browser-logs.d.ts.map +0 -1
- package/dist/functions/helpers/upload-browser-logs.js +0 -18
- package/dist/functions/helpers/upload-browser-logs.js.map +0 -1
- package/dist/functions/helpers/upload-logs.d.ts +0 -1
- package/dist/functions/helpers/upload-logs.d.ts.map +0 -1
- package/dist/functions/helpers/upload-logs.js +0 -2
- package/dist/functions/helpers/upload-logs.js.map +0 -1
- package/dist/pricing/calculate-price.d.ts +0 -15
- package/dist/pricing/calculate-price.d.ts.map +0 -1
- package/dist/pricing/calculate-price.js +0 -34
- package/dist/pricing/calculate-price.js.map +0 -1
- package/dist/run.d.ts +0 -2
- package/dist/run.d.ts.map +0 -1
- package/dist/run.js +0 -104
- package/dist/run.js.map +0 -1
- package/dist/shared/get-file-extension-from-codec.d.ts +0 -3
- package/dist/shared/get-file-extension-from-codec.d.ts.map +0 -1
- package/dist/shared/get-file-extension-from-codec.js +0 -33
- package/dist/shared/get-file-extension-from-codec.js.map +0 -1
- package/dist/shared/normalize-serve-url.d.ts +0 -2
- package/dist/shared/normalize-serve-url.d.ts.map +0 -1
- package/dist/shared/normalize-serve-url.js +0 -20
- package/dist/shared/normalize-serve-url.js.map +0 -1
- package/dist/shared/tmpdir.d.ts +0 -3
- package/dist/shared/tmpdir.d.ts.map +0 -1
- package/dist/shared/tmpdir.js +0 -23
- package/dist/shared/tmpdir.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quit.d.ts","sourceRoot":"","sources":["../../../src/cli/helpers/quit.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,IAAI,aAAc,MAAM,KAAG,KAEvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quit.js","sourceRoot":"","sources":["../../../src/cli/helpers/quit.ts"],"names":[],"mappings":";;;AAAO,MAAM,IAAI,GAAG,CAAC,QAAgB,EAAS,EAAE;IAC/C,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACxB,CAAC,CAAC;AAFW,QAAA,IAAI,QAEf"}
|
|
@@ -0,0 +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;MAClB,QAAQ,OAAO,CA8BlB,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.yesOrNo = void 0;
|
|
7
|
+
const readline_1 = __importDefault(require("readline"));
|
|
8
|
+
const options = {
|
|
9
|
+
yes: ['yes', 'y'],
|
|
10
|
+
no: ['no', 'n'],
|
|
11
|
+
};
|
|
12
|
+
function defaultInvalidHandler({ yesValues, noValues, }) {
|
|
13
|
+
process.stdout.write('\nInvalid Response.\n');
|
|
14
|
+
process.stdout.write('Answer either yes : (' + yesValues.join(', ') + ') \n');
|
|
15
|
+
process.stdout.write('Or no: (' + noValues.join(', ') + ') \n\n');
|
|
16
|
+
}
|
|
17
|
+
const yesOrNo = ({ question, defaultValue, }) => {
|
|
18
|
+
const invalid = defaultInvalidHandler;
|
|
19
|
+
const yesValues = options.yes.map((v) => v.toLowerCase());
|
|
20
|
+
const noValues = options.no.map((v) => v.toLowerCase());
|
|
21
|
+
const rl = readline_1.default.createInterface({
|
|
22
|
+
input: process.stdin,
|
|
23
|
+
output: process.stdout,
|
|
24
|
+
});
|
|
25
|
+
return new Promise((resolve) => {
|
|
26
|
+
rl.question(question + ' ', async (answer) => {
|
|
27
|
+
rl.close();
|
|
28
|
+
const cleaned = answer.trim().toLowerCase();
|
|
29
|
+
if (cleaned === '' && defaultValue !== null)
|
|
30
|
+
return resolve(defaultValue);
|
|
31
|
+
if (yesValues.indexOf(cleaned) >= 0)
|
|
32
|
+
return resolve(true);
|
|
33
|
+
if (noValues.indexOf(cleaned) >= 0)
|
|
34
|
+
return resolve(false);
|
|
35
|
+
invalid({ question, yesValues, noValues });
|
|
36
|
+
const result = await (0, exports.yesOrNo)({
|
|
37
|
+
question,
|
|
38
|
+
defaultValue,
|
|
39
|
+
});
|
|
40
|
+
resolve(result);
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
exports.yesOrNo = yesOrNo;
|
|
45
|
+
//# sourceMappingURL=yes-or-no.js.map
|
|
@@ -0,0 +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,IAAI,CAAC,GAAG,QAAQ,CAAC,CAAC;AACnE,CAAC;AAEM,MAAM,OAAO,GAAG,CAAC,EACvB,QAAQ,EACR,YAAY,GAIZ,EAAoB,EAAE;IACtB,MAAM,OAAO,GAAG,qBAAqB,CAAC;IAEtC,MAAM,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAC1D,MAAM,QAAQ,GAAG,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;IAExD,MAAM,EAAE,GAAG,kBAAQ,CAAC,eAAe,CAAC;QACnC,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,MAAM,EAAE,OAAO,CAAC,MAAM;KACtB,CAAC,CAAC;IAEH,OAAO,IAAI,OAAO,CAAU,CAAC,OAAO,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"}
|
package/dist/cli/index.d.ts
CHANGED
|
File without changes
|
package/dist/cli/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AA6GA,eAAO,MAAM,cAAc,SAAgB,MAAM,EAAE,kBAyClD,CAAC;AAEF,eAAO,MAAM,GAAG,qBAIf,CAAC"}
|
package/dist/cli/index.js
CHANGED
|
@@ -2,16 +2,22 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.cli = exports.executeCommand = void 0;
|
|
4
4
|
const cli_1 = require("@remotion/cli");
|
|
5
|
+
const suggested_policy_1 = require("../api/iam-validation/suggested-policy");
|
|
5
6
|
const check_credentials_1 = require("../shared/check-credentials");
|
|
7
|
+
const docs_url_1 = require("../shared/docs-url");
|
|
6
8
|
const args_1 = require("./args");
|
|
7
9
|
const functions_1 = require("./commands/functions");
|
|
8
10
|
const policies_1 = require("./commands/policies/policies");
|
|
9
11
|
const role_1 = require("./commands/policies/role");
|
|
10
12
|
const user_1 = require("./commands/policies/user");
|
|
13
|
+
const quotas_1 = require("./commands/quotas");
|
|
14
|
+
const regions_1 = require("./commands/regions");
|
|
11
15
|
const render_1 = require("./commands/render/render");
|
|
12
16
|
const sites_1 = require("./commands/sites");
|
|
13
17
|
const still_1 = require("./commands/still");
|
|
14
18
|
const help_1 = require("./help");
|
|
19
|
+
const quit_1 = require("./helpers/quit");
|
|
20
|
+
const is_cli_1 = require("./is-cli");
|
|
15
21
|
const log_1 = require("./log");
|
|
16
22
|
const requiresCredentials = (args) => {
|
|
17
23
|
if (args[0] === policies_1.POLICIES_COMMAND) {
|
|
@@ -21,13 +27,16 @@ const requiresCredentials = (args) => {
|
|
|
21
27
|
if (args[1] === role_1.ROLE_SUBCOMMAND) {
|
|
22
28
|
return false;
|
|
23
29
|
}
|
|
30
|
+
if (args[1] === regions_1.REGIONS_COMMAND) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
24
33
|
}
|
|
25
34
|
return true;
|
|
26
35
|
};
|
|
27
|
-
const matchCommand =
|
|
36
|
+
const matchCommand = (args) => {
|
|
28
37
|
if (args_1.parsedLambdaCli.help || args.length === 0) {
|
|
29
38
|
(0, help_1.printHelp)();
|
|
30
|
-
|
|
39
|
+
(0, quit_1.quit)(0);
|
|
31
40
|
}
|
|
32
41
|
if (requiresCredentials(args)) {
|
|
33
42
|
(0, check_credentials_1.checkCredentials)();
|
|
@@ -41,9 +50,15 @@ const matchCommand = async (args) => {
|
|
|
41
50
|
if (args[0] === functions_1.FUNCTIONS_COMMAND) {
|
|
42
51
|
return (0, functions_1.functionsCommand)(args.slice(1));
|
|
43
52
|
}
|
|
53
|
+
if (args[0] === quotas_1.QUOTAS_COMMAND) {
|
|
54
|
+
return (0, quotas_1.quotasCommand)(args.slice(1));
|
|
55
|
+
}
|
|
44
56
|
if (args[0] === policies_1.POLICIES_COMMAND) {
|
|
45
57
|
return (0, policies_1.policiesCommand)(args.slice(1));
|
|
46
58
|
}
|
|
59
|
+
if (args[0] === regions_1.REGIONS_COMMAND) {
|
|
60
|
+
return (0, regions_1.regionsCommand)();
|
|
61
|
+
}
|
|
47
62
|
if (args[0] === sites_1.SITES_COMMAND) {
|
|
48
63
|
return (0, sites_1.sitesCommand)(args.slice(1));
|
|
49
64
|
}
|
|
@@ -51,13 +66,13 @@ const matchCommand = async (args) => {
|
|
|
51
66
|
log_1.Log.info('The command has been renamed.');
|
|
52
67
|
log_1.Log.info('Before: remotion-lambda upload <entry-point>');
|
|
53
68
|
log_1.Log.info('After: remotion lambda sites create <entry-point>');
|
|
54
|
-
|
|
69
|
+
(0, quit_1.quit)(1);
|
|
55
70
|
}
|
|
56
71
|
if (args[0] === 'deploy') {
|
|
57
72
|
log_1.Log.info('The command has been renamed.');
|
|
58
73
|
log_1.Log.info('Before: remotion-lambda deploy');
|
|
59
74
|
log_1.Log.info('After: remotion lambda functions deploy');
|
|
60
|
-
|
|
75
|
+
(0, quit_1.quit)(1);
|
|
61
76
|
}
|
|
62
77
|
if (args[0] === 'ls') {
|
|
63
78
|
log_1.Log.info(`The "ls" command does not exist.`);
|
|
@@ -73,26 +88,42 @@ const matchCommand = async (args) => {
|
|
|
73
88
|
}
|
|
74
89
|
log_1.Log.error(`Command ${args[0]} not found.`);
|
|
75
90
|
(0, help_1.printHelp)();
|
|
76
|
-
|
|
91
|
+
(0, quit_1.quit)(1);
|
|
77
92
|
};
|
|
78
93
|
const executeCommand = async (args) => {
|
|
79
|
-
var _a;
|
|
94
|
+
var _a, _b;
|
|
80
95
|
try {
|
|
96
|
+
(0, is_cli_1.setIsCli)(true);
|
|
81
97
|
await matchCommand(args);
|
|
82
98
|
}
|
|
83
99
|
catch (err) {
|
|
84
100
|
const error = err;
|
|
101
|
+
if (error.message.includes('The role defined for the function cannot be assumed by Lambda')) {
|
|
102
|
+
log_1.Log.error(`
|
|
103
|
+
The role "${suggested_policy_1.ROLE_NAME}" does not exist in your AWS account or has the wrong policy assigned to it. Common reasons:
|
|
104
|
+
- The name of the role is not "${suggested_policy_1.ROLE_NAME}"
|
|
105
|
+
- The policy is not exactly as specified in the setup guide
|
|
106
|
+
|
|
107
|
+
Revisit ${docs_url_1.DOCS_URL}/docs/lambda/setup and make sure you set up the role and role policy correctly. Also see the troubleshooting page: ${docs_url_1.DOCS_URL}/docs/lambda/troubleshooting/permissions. The original error message is:
|
|
108
|
+
`.trim());
|
|
109
|
+
}
|
|
85
110
|
if ((_a = error.stack) === null || _a === void 0 ? void 0 : _a.includes('AccessDenied')) {
|
|
86
|
-
|
|
87
|
-
|
|
111
|
+
log_1.Log.error(`
|
|
112
|
+
AWS returned an "AccessDenied" error message meaning a permission is missing. Read the permissions troubleshooting page: ${docs_url_1.DOCS_URL}/docs/lambda/troubleshooting/permissions. The original error message is:
|
|
113
|
+
`.trim());
|
|
114
|
+
}
|
|
115
|
+
if ((_b = error.stack) === null || _b === void 0 ? void 0 : _b.includes('TooManyRequestsException')) {
|
|
116
|
+
log_1.Log.error(`
|
|
117
|
+
AWS returned an "TooManyRequestsException" error message which could mean you reached the concurrency limit of AWS Lambda. You can increase the limit - read this troubleshooting page: ${docs_url_1.DOCS_URL}/docs/lambda/troubleshooting/rate-limit. The original error message is:
|
|
118
|
+
`.trim());
|
|
88
119
|
}
|
|
89
120
|
log_1.Log.error(error.stack);
|
|
90
|
-
|
|
121
|
+
(0, quit_1.quit)(1);
|
|
91
122
|
}
|
|
92
123
|
};
|
|
93
124
|
exports.executeCommand = executeCommand;
|
|
94
125
|
const cli = async () => {
|
|
95
|
-
cli_1.CliInternals.initializeRenderCli('lambda');
|
|
126
|
+
await cli_1.CliInternals.initializeRenderCli('lambda');
|
|
96
127
|
await (0, exports.executeCommand)(args_1.parsedLambdaCli._);
|
|
97
128
|
};
|
|
98
129
|
exports.cli = cli;
|
package/dist/cli/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";;;AAAA,uCAA2C;AAC3C,mEAA6D;AAC7D,iCAAuC;AACvC,oDAAyE;AACzE,2DAA+E;AAC/E,mDAAyD;AACzD,mDAAyD;AACzD,qDAAuE;AACvE,4CAA6D;AAC7D,4CAA6D;AAC7D,iCAAiC;AACjC,+BAA0B;AAE1B,MAAM,mBAAmB,GAAG,CAAC,IAAc,EAAE,EAAE;IAC9C,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,2BAAgB,EAAE;QACjC,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,sBAAe,EAAE;YAChC,OAAO,KAAK,CAAC;SACb;QAED,IAAI,IAAI,CAAC,CAAC,CAAC,KAAK,sBAAe,EAAE;YAChC,OAAO,KAAK,CAAC;SACb;KACD;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-cli.d.ts","sourceRoot":"","sources":["../../src/cli/is-cli.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,eAAc,CAAC;AAEpC,eAAO,MAAM,QAAQ,QAAS,OAAO,SAEpC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.setIsCli = exports.getIsCli = void 0;
|
|
4
|
+
let isCli = false;
|
|
5
|
+
const getIsCli = () => isCli;
|
|
6
|
+
exports.getIsCli = getIsCli;
|
|
7
|
+
const setIsCli = (cli) => {
|
|
8
|
+
isCli = cli;
|
|
9
|
+
};
|
|
10
|
+
exports.setIsCli = setIsCli;
|
|
11
|
+
//# sourceMappingURL=is-cli.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"is-cli.js","sourceRoot":"","sources":["../../src/cli/is-cli.ts"],"names":[],"mappings":";;;AAAA,IAAI,KAAK,GAAG,KAAK,CAAC;AAEX,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,KAAK,CAAC;AAAvB,QAAA,QAAQ,YAAe;AAE7B,MAAM,QAAQ,GAAG,CAAC,GAAY,EAAE,EAAE;IACxC,KAAK,GAAG,GAAG,CAAC;AACb,CAAC,CAAC;AAFW,QAAA,QAAQ,YAEnB"}
|
package/dist/cli/log.d.ts
CHANGED
|
File without changes
|
package/dist/cli/log.d.ts.map
CHANGED
|
File without changes
|
package/dist/cli/log.js
CHANGED
|
File without changes
|
package/dist/cli/log.js.map
CHANGED
|
File without changes
|
package/dist/client.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { renderStillOnLambda } from './api/render-still-on-lambda';
|
|
1
|
+
import { getFunctions } from './api/get-functions';
|
|
3
2
|
import { getRenderProgress } from './api/get-render-progress';
|
|
3
|
+
import { renderMediaOnLambda, renderVideoOnLambda } from './api/render-media-on-lambda';
|
|
4
|
+
import { renderStillOnLambda } from './api/render-still-on-lambda';
|
|
4
5
|
import type { AwsRegion } from './pricing/aws-regions';
|
|
5
6
|
import type { RenderProgress } from './shared/constants';
|
|
6
|
-
export { renderVideoOnLambda, renderStillOnLambda, getRenderProgress };
|
|
7
|
+
export { renderVideoOnLambda, renderMediaOnLambda, renderStillOnLambda, getRenderProgress, getFunctions, };
|
|
7
8
|
export type { AwsRegion, RenderProgress };
|
|
8
9
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,iBAAiB,EAAC,MAAM,2BAA2B,CAAC;AAC5D,OAAO,EACN,mBAAmB,EACnB,mBAAmB,EACnB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAC,mBAAmB,EAAC,MAAM,8BAA8B,CAAC;AACjE,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,oBAAoB,CAAC;AAEvD,OAAO,EACN,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,GACZ,CAAC;AACF,YAAY,EAAC,SAAS,EAAE,cAAc,EAAC,CAAC"}
|
package/dist/client.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getRenderProgress = exports.renderStillOnLambda = exports.renderVideoOnLambda = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "
|
|
6
|
-
const render_still_on_lambda_1 = require("./api/render-still-on-lambda");
|
|
7
|
-
Object.defineProperty(exports, "renderStillOnLambda", { enumerable: true, get: function () { return render_still_on_lambda_1.renderStillOnLambda; } });
|
|
3
|
+
exports.getFunctions = exports.getRenderProgress = exports.renderStillOnLambda = exports.renderMediaOnLambda = exports.renderVideoOnLambda = void 0;
|
|
4
|
+
const get_functions_1 = require("./api/get-functions");
|
|
5
|
+
Object.defineProperty(exports, "getFunctions", { enumerable: true, get: function () { return get_functions_1.getFunctions; } });
|
|
8
6
|
const get_render_progress_1 = require("./api/get-render-progress");
|
|
9
7
|
Object.defineProperty(exports, "getRenderProgress", { enumerable: true, get: function () { return get_render_progress_1.getRenderProgress; } });
|
|
8
|
+
const render_media_on_lambda_1 = require("./api/render-media-on-lambda");
|
|
9
|
+
Object.defineProperty(exports, "renderMediaOnLambda", { enumerable: true, get: function () { return render_media_on_lambda_1.renderMediaOnLambda; } });
|
|
10
|
+
Object.defineProperty(exports, "renderVideoOnLambda", { enumerable: true, get: function () { return render_media_on_lambda_1.renderVideoOnLambda; } });
|
|
11
|
+
const render_still_on_lambda_1 = require("./api/render-still-on-lambda");
|
|
12
|
+
Object.defineProperty(exports, "renderStillOnLambda", { enumerable: true, get: function () { return render_still_on_lambda_1.renderStillOnLambda; } });
|
|
10
13
|
//# sourceMappingURL=client.js.map
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;AAAA,uDAAiD;AAehD,6FAfO,4BAAY,OAeP;AAdb,mEAA4D;AAa3D,kGAbO,uCAAiB,OAaP;AAZlB,yEAGsC;AAOrC,oGATA,4CAAmB,OASA;AADnB,oGAPA,4CAAmB,OAOA;AALpB,yEAAiE;AAOhE,oGAPO,4CAAmB,OAOP"}
|
package/dist/defaults.d.ts
CHANGED
|
File without changes
|
package/dist/defaults.d.ts.map
CHANGED
|
File without changes
|
package/dist/defaults.js
CHANGED
|
File without changes
|
package/dist/defaults.js.map
CHANGED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OptimizationProfile } from './types';
|
|
2
|
-
export declare const canUseOptimization: ({ optimization, framesPerLambda,
|
|
2
|
+
export declare const canUseOptimization: ({ optimization, framesPerLambda, frameRange, }: {
|
|
3
3
|
optimization: OptimizationProfile | null;
|
|
4
4
|
framesPerLambda: number;
|
|
5
|
-
|
|
5
|
+
frameRange: [number, number];
|
|
6
6
|
}) => boolean;
|
|
7
7
|
//# sourceMappingURL=can-use-optimization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"can-use-optimization.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/can-use-optimization.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,kBAAkB;kBAKhB,mBAAmB,GAAG,IAAI;qBACvB,MAAM;gBACX,MAAM;
|
|
1
|
+
{"version":3,"file":"can-use-optimization.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/can-use-optimization.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,kBAAkB;kBAKhB,mBAAmB,GAAG,IAAI;qBACvB,MAAM;gBACX,CAAC,MAAM,EAAE,MAAM,CAAC;aAuB5B,CAAC"}
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.canUseOptimization = void 0;
|
|
4
4
|
const defaults_1 = require("../../defaults");
|
|
5
|
-
const canUseOptimization = ({ optimization, framesPerLambda,
|
|
5
|
+
const canUseOptimization = ({ optimization, framesPerLambda, frameRange, }) => {
|
|
6
6
|
if (!optimization) {
|
|
7
7
|
return false;
|
|
8
8
|
}
|
|
9
9
|
if (optimization.framesPerLambda !== framesPerLambda) {
|
|
10
10
|
return false;
|
|
11
11
|
}
|
|
12
|
-
if (optimization.
|
|
12
|
+
if (optimization.lambdaVersion !== defaults_1.CURRENT_VERSION) {
|
|
13
13
|
return false;
|
|
14
14
|
}
|
|
15
|
-
if (optimization.
|
|
15
|
+
if (optimization.frameRange[0] !== frameRange[0]) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
if (optimization.frameRange[1] !== frameRange[1]) {
|
|
16
19
|
return false;
|
|
17
20
|
}
|
|
18
21
|
return true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"can-use-optimization.js","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/can-use-optimization.ts"],"names":[],"mappings":";;;AAAA,6CAA+C;AAGxC,MAAM,kBAAkB,GAAG,CAAC,EAClC,YAAY,EACZ,eAAe,EACf,UAAU,GAKV,EAAE,EAAE;IACJ,IAAI,CAAC,YAAY,EAAE;QAClB,OAAO,KAAK,CAAC;KACb;IAED,IAAI,YAAY,CAAC,eAAe,KAAK,eAAe,EAAE;QACrD,OAAO,KAAK,CAAC;KACb;IAED,IAAI,YAAY,CAAC,UAAU,KAAK,UAAU,EAAE;
|
|
1
|
+
{"version":3,"file":"can-use-optimization.js","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/can-use-optimization.ts"],"names":[],"mappings":";;;AAAA,6CAA+C;AAGxC,MAAM,kBAAkB,GAAG,CAAC,EAClC,YAAY,EACZ,eAAe,EACf,UAAU,GAKV,EAAE,EAAE;IACJ,IAAI,CAAC,YAAY,EAAE;QAClB,OAAO,KAAK,CAAC;KACb;IAED,IAAI,YAAY,CAAC,eAAe,KAAK,eAAe,EAAE;QACrD,OAAO,KAAK,CAAC;KACb;IAED,IAAI,YAAY,CAAC,aAAa,KAAK,0BAAe,EAAE;QACnD,OAAO,KAAK,CAAC;KACb;IAED,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE;QACjD,OAAO,KAAK,CAAC;KACb;IAED,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,EAAE;QACjD,OAAO,KAAK,CAAC;KACb;IAED,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AA9BW,QAAA,kBAAkB,sBA8B7B"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { AwsRegion } from '../../pricing/aws-regions';
|
|
2
|
-
import { ChunkTimingData } from './types';
|
|
3
2
|
export declare const collectChunkInformation: ({ bucketName, renderId, region, expectedBucketOwner, }: {
|
|
4
3
|
bucketName: string;
|
|
5
4
|
renderId: string;
|
|
6
5
|
region: AwsRegion;
|
|
7
6
|
expectedBucketOwner: string;
|
|
8
|
-
}) => Promise<
|
|
7
|
+
}) => Promise<(Omit<import("./types").ObjectChunkTimingData, "timings"> & {
|
|
8
|
+
timings: number[];
|
|
9
|
+
})[]>;
|
|
9
10
|
//# sourceMappingURL=collect-data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collect-data.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/collect-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"collect-data.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/collect-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,2BAA2B,CAAC;AAMpD,eAAO,MAAM,uBAAuB;gBAMvB,MAAM;cACR,MAAM;YACR,SAAS;yBACI,MAAM;;;KAsB3B,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,4 @@
|
|
|
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[];
|
|
7
4
|
//# sourceMappingURL=get-frame-ranges-from-profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-frame-ranges-from-profile.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/get-frame-ranges-from-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,yBAAyB,8BAEnC
|
|
1
|
+
{"version":3,"file":"get-frame-ranges-from-profile.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/get-frame-ranges-from-profile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,yBAAyB,8BAEnC,CAAC,MAAM,EAAE,MAAM,CAAC,EAElB,CAAC;AAEF,eAAO,MAAM,wBAAwB,iEAEpC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,16 +1,10 @@
|
|
|
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;
|
|
16
10
|
//# sourceMappingURL=optimize-profile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optimize-profile.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/optimize-profile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,kBAAkB;iBAMjB
|
|
1
|
+
{"version":3,"file":"optimize-profile.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/optimize-profile.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAEtC,eAAO,MAAM,kBAAkB;iBAMjB,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;eACpB,MAAM;aACR,MAAM;mBACA,MAAM;MAClB,CAAC,MAAM,EAAE,MAAM,CAAC,EAkCnB,CAAC;AAEF,eAAO,MAAM,eAAe,4CAsC3B,CAAC;AAEF,eAAO,MAAM,0BAA0B,mCAE9B,MAAM,kBAQd,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { OptimizationProfile } from './types';
|
|
2
|
-
export declare const planFrameRanges: ({ chunkCount, framesPerLambda,
|
|
2
|
+
export declare const planFrameRanges: ({ chunkCount, framesPerLambda, optimization, shouldUseOptimization, frameRange, }: {
|
|
3
3
|
chunkCount: number;
|
|
4
4
|
framesPerLambda: number;
|
|
5
|
-
frameCount: number;
|
|
6
5
|
optimization: OptimizationProfile | null;
|
|
7
6
|
shouldUseOptimization: boolean;
|
|
7
|
+
frameRange: [number, number];
|
|
8
8
|
}) => {
|
|
9
|
-
chunks: [
|
|
10
|
-
number,
|
|
11
|
-
number
|
|
12
|
-
][];
|
|
9
|
+
chunks: [number, number][];
|
|
13
10
|
didUseOptimization: boolean;
|
|
14
11
|
};
|
|
15
12
|
//# sourceMappingURL=plan-frame-ranges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/plan-frame-ranges.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,eAAe;gBAOf,MAAM;qBACD,MAAM;
|
|
1
|
+
{"version":3,"file":"plan-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/plan-frame-ranges.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,mBAAmB,EAAC,MAAM,SAAS,CAAC;AAE5C,eAAO,MAAM,eAAe;gBAOf,MAAM;qBACD,MAAM;kBACT,mBAAmB,GAAG,IAAI;2BACjB,OAAO;gBAClB,CAAC,MAAM,EAAE,MAAM,CAAC;MACzB;IAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAAC,kBAAkB,EAAE,OAAO,CAAA;CA0B3D,CAAC"}
|
|
@@ -2,19 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.planFrameRanges = void 0;
|
|
4
4
|
const can_use_optimization_1 = require("./can-use-optimization");
|
|
5
|
-
const planFrameRanges = ({ chunkCount, framesPerLambda,
|
|
6
|
-
if ((0, can_use_optimization_1.canUseOptimization)({
|
|
5
|
+
const planFrameRanges = ({ chunkCount, framesPerLambda, optimization, shouldUseOptimization, frameRange, }) => {
|
|
6
|
+
if ((0, can_use_optimization_1.canUseOptimization)({
|
|
7
|
+
optimization,
|
|
8
|
+
framesPerLambda,
|
|
9
|
+
frameRange,
|
|
10
|
+
}) &&
|
|
7
11
|
shouldUseOptimization) {
|
|
8
12
|
return {
|
|
9
|
-
chunks: optimization.
|
|
13
|
+
chunks: optimization.ranges,
|
|
10
14
|
didUseOptimization: true,
|
|
11
15
|
};
|
|
12
16
|
}
|
|
17
|
+
const frameCount = frameRange[1] - frameRange[0] + 1;
|
|
13
18
|
return {
|
|
14
19
|
chunks: new Array(chunkCount).fill(1).map((_, i) => {
|
|
15
20
|
return [
|
|
16
|
-
i * framesPerLambda,
|
|
17
|
-
Math.min(frameCount, (i + 1) * framesPerLambda) - 1,
|
|
21
|
+
i * framesPerLambda + frameRange[0],
|
|
22
|
+
Math.min(frameCount, (i + 1) * framesPerLambda) - 1 + frameRange[0],
|
|
18
23
|
];
|
|
19
24
|
}),
|
|
20
25
|
didUseOptimization: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plan-frame-ranges.js","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/plan-frame-ranges.ts"],"names":[],"mappings":";;;AAAA,iEAA0D;AAGnD,MAAM,eAAe,GAAG,CAAC,EAC/B,UAAU,EACV,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"plan-frame-ranges.js","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/plan-frame-ranges.ts"],"names":[],"mappings":";;;AAAA,iEAA0D;AAGnD,MAAM,eAAe,GAAG,CAAC,EAC/B,UAAU,EACV,eAAe,EACf,YAAY,EACZ,qBAAqB,EACrB,UAAU,GAOV,EAA6D,EAAE;IAC/D,IACC,IAAA,yCAAkB,EAAC;QAClB,YAAY;QACZ,eAAe;QACf,UAAU;KACV,CAAC;QACF,qBAAqB,EACpB;QACD,OAAO;YACN,MAAM,EAAG,YAAoC,CAAC,MAAM;YACpD,kBAAkB,EAAE,IAAI;SACxB,CAAC;KACF;IAED,MAAM,UAAU,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAErD,OAAO;QACN,MAAM,EAAE,IAAI,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;YAClD,OAAO;gBACN,CAAC,GAAG,eAAe,GAAG,UAAU,CAAC,CAAC,CAAC;gBACnC,IAAI,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,eAAe,CAAC,GAAG,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;aACnE,CAAC;QACH,CAAC,CAAC;QACF,kBAAkB,EAAE,KAAK;KACzB,CAAC;AACH,CAAC,CAAC;AAtCW,QAAA,eAAe,mBAsC1B"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -3,9 +3,6 @@ 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;
|
|
11
8
|
//# sourceMappingURL=simulate-frame-ranges.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulate-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/simulate-frame-ranges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,iBAAiB,kCAAmC,MAAM,WAoBtE,CAAC;AAEF,eAAO,MAAM,+BAA+B,uCAE/B,CAAC,MAAM,EAAE,MAAM,CAAC,KAC1B,eAAe,CAAC,SAAS,CAW3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;oBAKf
|
|
1
|
+
{"version":3,"file":"simulate-frame-ranges.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/simulate-frame-ranges.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAE,aAAa,EAAC,MAAM,SAAS,CAAC;AAEvD,eAAO,MAAM,iBAAiB,kCAAmC,MAAM,WAoBtE,CAAC;AAEF,eAAO,MAAM,+BAA+B,uCAE/B,CAAC,MAAM,EAAE,MAAM,CAAC,KAC1B,eAAe,CAAC,SAAS,CAW3B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;oBAKf,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;mBAclC,CAAC"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,10 +12,10 @@ export declare type ChunkTimingData = Omit<ObjectChunkTimingData, 'timings'> & {
|
|
|
12
12
|
};
|
|
13
13
|
export declare type TimingProfile = ChunkTimingData[];
|
|
14
14
|
export declare type OptimizationProfile = {
|
|
15
|
-
|
|
15
|
+
ranges: [number, number][];
|
|
16
|
+
frameRange: [number, number];
|
|
16
17
|
oldTiming: number;
|
|
17
18
|
newTiming: number;
|
|
18
|
-
frameCount: number;
|
|
19
19
|
createdFromRenderId: string;
|
|
20
20
|
framesPerLambda: number;
|
|
21
21
|
lambdaVersion: LambdaVersions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,oBAAY,qBAAqB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACtB,CAAC;CACF,CAAC;AAEF,oBAAY,eAAe,GAAG,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,GAAG;IACtE,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,oBAAY,aAAa,GAAG,eAAe,EAAE,CAAC;AAE9C,oBAAY,mBAAmB,GAAG;IACjC,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/functions/chunk-optimization/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,wBAAwB,CAAC;AAEtD,oBAAY,qBAAqB,GAAG;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE;QACR,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC;KACtB,CAAC;CACF,CAAC;AAEF,oBAAY,eAAe,GAAG,IAAI,CAAC,qBAAqB,EAAE,SAAS,CAAC,GAAG;IACtE,OAAO,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AAEF,oBAAY,aAAa,GAAG,eAAe,EAAE,CAAC;AAE9C,oBAAY,mBAAmB,GAAG;IACjC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAC3B,UAAU,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,cAAc,CAAC;CAC9B,CAAC"}
|