@remotion/lambda 3.0.0-lambda.297 → 3.0.0-lambda.332

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.
Files changed (96) hide show
  1. package/dist/admin/make-layer-public.js +65 -48
  2. package/dist/admin/make-layer-public.js.map +1 -1
  3. package/dist/api/create-function.d.ts +3 -1
  4. package/dist/api/create-function.d.ts.map +1 -1
  5. package/dist/api/create-function.js +3 -3
  6. package/dist/api/create-function.js.map +1 -1
  7. package/dist/api/deploy-function.d.ts +3 -0
  8. package/dist/api/deploy-function.d.ts.map +1 -1
  9. package/dist/api/deploy-function.js +4 -0
  10. package/dist/api/deploy-function.js.map +1 -1
  11. package/dist/api/download-media.d.ts.map +1 -1
  12. package/dist/api/download-media.js +4 -15
  13. package/dist/api/download-media.js.map +1 -1
  14. package/dist/api/render-media-on-lambda.d.ts +5 -2
  15. package/dist/api/render-media-on-lambda.d.ts.map +1 -1
  16. package/dist/api/render-media-on-lambda.js +7 -1
  17. package/dist/api/render-media-on-lambda.js.map +1 -1
  18. package/dist/api/render-still-on-lambda.d.ts +4 -1
  19. package/dist/api/render-still-on-lambda.d.ts.map +1 -1
  20. package/dist/api/render-still-on-lambda.js +6 -2
  21. package/dist/api/render-still-on-lambda.js.map +1 -1
  22. package/dist/cli/args.d.ts +2 -0
  23. package/dist/cli/args.d.ts.map +1 -1
  24. package/dist/cli/args.js.map +1 -1
  25. package/dist/cli/commands/functions/deploy.d.ts.map +1 -1
  26. package/dist/cli/commands/functions/deploy.js +7 -2
  27. package/dist/cli/commands/functions/deploy.js.map +1 -1
  28. package/dist/cli/commands/render/render.d.ts.map +1 -1
  29. package/dist/cli/commands/render/render.js +17 -14
  30. package/dist/cli/commands/render/render.js.map +1 -1
  31. package/dist/cli/commands/still.d.ts.map +1 -1
  32. package/dist/cli/commands/still.js +10 -7
  33. package/dist/cli/commands/still.js.map +1 -1
  34. package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts +1 -4
  35. package/dist/functions/chunk-optimization/get-frame-ranges-from-profile.d.ts.map +1 -1
  36. package/dist/functions/chunk-optimization/optimize-profile.d.ts +2 -8
  37. package/dist/functions/chunk-optimization/optimize-profile.d.ts.map +1 -1
  38. package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +1 -4
  39. package/dist/functions/chunk-optimization/plan-frame-ranges.d.ts.map +1 -1
  40. package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts +1 -4
  41. package/dist/functions/chunk-optimization/simulate-frame-ranges.d.ts.map +1 -1
  42. package/dist/functions/helpers/concat-videos.d.ts.map +1 -1
  43. package/dist/functions/helpers/concat-videos.js +4 -2
  44. package/dist/functions/helpers/concat-videos.js.map +1 -1
  45. package/dist/functions/helpers/get-browser-instance.d.ts +2 -1
  46. package/dist/functions/helpers/get-browser-instance.d.ts.map +1 -1
  47. package/dist/functions/helpers/get-browser-instance.js +2 -1
  48. package/dist/functions/helpers/get-browser-instance.js.map +1 -1
  49. package/dist/functions/helpers/get-chromium-executable-path.d.ts +1 -1
  50. package/dist/functions/helpers/get-chromium-executable-path.d.ts.map +1 -1
  51. package/dist/functions/helpers/get-chromium-executable-path.js.map +1 -1
  52. package/dist/functions/helpers/read-with-progress.d.ts +5 -3
  53. package/dist/functions/helpers/read-with-progress.d.ts.map +1 -1
  54. package/dist/functions/helpers/read-with-progress.js +4 -12
  55. package/dist/functions/helpers/read-with-progress.js.map +1 -1
  56. package/dist/functions/launch.d.ts.map +1 -1
  57. package/dist/functions/launch.js +3 -1
  58. package/dist/functions/launch.js.map +1 -1
  59. package/dist/functions/renderer.d.ts.map +1 -1
  60. package/dist/functions/renderer.js +11 -9
  61. package/dist/functions/renderer.js.map +1 -1
  62. package/dist/functions/start.d.ts.map +1 -1
  63. package/dist/functions/start.js +3 -3
  64. package/dist/functions/start.js.map +1 -1
  65. package/dist/functions/still.d.ts.map +1 -1
  66. package/dist/functions/still.js +5 -7
  67. package/dist/functions/still.js.map +1 -1
  68. package/dist/index.d.ts +2 -1
  69. package/dist/index.d.ts.map +1 -1
  70. package/dist/index.js.map +1 -1
  71. package/dist/shared/constants.d.ts +13 -7
  72. package/dist/shared/constants.d.ts.map +1 -1
  73. package/dist/shared/constants.js +3 -7
  74. package/dist/shared/constants.js.map +1 -1
  75. package/dist/shared/hosted-layers.d.ts +9 -5
  76. package/dist/shared/hosted-layers.d.ts.map +1 -1
  77. package/dist/shared/hosted-layers.js +284 -140
  78. package/dist/shared/hosted-layers.js.map +1 -1
  79. package/dist/shared/random-hash.d.ts +3 -1
  80. package/dist/shared/random-hash.d.ts.map +1 -1
  81. package/dist/shared/random-hash.js +2 -1
  82. package/dist/shared/random-hash.js.map +1 -1
  83. package/dist/shared/validate-architecture.d.ts +5 -0
  84. package/dist/shared/validate-architecture.d.ts.map +1 -0
  85. package/dist/shared/validate-architecture.js +15 -0
  86. package/dist/shared/validate-architecture.js.map +1 -0
  87. package/dist/shared/validate-serveurl.d.ts +2 -0
  88. package/dist/shared/validate-serveurl.d.ts.map +1 -0
  89. package/dist/shared/validate-serveurl.js +10 -0
  90. package/dist/shared/validate-serveurl.js.map +1 -0
  91. package/package.json +8 -7
  92. package/remotionlambda.zip +0 -0
  93. package/dist/api/get-aws-clients.d.ts +0 -16
  94. package/dist/api/get-aws-clients.d.ts.map +0 -1
  95. package/dist/api/get-aws-clients.js +0 -40
  96. package/dist/api/get-aws-clients.js.map +0 -1
@@ -1,40 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
- Object.defineProperty(o, "default", { enumerable: true, value: v });
11
- }) : function(o, v) {
12
- o["default"] = v;
13
- });
14
- var __importStar = (this && this.__importStar) || function (mod) {
15
- if (mod && mod.__esModule) return mod;
16
- var result = {};
17
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
- __setModuleDefault(result, mod);
19
- return result;
20
- };
21
- Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.getAwsClient = void 0;
23
- const CloudWatchSDK = __importStar(require("@aws-sdk/client-cloudwatch-logs"));
24
- const IamSdk = __importStar(require("@aws-sdk/client-iam"));
25
- const LambdaSDK = __importStar(require("@aws-sdk/client-lambda"));
26
- const S3SDK = __importStar(require("@aws-sdk/client-s3"));
27
- const aws_clients_1 = require("../shared/aws-clients");
28
- const getAwsClient = (region, type) => {
29
- return {
30
- client: (0, aws_clients_1.getServiceClient)(region, type),
31
- sdk: {
32
- lambda: LambdaSDK,
33
- cloudwatch: CloudWatchSDK,
34
- iam: IamSdk,
35
- s3: S3SDK,
36
- }[type],
37
- };
38
- };
39
- exports.getAwsClient = getAwsClient;
40
- //# sourceMappingURL=get-aws-clients.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-aws-clients.js","sourceRoot":"","sources":["../../src/api/get-aws-clients.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,+EAAiE;AACjE,4DAA8C;AAC9C,kEAAoD;AACpD,0DAA4C;AAE5C,uDAAuE;AAEhE,MAAM,YAAY,GAAG,CAC3B,MAAiB,EACjB,IAAO,EACN,EAAE;IACH,OAAO;QACN,MAAM,EAAE,IAAA,8BAAgB,EAAC,MAAM,EAAE,IAAI,CAAC;QACtC,GAAG,EAAE;YACJ,MAAM,EAAE,SAAS;YACjB,UAAU,EAAE,aAAa;YACzB,GAAG,EAAE,MAAM;YACX,EAAE,EAAE,KAAK;SACT,CAAC,IAAI,CAAC;KACP,CAAC;AACH,CAAC,CAAC;AAbW,QAAA,YAAY,gBAavB"}