@crawlee/fs-storage 4.0.0-rc.1 → 4.0.0-rc.2

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-rc.1",
3
+ "version": "4.0.0-rc.2",
4
4
  "description": "A file-system storage implementation of the Apify API",
5
5
  "engines": {
6
6
  "node": ">=22.13.0"
@@ -43,9 +43,9 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@crawlee/fs-storage-native": ">=0.2.2 <0.3",
46
- "@crawlee/types": "4.0.0-rc.1",
47
- "@crawlee/utils": "4.0.0-rc.1",
48
- "zod": "^4.5.4"
46
+ "@crawlee/types": "4.0.0-rc.2",
47
+ "@crawlee/utils": "4.0.0-rc.2",
48
+ "zod": "^4.6.7"
49
49
  },
50
50
  "lerna": {
51
51
  "command": {
@@ -54,5 +54,5 @@
54
54
  }
55
55
  }
56
56
  },
57
- "gitHead": "f354ca5e943bed1a5c657a1fce1974c053f9fff0"
57
+ "gitHead": "a9b623229cd7d1bff5063fc82940efebaea47165"
58
58
  }
@@ -31,12 +31,12 @@ export declare class RequestQueueBackend extends CachedIdClient implements stora
31
31
  * Tells the native client how long (in seconds) a fetched request stays locked before it becomes
32
32
  * available again.
33
33
  */
34
- setExpectedRequestProcessingTimeSecs(secs: number): Promise<void>;
34
+ setExpectedRequestProcessingTime(processingTimeSecs: number): Promise<void>;
35
35
  /**
36
36
  * @inheritdoc
37
37
  * The lock is owned and extended by the native client; `false` means it no longer holds the request.
38
38
  */
39
- extendRequestProcessingTimeSecs(requestId: string, secs: number): Promise<boolean>;
39
+ extendRequestProcessingTime(requestId: string, extensionSecs: number): Promise<boolean>;
40
40
  getMetadata(): Promise<storage.RequestQueueInfo>;
41
41
  drop(): Promise<void>;
42
42
  purge(): Promise<void>;
@@ -46,15 +46,15 @@ export class RequestQueueBackend extends CachedIdClient {
46
46
  * Tells the native client how long (in seconds) a fetched request stays locked before it becomes
47
47
  * available again.
48
48
  */
49
- async setExpectedRequestProcessingTimeSecs(secs) {
50
- await this.#nativeBackend.setExpectedRequestProcessingTime(secs);
49
+ async setExpectedRequestProcessingTime(processingTimeSecs) {
50
+ await this.#nativeBackend.setExpectedRequestProcessingTime(processingTimeSecs);
51
51
  }
52
52
  /**
53
53
  * @inheritdoc
54
54
  * The lock is owned and extended by the native client; `false` means it no longer holds the request.
55
55
  */
56
- async extendRequestProcessingTimeSecs(requestId, secs) {
57
- return this.#nativeBackend.prolongRequestLock(requestId, secs);
56
+ async extendRequestProcessingTime(requestId, extensionSecs) {
57
+ return this.#nativeBackend.prolongRequestLock(requestId, extensionSecs);
58
58
  }
59
59
  async getMetadata() {
60
60
  return this.#nativeBackend.getMetadata();