@crawlee/types 4.0.0-beta.276 → 4.0.0-beta.277
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/package.json +2 -2
- package/storages.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/types",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.277",
|
|
4
4
|
"description": "Shared types for the crawlee projects",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.13.0"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "086a9f966a05dd1159f37cc25c4589b886fc5c93"
|
|
56
56
|
}
|
package/storages.d.ts
CHANGED
|
@@ -335,7 +335,7 @@ export interface RequestQueueBackend {
|
|
|
335
335
|
* this long, so that a long-running consumer does not have its request handed out again while it is
|
|
336
336
|
* still being processed. Clients that do not lock may ignore it.
|
|
337
337
|
*/
|
|
338
|
-
|
|
338
|
+
setExpectedRequestProcessingTime?(processingTimeSecs: number): Promise<void>;
|
|
339
339
|
/**
|
|
340
340
|
* Extends the lock on a request previously handed out by {@link fetchNextRequest}, for a consumer
|
|
341
341
|
* that needs more time than the sizing hint reserved.
|
|
@@ -344,7 +344,7 @@ export interface RequestQueueBackend {
|
|
|
344
344
|
* does not lock at all). `false` is information, not an error: the request may be processed twice.
|
|
345
345
|
* Non-locking backends leave this unimplemented.
|
|
346
346
|
*/
|
|
347
|
-
|
|
347
|
+
extendRequestProcessingTime?(requestId: string, extensionSecs: number): Promise<boolean>;
|
|
348
348
|
}
|
|
349
349
|
/**
|
|
350
350
|
* Identifies a storage by its ID, name, or alias. At most one may be provided.
|