apify-client 3.0.0-beta.51 → 3.0.0-beta.52

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.
@@ -98,6 +98,7 @@ export declare class BuildClient extends ResourceClient {
98
98
  * Unlike the `waitForFinish` parameter in {@link get}, this method can wait indefinitely
99
99
  * by polling the build status. It uses the `waitForFinish` parameter internally (max 60s per call)
100
100
  * and continuously polls until the build finishes or the timeout is reached.
101
+ * Rejects with a {@link NotFoundError} if the build keeps returning 404 for 3 seconds.
101
102
  *
102
103
  * This is useful when you need to immediately start a run after a build finishes.
103
104
  *
@@ -131,6 +131,7 @@ export class BuildClient extends ResourceClient {
131
131
  * Unlike the `waitForFinish` parameter in {@link get}, this method can wait indefinitely
132
132
  * by polling the build status. It uses the `waitForFinish` parameter internally (max 60s per call)
133
133
  * and continuously polls until the build finishes or the timeout is reached.
134
+ * Rejects with a {@link NotFoundError} if the build keeps returning 404 for 3 seconds.
134
135
  *
135
136
  * This is useful when you need to immediately start a run after a build finishes.
136
137
  *
@@ -202,6 +202,7 @@ export declare class RunClient extends ResourceClient {
202
202
  * Unlike the `waitForFinish` parameter in {@link get}, this method can wait indefinitely
203
203
  * by polling the run status. It uses the `waitForFinish` parameter internally (max 60s per call)
204
204
  * and continuously polls until the run finishes or the timeout is reached.
205
+ * Rejects with a {@link NotFoundError} if the run keeps returning 404 for 3 seconds.
205
206
  *
206
207
  * @param options - Wait options
207
208
  * @param options.waitSecs - Maximum time to wait for the run to finish, in seconds. If the limit is reached, the returned promise resolves to a run object that will have status `READY` or `RUNNING`. If omitted, waits indefinitely.
@@ -330,6 +330,7 @@ export class RunClient extends ResourceClient {
330
330
  * Unlike the `waitForFinish` parameter in {@link get}, this method can wait indefinitely
331
331
  * by polling the run status. It uses the `waitForFinish` parameter internally (max 60s per call)
332
332
  * and continuously polls until the run finishes or the timeout is reached.
333
+ * Rejects with a {@link NotFoundError} if the run keeps returning 404 for 3 seconds.
333
334
  *
334
335
  * @param options - Wait options
335
336
  * @param options.waitSecs - Maximum time to wait for the run to finish, in seconds. If the limit is reached, the returned promise resolves to a run object that will have status `READY` or `RUNNING`. If omitted, waits indefinitely.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-client",
3
- "version": "3.0.0-beta.51",
3
+ "version": "3.0.0-beta.52",
4
4
  "description": "Apify API client for JavaScript",
5
5
  "engines": {
6
6
  "node": ">=22.13.0"