apify-client 3.0.0-beta.116 → 3.0.0-beta.117

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.
@@ -46,7 +46,8 @@ export declare class ActorVersionClient extends ResourceClient {
46
46
  *
47
47
  * @param newFields - Fields to update.
48
48
  * @param options - Request options
49
- * @param options.timeoutSecs - Timeout for the API request. Default is `'short'`.
49
+ * @param options.timeoutSecs - Timeout for the API request. Default is `'long'`, since the version can carry
50
+ * its source files.
50
51
  * @returns The updated Actor version object.
51
52
  * @see https://docs.apify.com/api/v2/act-version-put
52
53
  */
@@ -55,13 +55,14 @@ export class ActorVersionClient extends ResourceClient {
55
55
  *
56
56
  * @param newFields - Fields to update.
57
57
  * @param options - Request options
58
- * @param options.timeoutSecs - Timeout for the API request. Default is `'short'`.
58
+ * @param options.timeoutSecs - Timeout for the API request. Default is `'long'`, since the version can carry
59
+ * its source files.
59
60
  * @returns The updated Actor version object.
60
61
  * @see https://docs.apify.com/api/v2/act-version-put
61
62
  */
62
63
  async update(newFields, options = {}) {
63
64
  parseArgument(newFields, anyObjectSchema);
64
- const { timeoutSecs = 'short', signal } = parseArgument(options, timeoutOptionsSchema, 'TimeoutOptions');
65
+ const { timeoutSecs = 'long', signal } = parseArgument(options, timeoutOptionsSchema, 'TimeoutOptions');
65
66
  return this.updateResource(schemas.Version(), newFields, timeoutSecs, signal);
66
67
  }
67
68
  /**
@@ -60,7 +60,8 @@ export declare class ActorVersionCollectionClient extends ResourceCollectionClie
60
60
  *
61
61
  * @param actorVersion - The Actor version data.
62
62
  * @param options - Request options
63
- * @param options.timeoutSecs - Timeout for the API request. Default is `'short'`.
63
+ * @param options.timeoutSecs - Timeout for the API request. Default is `'long'`, since the version can carry
64
+ * its source files.
64
65
  * @returns The created Actor version object.
65
66
  * @see https://docs.apify.com/api/v2/act-versions-post
66
67
  */
@@ -68,13 +68,14 @@ export class ActorVersionCollectionClient extends ResourceCollectionClient {
68
68
  *
69
69
  * @param actorVersion - The Actor version data.
70
70
  * @param options - Request options
71
- * @param options.timeoutSecs - Timeout for the API request. Default is `'short'`.
71
+ * @param options.timeoutSecs - Timeout for the API request. Default is `'long'`, since the version can carry
72
+ * its source files.
72
73
  * @returns The created Actor version object.
73
74
  * @see https://docs.apify.com/api/v2/act-versions-post
74
75
  */
75
76
  async create(actorVersion, options = {}) {
76
77
  parseArgument(actorVersion, actorVersionSchema);
77
- const { timeoutSecs = 'short', signal } = parseArgument(options, timeoutOptionsSchema, 'TimeoutOptions');
78
+ const { timeoutSecs = 'long', signal } = parseArgument(options, timeoutOptionsSchema, 'TimeoutOptions');
78
79
  return this.createResource(schemas.Version(), actorVersion, timeoutSecs, signal);
79
80
  }
80
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify-client",
3
- "version": "3.0.0-beta.116",
3
+ "version": "3.0.0-beta.117",
4
4
  "description": "Apify API client for JavaScript",
5
5
  "engines": {
6
6
  "node": ">=22.15.0"