Skip to content

Commit f486c99

Browse files
fix: fix types
1 parent 909b8bf commit f486c99

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

starter/src/startRunAndPool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export async function waitForRunToFinishAndPushData(runConfig: PreparedActorConf
2929
value.residentialGBs = Number(residentialGBs.toFixed(8));
3030
value.residentialGBsPerRequest = Number((residentialGBs / value.totalPages).toFixed(8));
3131
value.proxyUsed = runConfig.proxyUsed;
32-
value.estimatedCost = Number((computeUnits * DEFAULT_COSTS.COMPUTE_UNIT + residentialGBs * DEFAULT_COSTS.RESIDENTIAL_GB).toFixed(6));
32+
value.estimatedCost = Number((computeUnits * DEFAULT_COSTS.COMPUTE_UNIT + residentialGBs * DEFAULT_COSTS.RESIDENTIAL_GB).toFixed(4));
3333
value.estimatedCostPerRequest = Number((value.estimatedCost / value.totalPages).toFixed(6));
3434

3535
if (runConfig.input['playwright.chrome']) {

starter/src/typedefs.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,9 @@ export interface ActorCheckDetailedOutput {
106106
computeUnitsPerRequest: number;
107107
residentialGBs: number;
108108
residentialGBsPerRequest: number;
109+
estimatedCost: number;
110+
estimatedCostPerRequest: number;
111+
109112

110113
// URLs
111114
url: string;

0 commit comments

Comments
 (0)