@remotion/lambda-client 4.0.443 → 4.0.444
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/index.js +7 -4
- package/dist/esm/index.mjs +7 -4
- package/package.json +3 -3
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.444";
|
|
70739
70739
|
var isColorSupported = () => {
|
|
70740
70740
|
const env = process.env || {};
|
|
70741
70741
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -71421,12 +71421,14 @@ var estimatePriceFromMetadata = ({
|
|
|
71421
71421
|
functionsInvoked,
|
|
71422
71422
|
timings,
|
|
71423
71423
|
region,
|
|
71424
|
-
providerSpecifics
|
|
71424
|
+
providerSpecifics,
|
|
71425
|
+
fatalErrorTimestamp
|
|
71425
71426
|
}) => {
|
|
71426
71427
|
if (!renderMetadata) {
|
|
71427
71428
|
return null;
|
|
71428
71429
|
}
|
|
71429
|
-
const
|
|
71430
|
+
const now = fatalErrorTimestamp ?? Date.now();
|
|
71431
|
+
const elapsedTime = Math.max(0, now - (renderMetadata?.startedDate ?? 0));
|
|
71430
71432
|
const unfinished = Math.max(0, (renderMetadata?.totalChunks ?? 0) - timings.length);
|
|
71431
71433
|
const timeElapsedOfUnfinished = new Array(unfinished).fill(true).map(() => elapsedTime).reduce((a, b) => a + b, 0);
|
|
71432
71434
|
const estimatedBillingDurationInMilliseconds = calculateChunkTimes({
|
|
@@ -72475,7 +72477,8 @@ var getProgress = async ({
|
|
|
72475
72477
|
diskSizeInMb: providerSpecifics.getEphemeralStorageForPriceCalculation(),
|
|
72476
72478
|
timings: overallProgress.timings ?? [],
|
|
72477
72479
|
region,
|
|
72478
|
-
providerSpecifics
|
|
72480
|
+
providerSpecifics,
|
|
72481
|
+
fatalErrorTimestamp: overallProgress.fatalErrorTimestamp ?? null
|
|
72479
72482
|
});
|
|
72480
72483
|
const chunkMultiplier = [hasAudio, hasVideo].filter(truthy3).length;
|
|
72481
72484
|
if (renderMetadata.type === "still") {
|
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.444";
|
|
70082
70082
|
var isColorSupported = () => {
|
|
70083
70083
|
const env = process.env || {};
|
|
70084
70084
|
const isForceDisabled = "NO_COLOR" in env;
|
|
@@ -70764,12 +70764,14 @@ var estimatePriceFromMetadata = ({
|
|
|
70764
70764
|
functionsInvoked,
|
|
70765
70765
|
timings,
|
|
70766
70766
|
region,
|
|
70767
|
-
providerSpecifics
|
|
70767
|
+
providerSpecifics,
|
|
70768
|
+
fatalErrorTimestamp
|
|
70768
70769
|
}) => {
|
|
70769
70770
|
if (!renderMetadata) {
|
|
70770
70771
|
return null;
|
|
70771
70772
|
}
|
|
70772
|
-
const
|
|
70773
|
+
const now = fatalErrorTimestamp ?? Date.now();
|
|
70774
|
+
const elapsedTime = Math.max(0, now - (renderMetadata?.startedDate ?? 0));
|
|
70773
70775
|
const unfinished = Math.max(0, (renderMetadata?.totalChunks ?? 0) - timings.length);
|
|
70774
70776
|
const timeElapsedOfUnfinished = new Array(unfinished).fill(true).map(() => elapsedTime).reduce((a, b) => a + b, 0);
|
|
70775
70777
|
const estimatedBillingDurationInMilliseconds = calculateChunkTimes({
|
|
@@ -71818,7 +71820,8 @@ var getProgress = async ({
|
|
|
71818
71820
|
diskSizeInMb: providerSpecifics.getEphemeralStorageForPriceCalculation(),
|
|
71819
71821
|
timings: overallProgress.timings ?? [],
|
|
71820
71822
|
region,
|
|
71821
|
-
providerSpecifics
|
|
71823
|
+
providerSpecifics,
|
|
71824
|
+
fatalErrorTimestamp: overallProgress.fatalErrorTimestamp ?? null
|
|
71822
71825
|
});
|
|
71823
71826
|
const chunkMultiplier = [hasAudio, hasVideo].filter(truthy3).length;
|
|
71824
71827
|
if (renderMetadata.type === "still") {
|
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.444",
|
|
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.444",
|
|
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.444",
|
|
34
34
|
"eslint": "9.19.0",
|
|
35
35
|
"next": "16.1.7",
|
|
36
36
|
"@types/mime-types": "2.1.1",
|