universal-parcel-scraper 0.64.0-main.817 → 0.64.0-main.818
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.
|
@@ -16,8 +16,9 @@ const MAX_BYTES = 2_000_000;
|
|
|
16
16
|
/** Opening a session has taken up to 75 seconds. */
|
|
17
17
|
const SESSION_OPEN_MS = 120_000;
|
|
18
18
|
/**
|
|
19
|
-
* The service
|
|
20
|
-
*
|
|
19
|
+
* The service has accepted a session for over eighteen hours, used once an hour after its first
|
|
20
|
+
* eight, and one left idle for four. From eight hours old the next one opens beside it, and
|
|
21
|
+
* replaces it once open.
|
|
21
22
|
*/
|
|
22
23
|
const SESSION_RENEW_MS = 8 * 3_600_000;
|
|
23
24
|
/** A kept session that failed to open is tried again after this long. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "universal-parcel-scraper",
|
|
3
|
-
"version": "0.64.0-main.
|
|
3
|
+
"version": "0.64.0-main.818",
|
|
4
4
|
"description": "Self-hosted parcel tracking: carrier detection, dedicated scrapers and optional universal providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|