@crawlee/fs-storage 4.0.0-beta.193 → 4.0.0-beta.195

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/fs-storage",
3
- "version": "4.0.0-beta.193",
3
+ "version": "4.0.0-beta.195",
4
4
  "description": "A file-system storage implementation of the Apify API",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -42,9 +42,9 @@
42
42
  "access": "public"
43
43
  },
44
44
  "dependencies": {
45
- "@crawlee/fs-storage-native": ">=0.2.1 <0.3",
46
- "@crawlee/types": "4.0.0-beta.193",
47
- "@crawlee/utils": "4.0.0-beta.193",
45
+ "@crawlee/fs-storage-native": ">=0.2.2 <0.3",
46
+ "@crawlee/types": "4.0.0-beta.195",
47
+ "@crawlee/utils": "4.0.0-beta.195",
48
48
  "zod": "^4.5.4"
49
49
  },
50
50
  "lerna": {
@@ -54,5 +54,5 @@
54
54
  }
55
55
  }
56
56
  },
57
- "gitHead": "db10ed8633118f3d53dcef58118f408ce578d5d5"
57
+ "gitHead": "7ef1df353c43614acc1275a53ef8ca96e850fe3e"
58
58
  }
@@ -32,6 +32,11 @@ export declare class RequestQueueBackend extends CachedIdClient implements stora
32
32
  * available again.
33
33
  */
34
34
  setExpectedRequestProcessingTimeSecs(secs: number): Promise<void>;
35
+ /**
36
+ * @inheritdoc
37
+ * The lock is owned and extended by the native client; `false` means it no longer holds the request.
38
+ */
39
+ extendRequestProcessingTimeSecs(requestId: string, secs: number): Promise<boolean>;
35
40
  getMetadata(): Promise<storage.RequestQueueInfo>;
36
41
  drop(): Promise<void>;
37
42
  purge(): Promise<void>;
@@ -49,6 +49,13 @@ export class RequestQueueBackend extends CachedIdClient {
49
49
  async setExpectedRequestProcessingTimeSecs(secs) {
50
50
  await this.#nativeBackend.setExpectedRequestProcessingTime(secs);
51
51
  }
52
+ /**
53
+ * @inheritdoc
54
+ * The lock is owned and extended by the native client; `false` means it no longer holds the request.
55
+ */
56
+ async extendRequestProcessingTimeSecs(requestId, secs) {
57
+ return this.#nativeBackend.prolongRequestLock(requestId, secs);
58
+ }
52
59
  async getMetadata() {
53
60
  return this.#nativeBackend.getMetadata();
54
61
  }