apify-client 3.0.0-beta.116 → 3.0.0-beta.118
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/README.md +5 -0
- package/dist/bundle.js +2 -2
- package/dist/bundle.js.map +1 -1
- package/dist/resource_clients/actor_version.d.ts +2 -1
- package/dist/resource_clients/actor_version.js +3 -2
- package/dist/resource_clients/actor_version_collection.d.ts +2 -1
- package/dist/resource_clients/actor_version_collection.js +3 -2
- package/package.json +8 -8
|
@@ -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 `'
|
|
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 `'
|
|
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 = '
|
|
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 `'
|
|
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 `'
|
|
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 = '
|
|
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.
|
|
3
|
+
"version": "3.0.0-beta.118",
|
|
4
4
|
"description": "Apify API client for JavaScript",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.15.0"
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@apify/consts": "^3.1.0",
|
|
71
71
|
"@apify/log": "^3.0.2",
|
|
72
|
-
"@apify/utilities": "^3.
|
|
72
|
+
"@apify/utilities": "^3.2.0",
|
|
73
73
|
"@apify/validations": "^1.1.4",
|
|
74
74
|
"ansi-colors": "^4.1.3",
|
|
75
75
|
"content-type": "^3.1.1",
|
|
@@ -88,13 +88,13 @@
|
|
|
88
88
|
"@apify/oxlint-config": "^0.4.1",
|
|
89
89
|
"@apify/tsconfig": "^0.2.0",
|
|
90
90
|
"@crawlee/puppeteer": "4.0.0-rc.2",
|
|
91
|
-
"@rsbuild/core": "^2.3.
|
|
91
|
+
"@rsbuild/core": "^2.3.4",
|
|
92
92
|
"@rsbuild/plugin-node-polyfill": "^1.4.6",
|
|
93
|
-
"@rspack/cli": "^2.3.
|
|
94
|
-
"@rspack/core": "^2.3.
|
|
93
|
+
"@rspack/cli": "^2.3.4",
|
|
94
|
+
"@rspack/core": "^2.3.4",
|
|
95
95
|
"@types/compression": "^1.8.1",
|
|
96
96
|
"@types/express": "^5.0.6",
|
|
97
|
-
"@types/node": "^26.6.
|
|
97
|
+
"@types/node": "^26.6.10",
|
|
98
98
|
"ajv": "^8.20.0",
|
|
99
99
|
"axios": "^1.21.1",
|
|
100
100
|
"body-parser": "^2.4.0",
|
|
@@ -105,12 +105,12 @@
|
|
|
105
105
|
"oxfmt": "0.80.0",
|
|
106
106
|
"oxlint": "1.93.0",
|
|
107
107
|
"oxlint-tsgolint": "7.0.2007",
|
|
108
|
-
"puppeteer": "^25.
|
|
108
|
+
"puppeteer": "^25.19.0",
|
|
109
109
|
"rimraf": "^6.1.4",
|
|
110
110
|
"rolldown": "^1.3.3",
|
|
111
111
|
"typescript": "^7.0.2",
|
|
112
112
|
"typescript-v6": "npm:typescript@^6.0.3",
|
|
113
|
-
"vitest": "^5.1.
|
|
113
|
+
"vitest": "^5.1.2",
|
|
114
114
|
"webpack": "^5.113.0",
|
|
115
115
|
"webpack-cli": "^7.3.1"
|
|
116
116
|
},
|