apify 4.0.0-beta.142 → 4.0.0-beta.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.
- package/dist/charging.js +2 -1
- package/package.json +1 -1
package/dist/charging.js
CHANGED
|
@@ -435,7 +435,8 @@ export class ChargingManager {
|
|
|
435
435
|
return this.calculateMaxChargesByPrice(price);
|
|
436
436
|
}
|
|
437
437
|
calculateEventPrice(eventName) {
|
|
438
|
-
|
|
438
|
+
// Unknown events cost $1 in local development so that the maximum budget can be reached.
|
|
439
|
+
return this.#pricingInfo[eventName]?.price ?? (this.#isAtHome ? undefined : 1);
|
|
439
440
|
}
|
|
440
441
|
calculateMaxChargesByPrice(price) {
|
|
441
442
|
// The raw number of events allowed by the budget
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apify",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.143",
|
|
4
4
|
"description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.13.0"
|