@remotion/lambda-client 4.0.451 → 4.0.453
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/cjs/convert-to-serve-url.d.ts +1 -1
- package/dist/cjs/get-aws-urls.d.ts +4 -4
- package/dist/cjs/index.js +3 -38
- package/dist/cjs/make-s3-url.d.ts +1 -1
- package/dist/cjs/regions.d.ts +1 -1
- package/dist/cjs/regions.js +0 -1
- package/dist/cjs/validate-bucketname.d.ts +1 -1
- package/dist/esm/index.mjs +3 -38
- package/dist/esm/regions.mjs +0 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const convertToServeUrlImplementation: ({ urlOrId, region, bucketName, }: {
|
|
2
2
|
urlOrId: string;
|
|
3
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
3
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
|
|
4
4
|
bucketName: string;
|
|
5
5
|
}) => string;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import type { GetLoggingUrlForRendererFunction, ServerlessRoutines } from '@remotion/serverless-client';
|
|
2
2
|
import type { AwsProvider } from './aws-provider';
|
|
3
3
|
export declare const getCloudwatchMethodUrl: ({ region, functionName, renderId, rendererFunctionName, method, }: {
|
|
4
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
4
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
|
|
5
5
|
functionName: string;
|
|
6
6
|
method: ServerlessRoutines;
|
|
7
7
|
rendererFunctionName: string | null;
|
|
8
8
|
renderId: string;
|
|
9
9
|
}) => string;
|
|
10
10
|
export declare const getLambdaInsightsUrl: ({ region, functionName, }: {
|
|
11
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
11
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
|
|
12
12
|
functionName: string;
|
|
13
13
|
}) => string;
|
|
14
14
|
export declare const getCloudwatchRendererUrl: GetLoggingUrlForRendererFunction<AwsProvider>;
|
|
15
15
|
export declare const getS3RenderUrl: ({ renderId, region, bucketName, }: {
|
|
16
16
|
renderId: string;
|
|
17
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
17
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
|
|
18
18
|
bucketName: string;
|
|
19
19
|
}) => string;
|
|
20
20
|
export declare const getProgressJsonUrl: ({ region, bucketName, renderId, }: {
|
|
21
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
21
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
|
|
22
22
|
bucketName: string;
|
|
23
23
|
renderId: string;
|
|
24
24
|
}) => string;
|
package/dist/cjs/index.js
CHANGED
|
@@ -70735,7 +70735,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
70735
70735
|
}
|
|
70736
70736
|
}
|
|
70737
70737
|
};
|
|
70738
|
-
var VERSION = "4.0.
|
|
70738
|
+
var VERSION = "4.0.453";
|
|
70739
70739
|
var isColorSupported = () => {
|
|
70740
70740
|
const env = process.env || {};
|
|
70741
70741
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -71510,8 +71510,8 @@ var getFramesToRender = (frameRange, everyNthFrame) => {
|
|
|
71510
71510
|
}
|
|
71511
71511
|
return new Array(frameRange[1] - frameRange[0] + 1).fill(true).map((_, index) => {
|
|
71512
71512
|
return index + frameRange[0];
|
|
71513
|
-
}).filter((
|
|
71514
|
-
return
|
|
71513
|
+
}).filter((frame) => {
|
|
71514
|
+
return (frame - frameRange[0]) % everyNthFrame === 0;
|
|
71515
71515
|
});
|
|
71516
71516
|
};
|
|
71517
71517
|
var validCodecs2 = [
|
|
@@ -73845,40 +73845,6 @@ var pricing = {
|
|
|
73845
73845
|
price: "0.0000133334"
|
|
73846
73846
|
}
|
|
73847
73847
|
},
|
|
73848
|
-
"me-south-1": {
|
|
73849
|
-
"Lambda Duration-Provisioned": {
|
|
73850
|
-
rateCode: "55WKNBUF5TE92NZJ.JRTCKXETXF.6YS6EN2CT7",
|
|
73851
|
-
price: "0.0000119251"
|
|
73852
|
-
},
|
|
73853
|
-
"Lambda Provisioned-Concurrency": {
|
|
73854
|
-
rateCode: "RPTP77J75VAKQZD9.JRTCKXETXF.6YS6EN2CT7",
|
|
73855
|
-
price: "0.0000051108"
|
|
73856
|
-
},
|
|
73857
|
-
"Lambda Requests": {
|
|
73858
|
-
rateCode: "EMZ8YZDPGWMDYZNK.JRTCKXETXF.6YS6EN2CT7",
|
|
73859
|
-
price: "0.0000002500"
|
|
73860
|
-
},
|
|
73861
|
-
"Lambda Requests-ARM": {
|
|
73862
|
-
rateCode: "KY96C7U4EB95UXGK.JRTCKXETXF.6YS6EN2CT7",
|
|
73863
|
-
price: "0.0000002500"
|
|
73864
|
-
},
|
|
73865
|
-
"Lambda Storage-Duration": {
|
|
73866
|
-
rateCode: "DBA83XQ3BXSW7T3A.JRTCKXETXF.6YS6EN2CT7",
|
|
73867
|
-
price: "0.0000000374"
|
|
73868
|
-
},
|
|
73869
|
-
"Lambda Storage-Duration-ARM": {
|
|
73870
|
-
rateCode: "9PH9MHPV4V4MQNRH.JRTCKXETXF.6YS6EN2CT7",
|
|
73871
|
-
price: "0.0000000374"
|
|
73872
|
-
},
|
|
73873
|
-
"Lambda Duration": {
|
|
73874
|
-
rateCode: "N7S38YMSMVSPHNAH.JRTCKXETXF.CUKFZ388N3",
|
|
73875
|
-
price: "0.0000206667"
|
|
73876
|
-
},
|
|
73877
|
-
"Lambda Duration-ARM": {
|
|
73878
|
-
rateCode: "R3C6YVZV7TF52KUE.JRTCKXETXF.6NBUNBXSC3",
|
|
73879
|
-
price: "0.0000165334"
|
|
73880
|
-
}
|
|
73881
|
-
},
|
|
73882
73848
|
"sa-east-1": {
|
|
73883
73849
|
"Lambda Duration-Provisioned": {
|
|
73884
73850
|
rateCode: "VENWZ787B7TGFR3E.JRTCKXETXF.6YS6EN2CT7",
|
|
@@ -74109,7 +74075,6 @@ var AWS_REGIONS = [
|
|
|
74109
74075
|
"ap-southeast-4",
|
|
74110
74076
|
"ap-southeast-5",
|
|
74111
74077
|
"ca-central-1",
|
|
74112
|
-
"me-south-1",
|
|
74113
74078
|
"sa-east-1"
|
|
74114
74079
|
];
|
|
74115
74080
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const makeS3ServeUrl: ({ bucketName, subFolder, region, }: {
|
|
2
2
|
bucketName: string;
|
|
3
3
|
subFolder: string;
|
|
4
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
4
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
|
|
5
5
|
}) => string;
|
package/dist/cjs/regions.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const DEFAULT_AWS_REGIONS: readonly ["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"];
|
|
2
|
-
export declare const AWS_REGIONS: readonly ["eu-central-1", "eu-central-2", "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", "ap-southeast-4", "ap-southeast-5", "ca-central-1", "
|
|
2
|
+
export declare const AWS_REGIONS: readonly ["eu-central-1", "eu-central-2", "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", "ap-southeast-4", "ap-southeast-5", "ca-central-1", "sa-east-1"];
|
|
3
3
|
export type AwsRegion = (typeof AWS_REGIONS)[number];
|
package/dist/cjs/regions.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const parseBucketName: (name: string) => {
|
|
2
|
-
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "
|
|
2
|
+
region: "af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-4" | "ap-southeast-5" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-south-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | null;
|
|
3
3
|
};
|
package/dist/esm/index.mjs
CHANGED
|
@@ -70078,7 +70078,7 @@ var validateDownloadBehavior = (downloadBehavior) => {
|
|
|
70078
70078
|
}
|
|
70079
70079
|
}
|
|
70080
70080
|
};
|
|
70081
|
-
var VERSION = "4.0.
|
|
70081
|
+
var VERSION = "4.0.453";
|
|
70082
70082
|
var isColorSupported = () => {
|
|
70083
70083
|
const env = process.env || {};
|
|
70084
70084
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -70853,8 +70853,8 @@ var getFramesToRender = (frameRange, everyNthFrame) => {
|
|
|
70853
70853
|
}
|
|
70854
70854
|
return new Array(frameRange[1] - frameRange[0] + 1).fill(true).map((_, index) => {
|
|
70855
70855
|
return index + frameRange[0];
|
|
70856
|
-
}).filter((
|
|
70857
|
-
return
|
|
70856
|
+
}).filter((frame) => {
|
|
70857
|
+
return (frame - frameRange[0]) % everyNthFrame === 0;
|
|
70858
70858
|
});
|
|
70859
70859
|
};
|
|
70860
70860
|
var validCodecs2 = [
|
|
@@ -73188,40 +73188,6 @@ var pricing = {
|
|
|
73188
73188
|
price: "0.0000133334"
|
|
73189
73189
|
}
|
|
73190
73190
|
},
|
|
73191
|
-
"me-south-1": {
|
|
73192
|
-
"Lambda Duration-Provisioned": {
|
|
73193
|
-
rateCode: "55WKNBUF5TE92NZJ.JRTCKXETXF.6YS6EN2CT7",
|
|
73194
|
-
price: "0.0000119251"
|
|
73195
|
-
},
|
|
73196
|
-
"Lambda Provisioned-Concurrency": {
|
|
73197
|
-
rateCode: "RPTP77J75VAKQZD9.JRTCKXETXF.6YS6EN2CT7",
|
|
73198
|
-
price: "0.0000051108"
|
|
73199
|
-
},
|
|
73200
|
-
"Lambda Requests": {
|
|
73201
|
-
rateCode: "EMZ8YZDPGWMDYZNK.JRTCKXETXF.6YS6EN2CT7",
|
|
73202
|
-
price: "0.0000002500"
|
|
73203
|
-
},
|
|
73204
|
-
"Lambda Requests-ARM": {
|
|
73205
|
-
rateCode: "KY96C7U4EB95UXGK.JRTCKXETXF.6YS6EN2CT7",
|
|
73206
|
-
price: "0.0000002500"
|
|
73207
|
-
},
|
|
73208
|
-
"Lambda Storage-Duration": {
|
|
73209
|
-
rateCode: "DBA83XQ3BXSW7T3A.JRTCKXETXF.6YS6EN2CT7",
|
|
73210
|
-
price: "0.0000000374"
|
|
73211
|
-
},
|
|
73212
|
-
"Lambda Storage-Duration-ARM": {
|
|
73213
|
-
rateCode: "9PH9MHPV4V4MQNRH.JRTCKXETXF.6YS6EN2CT7",
|
|
73214
|
-
price: "0.0000000374"
|
|
73215
|
-
},
|
|
73216
|
-
"Lambda Duration": {
|
|
73217
|
-
rateCode: "N7S38YMSMVSPHNAH.JRTCKXETXF.CUKFZ388N3",
|
|
73218
|
-
price: "0.0000206667"
|
|
73219
|
-
},
|
|
73220
|
-
"Lambda Duration-ARM": {
|
|
73221
|
-
rateCode: "R3C6YVZV7TF52KUE.JRTCKXETXF.6NBUNBXSC3",
|
|
73222
|
-
price: "0.0000165334"
|
|
73223
|
-
}
|
|
73224
|
-
},
|
|
73225
73191
|
"sa-east-1": {
|
|
73226
73192
|
"Lambda Duration-Provisioned": {
|
|
73227
73193
|
rateCode: "VENWZ787B7TGFR3E.JRTCKXETXF.6YS6EN2CT7",
|
|
@@ -73452,7 +73418,6 @@ var AWS_REGIONS = [
|
|
|
73452
73418
|
"ap-southeast-4",
|
|
73453
73419
|
"ap-southeast-5",
|
|
73454
73420
|
"ca-central-1",
|
|
73455
|
-
"me-south-1",
|
|
73456
73421
|
"sa-east-1"
|
|
73457
73422
|
];
|
|
73458
73423
|
|
package/dist/esm/regions.mjs
CHANGED
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"url": "https://github.com/remotion-dev/remotion/tree/main/packages/lambda-client"
|
|
4
4
|
},
|
|
5
5
|
"name": "@remotion/lambda-client",
|
|
6
|
-
"version": "4.0.
|
|
6
|
+
"version": "4.0.453",
|
|
7
7
|
"main": "dist/cjs/index.js",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"scripts": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@aws-sdk/lib-storage": "3.986.0",
|
|
28
28
|
"mime-types": "2.1.34",
|
|
29
29
|
"@aws-sdk/credential-provider-ini": "3.972.5",
|
|
30
|
-
"@remotion/serverless-client": "4.0.
|
|
30
|
+
"@remotion/serverless-client": "4.0.453",
|
|
31
31
|
"@types/express": "^5.0.0",
|
|
32
32
|
"express": "4.21.0",
|
|
33
|
-
"@remotion/eslint-config-internal": "4.0.
|
|
33
|
+
"@remotion/eslint-config-internal": "4.0.453",
|
|
34
34
|
"eslint": "9.19.0",
|
|
35
35
|
"next": "16.2.3",
|
|
36
36
|
"@types/mime-types": "2.1.1",
|