@remotion/lambda 4.0.142 → 4.0.143

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.
@@ -59,11 +59,11 @@ export declare const internalDeploySite: (args_0: MandatoryParameters & {
59
59
  getValue: ({ commandLine }: {
60
60
  commandLine: Record<string, unknown>;
61
61
  }) => {
62
- value: "verbose" | "info" | "warn" | "error";
62
+ value: "error" | "info" | "verbose" | "warn";
63
63
  source: string;
64
64
  };
65
- setConfig: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
66
- type: "verbose" | "info" | "warn" | "error";
65
+ setConfig: (newLogLevel: "error" | "info" | "verbose" | "warn") => void;
66
+ type: "error" | "info" | "verbose" | "warn";
67
67
  };
68
68
  readonly throwIfSiteExists: {
69
69
  cliFlag: string;
@@ -1 +1 @@
1
- export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-south-1" | "ap-east-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "me-south-1" | "sa-east-1";
1
+ export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
@@ -4,16 +4,16 @@ declare const streamingPayloadSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
4
4
  type: z.ZodLiteral<"render-id-determined">;
5
5
  renderId: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
- type: "render-id-determined";
8
7
  renderId: string;
9
- }, {
10
8
  type: "render-id-determined";
9
+ }, {
11
10
  renderId: string;
11
+ type: "render-id-determined";
12
12
  }>]>;
13
13
  export type StreamingPayloads = z.infer<typeof streamingPayloadSchema>;
14
14
  export declare const isStreamingPayload: (str: string) => false | {
15
- type: "render-id-determined";
16
15
  renderId: string;
16
+ type: "render-id-determined";
17
17
  };
18
18
  export declare const sendProgressEvent: (responseStream: ResponseStream, payload: StreamingPayloads) => void;
19
19
  export {};
@@ -1,5 +1,5 @@
1
1
  export declare const LambdaInternals: {
2
- executeCommand: (args: string[], remotionRoot: string, logLevel: "verbose" | "info" | "warn" | "error") => Promise<void>;
2
+ executeCommand: (args: string[], remotionRoot: string, logLevel: "error" | "info" | "verbose" | "warn") => Promise<void>;
3
3
  makeLambdaRenderMediaPayload: ({ rendererFunctionName, frameRange, framesPerLambda, forceBucketName: bucketName, codec, composition, serveUrl, imageFormat, inputProps, region, crf, envVariables, pixelFormat, proResProfile, x264Preset, maxRetries, privacy, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, everyNthFrame, numberOfGifLoops, audioBitrate, concurrencyPerLambda, audioCodec, forceHeight, forceWidth, webhook, videoBitrate, encodingMaxRate, encodingBufferSize, downloadBehavior, muted, overwrite, jpegQuality, offthreadVideoCacheSizeInBytes, deleteAfter, colorSpace, preferLossless, }: import("./api/make-lambda-payload").InnerRenderMediaOnLambdaInput) => Promise<import("./defaults").LambdaStartPayload>;
4
4
  getRenderProgressPayload: ({ bucketName, renderId, s3OutputProvider, logLevel, }: import(".").GetRenderProgressInput) => import("./defaults").LambdaStatusPayload;
5
5
  makeLambdaRenderStillPayload: ({ serveUrl, inputProps, imageFormat, envVariables, quality, jpegQuality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, forceBucketName, offthreadVideoCacheSizeInBytes, deleteAfter, }: import("./api/render-still-on-lambda").RenderStillOnLambdaNonNullInput) => Promise<{
@@ -14,7 +14,7 @@ export declare const LambdaInternals: {
14
14
  maxRetries: number;
15
15
  frame: number;
16
16
  privacy: import("./defaults").Privacy;
17
- logLevel: "verbose" | "info" | "warn" | "error";
17
+ logLevel: "error" | "info" | "verbose" | "warn";
18
18
  outName: import("./defaults").OutNameInput | null;
19
19
  timeoutInMilliseconds: number;
20
20
  chromiumOptions: import("@remotion/renderer").ChromiumOptions;
@@ -30,7 +30,7 @@ export declare const LambdaInternals: {
30
30
  internalDeploySite: (args_0: {
31
31
  entryPoint: string;
32
32
  bucketName: string;
33
- region: "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-south-1" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "af-south-1" | "ap-south-1" | "ap-east-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "me-south-1" | "sa-east-1";
33
+ region: "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-north-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ca-central-1" | "sa-east-1" | "eu-south-1" | "af-south-1" | "ap-east-1" | "me-south-1";
34
34
  } & {
35
35
  siteName: string;
36
36
  options: {
@@ -56,11 +56,11 @@ export declare const LambdaInternals: {
56
56
  getValue: ({ commandLine }: {
57
57
  commandLine: Record<string, unknown>;
58
58
  }) => {
59
- value: "verbose" | "info" | "warn" | "error";
59
+ value: "error" | "info" | "verbose" | "warn";
60
60
  source: string;
61
61
  };
62
- setConfig: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
63
- type: "verbose" | "info" | "warn" | "error";
62
+ setConfig: (newLogLevel: "error" | "info" | "verbose" | "warn") => void;
63
+ type: "error" | "info" | "verbose" | "warn";
64
64
  };
65
65
  readonly throwIfSiteExists: {
66
66
  cliFlag: string;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.decompressInputProps = exports.compressInputProps = exports.getNeedsToUpload = exports.serializeOrThrow = void 0;
4
+ const no_react_1 = require("remotion/no-react");
4
5
  const get_or_create_bucket_1 = require("../api/get-or-create-bucket");
5
6
  const io_1 = require("../functions/helpers/io");
6
7
  const constants_1 = require("./constants");
7
8
  const random_hash_1 = require("./random-hash");
8
- const serialize_props_1 = require("./serialize-props");
9
9
  const stream_to_string_1 = require("./stream-to-string");
10
10
  const validate_webhook_1 = require("./validate-webhook");
11
11
  const makeKey = (type, hash) => {
@@ -16,7 +16,7 @@ const makeKey = (type, hash) => {
16
16
  };
17
17
  const serializeOrThrow = (inputProps, propsType) => {
18
18
  try {
19
- const payload = (0, serialize_props_1.serializeJSONWithDate)({
19
+ const payload = no_react_1.NoReactInternals.serializeJSONWithDate({
20
20
  indent: undefined,
21
21
  staticBase: null,
22
22
  data: inputProps,
@@ -1,7 +1,10 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="bun-types" />
2
3
  /// <reference types="node" />
3
4
  /// <reference types="node" />
4
5
  /// <reference types="node" />
6
+ /// <reference types="bun-types" />
7
+ /// <reference types="bun-types" />
5
8
  export declare const stackback: (error: Error) => NodeJS.CallSite[];
6
9
  declare global {
7
10
  interface Error {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remotion/lambda",
3
- "version": "4.0.142",
3
+ "version": "4.0.143",
4
4
  "description": "Distributed renderer for Remotion based on AWS Lambda",
5
5
  "main": "dist/index.js",
6
6
  "sideEffects": false,
@@ -26,10 +26,10 @@
26
26
  "aws-policies": "^1.0.1",
27
27
  "mime-types": "2.1.34",
28
28
  "zod": "3.22.3",
29
- "@remotion/bundler": "4.0.142",
30
- "@remotion/cli": "4.0.142",
31
- "@remotion/renderer": "4.0.142",
32
- "remotion": "4.0.142"
29
+ "@remotion/bundler": "4.0.143",
30
+ "@remotion/cli": "4.0.143",
31
+ "@remotion/renderer": "4.0.143",
32
+ "remotion": "4.0.143"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@jonny/eslint-config": "3.0.281",
@@ -45,11 +45,11 @@
45
45
  "ts-node": "10.9.2",
46
46
  "vitest": "0.31.1",
47
47
  "zip-lib": "^0.7.2",
48
- "@remotion/bundler": "4.0.142",
49
- "@remotion/compositor-linux-arm64-gnu": "4.0.142"
48
+ "@remotion/bundler": "4.0.143",
49
+ "@remotion/compositor-linux-arm64-gnu": "4.0.143"
50
50
  },
51
51
  "peerDependencies": {
52
- "@remotion/bundler": "4.0.142"
52
+ "@remotion/bundler": "4.0.143"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"
Binary file