@remotion/lambda 3.3.25 → 3.3.27
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/dist/functions/chunk-optimization/plan-frame-ranges.d.ts +4 -1
- package/dist/functions/helpers/get-chunk-progress.d.ts +0 -0
- package/dist/functions/helpers/get-chunk-progress.js +1 -0
- package/dist/functions/helpers/get-current-region.d.ts +1 -1
- package/dist/index.d.ts +9 -2
- package/dist/index.js +10 -2
- package/dist/shared/get-chunk-progress.d.ts +0 -0
- package/dist/shared/get-chunk-progress.js +1 -0
- package/dist/shared/invoke-webhook.d.ts +0 -2
- package/package.json +8 -8
- package/remotionlambda-arm64.zip +0 -0
- package/remotionlambda-x64.zip +0 -0
- package/dist/shared/get-cloudwatch-stream-url.d.ts +0 -8
- package/dist/shared/get-cloudwatch-stream-url.js +0 -7
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getCurrentRegionInFunction: () => "eu-central-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-
|
|
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";
|
package/dist/index.d.ts
CHANGED
|
@@ -32,9 +32,8 @@ import { simulatePermissions } from './api/iam-validation/simulate';
|
|
|
32
32
|
import { getRolePolicy, getUserPolicy } from './api/iam-validation/suggested-policy';
|
|
33
33
|
import { presignUrl } from './api/presign-url';
|
|
34
34
|
import type { RenderMediaOnLambdaInput, RenderMediaOnLambdaOutput } from './api/render-media-on-lambda';
|
|
35
|
-
import {
|
|
35
|
+
import { renderVideoOnLambda } from './api/render-media-on-lambda';
|
|
36
36
|
import type { RenderStillOnLambdaInput, RenderStillOnLambdaOutput } from './api/render-still-on-lambda';
|
|
37
|
-
import { renderStillOnLambda } from './api/render-still-on-lambda';
|
|
38
37
|
import { validateWebhookSignature } from './api/validate-webhook-signature';
|
|
39
38
|
import type { LambdaLSInput, LambdaLsReturnType } from './functions/helpers/io';
|
|
40
39
|
import type { EnhancedErrorInfo, LambdaErrorInfo } from './functions/helpers/write-lambda-error';
|
|
@@ -44,5 +43,13 @@ import type { CustomCredentials } from './shared/aws-clients';
|
|
|
44
43
|
import type { RenderProgress } from './shared/constants';
|
|
45
44
|
import type { WebhookPayload } from './shared/invoke-webhook';
|
|
46
45
|
import type { LambdaArchitecture } from './shared/validate-architecture';
|
|
46
|
+
/**
|
|
47
|
+
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
48
|
+
*/
|
|
49
|
+
declare const renderMediaOnLambda: ({ functionName, serveUrl, inputProps, codec, imageFormat, crf, envVariables, pixelFormat, proResProfile, quality, region, maxRetries, composition, framesPerLambda, privacy, logLevel, frameRange, outName, timeoutInMilliseconds, chromiumOptions, scale, numberOfGifLoops, everyNthFrame, concurrencyPerLambda, downloadBehavior, muted, overwrite, audioBitrate, videoBitrate, webhook, forceHeight, forceWidth, }: RenderMediaOnLambdaInput) => Promise<RenderMediaOnLambdaOutput>;
|
|
50
|
+
/**
|
|
51
|
+
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
52
|
+
*/
|
|
53
|
+
declare const renderStillOnLambda: ({ functionName, serveUrl, inputProps, imageFormat, envVariables, quality, region, maxRetries, composition, privacy, frame, logLevel, outName, timeoutInMilliseconds, chromiumOptions, scale, downloadBehavior, forceHeight, forceWidth, }: RenderStillOnLambdaInput) => Promise<RenderStillOnLambdaOutput>;
|
|
47
54
|
export { deleteSite, deployFunction, deploySite, downloadMedia, downloadVideo, getFunctions, getUserPolicy, getRolePolicy, getSites, getOrCreateBucket, getRenderProgress, renderVideoOnLambda, renderMediaOnLambda, simulatePermissions, deleteFunction, getFunctionInfo, estimatePrice, LambdaInternals, renderStillOnLambda, getRegions, getAwsClient, presignUrl, deleteRender, validateWebhookSignature, getCompositionsOnLambda, };
|
|
48
55
|
export type { AwsRegion, RenderProgress, DeploySiteInput, DeploySiteOutput, LambdaLsReturnType, LambdaLSInput, DeleteSiteInput, DeleteSiteOutput, EstimatePriceInput, DeployFunctionInput, DeployFunctionOutput, DeleteFunctionInput, GetFunctionInfoInput, FunctionInfo, GetFunctionsInput, GetSitesInput, GetSitesOutput, DownloadMediaInput, DownloadMediaOutput, GetOrCreateBucketInput, GetOrCreateBucketOutput, GetRenderInput, RenderMediaOnLambdaInput, RenderMediaOnLambdaOutput, RenderStillOnLambdaInput, RenderStillOnLambdaOutput, SimulatePermissionsInput, SimulatePermissionsOutput, GetAwsClientInput, GetAwsClientOutput, LambdaArchitecture, CustomCredentials, WebhookPayload, LambdaErrorInfo, EnhancedErrorInfo, DeleteRenderInput, GetCompositionsOnLambdaOutput, GetCompositionsOnLambdaInput, };
|
package/dist/index.js
CHANGED
|
@@ -40,11 +40,19 @@ Object.defineProperty(exports, "getUserPolicy", { enumerable: true, get: functio
|
|
|
40
40
|
const presign_url_1 = require("./api/presign-url");
|
|
41
41
|
Object.defineProperty(exports, "presignUrl", { enumerable: true, get: function () { return presign_url_1.presignUrl; } });
|
|
42
42
|
const render_media_on_lambda_1 = require("./api/render-media-on-lambda");
|
|
43
|
-
Object.defineProperty(exports, "renderMediaOnLambda", { enumerable: true, get: function () { return render_media_on_lambda_1.renderMediaOnLambda; } });
|
|
44
43
|
Object.defineProperty(exports, "renderVideoOnLambda", { enumerable: true, get: function () { return render_media_on_lambda_1.renderVideoOnLambda; } });
|
|
45
44
|
const render_still_on_lambda_1 = require("./api/render-still-on-lambda");
|
|
46
|
-
Object.defineProperty(exports, "renderStillOnLambda", { enumerable: true, get: function () { return render_still_on_lambda_1.renderStillOnLambda; } });
|
|
47
45
|
const validate_webhook_signature_1 = require("./api/validate-webhook-signature");
|
|
48
46
|
Object.defineProperty(exports, "validateWebhookSignature", { enumerable: true, get: function () { return validate_webhook_signature_1.validateWebhookSignature; } });
|
|
49
47
|
const internals_1 = require("./internals");
|
|
50
48
|
Object.defineProperty(exports, "LambdaInternals", { enumerable: true, get: function () { return internals_1.LambdaInternals; } });
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
51
|
+
*/
|
|
52
|
+
const renderMediaOnLambda = render_media_on_lambda_1.renderMediaOnLambda;
|
|
53
|
+
exports.renderMediaOnLambda = renderMediaOnLambda;
|
|
54
|
+
/**
|
|
55
|
+
* @deprecated Import this from `@remotion/lambda/client` instead
|
|
56
|
+
*/
|
|
57
|
+
const renderStillOnLambda = render_still_on_lambda_1.renderStillOnLambda;
|
|
58
|
+
exports.renderStillOnLambda = renderStillOnLambda;
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/lambda",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.27",
|
|
4
4
|
"description": "Distributed renderer for Remotion based on AWS Lambda",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -33,12 +33,12 @@
|
|
|
33
33
|
"@aws-sdk/credential-providers": "3.215.0",
|
|
34
34
|
"@aws-sdk/lib-storage": "3.215.0",
|
|
35
35
|
"@aws-sdk/s3-request-presigner": "3.215.0",
|
|
36
|
-
"@remotion/bundler": "3.3.
|
|
37
|
-
"@remotion/cli": "3.3.
|
|
38
|
-
"@remotion/renderer": "3.3.
|
|
36
|
+
"@remotion/bundler": "3.3.27",
|
|
37
|
+
"@remotion/cli": "3.3.27",
|
|
38
|
+
"@remotion/renderer": "3.3.27",
|
|
39
39
|
"aws-policies": "^1.0.1",
|
|
40
40
|
"mime-types": "2.1.34",
|
|
41
|
-
"remotion": "3.3.
|
|
41
|
+
"remotion": "3.3.27"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"react": ">=16.8.0",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@jonny/eslint-config": "3.0.266",
|
|
49
|
-
"@remotion/compositor-linux-arm64-musl": "3.3.
|
|
50
|
-
"@remotion/compositor-linux-x64-musl": "3.3.
|
|
49
|
+
"@remotion/compositor-linux-arm64-musl": "3.3.27",
|
|
50
|
+
"@remotion/compositor-linux-x64-musl": "3.3.27",
|
|
51
51
|
"@types/mime-types": "2.1.1",
|
|
52
52
|
"@types/minimist": "1.2.2",
|
|
53
53
|
"@types/node": "^14.14.14",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "5dfc0dfa0df9592a358127a9aea9219244e6807a"
|
|
67
67
|
}
|
package/remotionlambda-arm64.zip
CHANGED
|
Binary file
|
package/remotionlambda-x64.zip
CHANGED
|
Binary file
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { AwsRegion } from '../client';
|
|
2
|
-
import type { LambdaRoutines } from './constants';
|
|
3
|
-
export declare const getCloudwatchStreamUrl: ({ region, functionName, method, renderId, }: {
|
|
4
|
-
region: AwsRegion;
|
|
5
|
-
functionName: string;
|
|
6
|
-
method: LambdaRoutines;
|
|
7
|
-
renderId: string;
|
|
8
|
-
}) => string;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getCloudwatchStreamUrl = void 0;
|
|
4
|
-
const getCloudwatchStreamUrl = ({ region, functionName, method, renderId, }) => {
|
|
5
|
-
return `https://${region}.console.aws.amazon.com/cloudwatch/home?region=${region}#logsV2:log-groups/log-group/$252Faws$252Flambda$252F${functionName}/log-events$3FfilterPattern$3D$2522method$253D${method}$252CrenderId$253D${renderId}$2522`;
|
|
6
|
-
};
|
|
7
|
-
exports.getCloudwatchStreamUrl = getCloudwatchStreamUrl;
|