apify-client 2.12.5-beta.4 → 2.12.5-beta.6
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/dist/bundle.js +16 -3
- package/dist/bundle.js.map +1 -1
- package/dist/resource_clients/request_queue.d.ts +7 -0
- package/dist/resource_clients/request_queue.d.ts.map +1 -1
- package/dist/resource_clients/request_queue.js +14 -0
- package/dist/resource_clients/request_queue.js.map +1 -1
- package/package.json +1 -1
package/dist/bundle.js
CHANGED
|
@@ -26427,6 +26427,19 @@ class RequestQueueClient extends _base_resource_client__WEBPACK_IMPORTED_MODULE_
|
|
|
26427
26427
|
});
|
|
26428
26428
|
return (0,_utils__WEBPACK_IMPORTED_MODULE_3__.cast)((0,_utils__WEBPACK_IMPORTED_MODULE_3__.parseDateFields)((0,_utils__WEBPACK_IMPORTED_MODULE_3__.pluckData)(response.data)));
|
|
26429
26429
|
}
|
|
26430
|
+
/**
|
|
26431
|
+
* https://docs.apify.com/api/v2/request-queue-requests-unlock-post
|
|
26432
|
+
*/ async unlockRequests() {
|
|
26433
|
+
const response = await this.httpClient.call({
|
|
26434
|
+
url: this._url('requests/unlock'),
|
|
26435
|
+
method: 'POST',
|
|
26436
|
+
timeout: this.timeoutMillis,
|
|
26437
|
+
params: this._params({
|
|
26438
|
+
clientKey: this.clientKey
|
|
26439
|
+
})
|
|
26440
|
+
});
|
|
26441
|
+
return (0,_utils__WEBPACK_IMPORTED_MODULE_3__.cast)((0,_utils__WEBPACK_IMPORTED_MODULE_3__.parseDateFields)((0,_utils__WEBPACK_IMPORTED_MODULE_3__.pluckData)(response.data)));
|
|
26442
|
+
}
|
|
26430
26443
|
/**
|
|
26431
26444
|
* https://docs.apify.com/api/v2#/reference/request-queues/request-collection/list-requests
|
|
26432
26445
|
*
|
|
@@ -27575,7 +27588,7 @@ function isStream(value) {
|
|
|
27575
27588
|
function getVersionData() {
|
|
27576
27589
|
if (true) {
|
|
27577
27590
|
return {
|
|
27578
|
-
version: "2.12.5-beta.
|
|
27591
|
+
version: "2.12.5-beta.6"
|
|
27579
27592
|
};
|
|
27580
27593
|
}
|
|
27581
27594
|
// eslint-disable-next-line
|
|
@@ -33293,7 +33306,7 @@ const isIterable = (thing) => thing != null && isFunction(thing[iterator]);
|
|
|
33293
33306
|
}),
|
|
33294
33307
|
"./package.json": (function (module) {
|
|
33295
33308
|
"use strict";
|
|
33296
|
-
module.exports = JSON.parse('{"name":"apify-client","version":"2.12.5-beta.
|
|
33309
|
+
module.exports = JSON.parse('{"name":"apify-client","version":"2.12.5-beta.6","description":"Apify API client for JavaScript","main":"dist/index.js","module":"dist/index.mjs","types":"dist/index.d.ts","browser":"dist/bundle.js","unpkg":"dist/bundle.js","exports":{"./package.json":"./package.json",".":{"import":"./dist/index.mjs","require":"./dist/index.js","types":"./dist/index.d.ts","browser":"./dist/bundle.js"}},"keywords":["apify","api","apifier","crawler","scraper"],"author":{"name":"Apify","email":"support@apify.com","url":"https://apify.com"},"contributors":["Jan Curn <jan@apify.com>","Marek Trunkát <marek@apify.com>","Ondra Urban <ondra@apify.com>","Jakub Drobník <jakub.drobnik@apify.com>"],"license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/apify/apify-client-js"},"bugs":{"url":"https://github.com/apify/apify-client-js/issues"},"homepage":"https://docs.apify.com/api/client/js/","files":["dist","!dist/*.tsbuildinfo"],"scripts":{"build":"npm run clean && npm run build:node && npm run build:browser","postbuild":"gen-esm-wrapper dist/index.js dist/index.mjs","prepublishOnly":"(test $CI || (echo \\"Publishing is reserved to CI!\\"; exit 1))","clean":"rimraf dist","test":"npm run build && jest","lint":"eslint","lint:fix":"eslint --fix","tsc-check-tests":"tsc --noEmit --project test/tsconfig.json","format":"prettier --write .","format:check":"prettier --check .","build:node":"tsc","build:browser":"rsbuild build"},"dependencies":{"@apify/consts":"^2.25.0","@apify/log":"^2.2.6","@crawlee/types":"^3.3.0","agentkeepalive":"^4.2.1","async-retry":"^1.3.3","axios":"^1.6.7","content-type":"^1.0.5","ow":"^0.28.2","tslib":"^2.5.0","type-fest":"^4.0.0"},"devDependencies":{"@apify/eslint-config":"^1.0.0","@apify/tsconfig":"^0.1.1","@babel/cli":"^7.21.0","@babel/core":"^7.21.0","@babel/preset-env":"^7.20.2","@babel/register":"^7.21.0","@crawlee/puppeteer":"^3.2.2","@rsbuild/core":"^1.3.6","@rsbuild/plugin-node-polyfill":"^1.3.0","@stylistic/eslint-plugin-ts":"^4.2.0","@types/async-retry":"^1.4.5","@types/content-type":"^1.1.5","@types/express":"^4.17.17","@types/fs-extra":"^11.0.1","@types/jest":"^29.4.0","@types/node":"^22.0.0","ajv":"^8.17.1","babel-loader":"^10.0.0","body-parser":"^1.20.3","compression":"^1.7.4","eslint":"^9.24.0","eslint-config-prettier":"^10.1.2","express":"^4.21.1","fs-extra":"^11.1.0","gen-esm-wrapper":"^1.1.2","globals":"^16.0.0","jest":"^29.4.3","prettier":"^3.5.3","process":"^0.11.10","puppeteer":"^24.0.0","rimraf":"^6.0.0","source-map-support":"^0.5.21","ts-jest":"^29.0.5","ts-loader":"^9.4.2","ts-node":"^10.9.1","typescript":"^5.8.3","typescript-eslint":"^8.29.1"},"packageManager":"npm@10.9.2"}')
|
|
33297
33310
|
|
|
33298
33311
|
}),
|
|
33299
33312
|
|
|
@@ -33387,7 +33400,7 @@ __webpack_require__.hu = (chunkId) => ('' + chunkId + '.' + __webpack_require__.
|
|
|
33387
33400
|
})();
|
|
33388
33401
|
// webpack/runtime/get_full_hash
|
|
33389
33402
|
(() => {
|
|
33390
|
-
__webpack_require__.h = () => ("
|
|
33403
|
+
__webpack_require__.h = () => ("94bcf2ba8670b267")
|
|
33391
33404
|
})();
|
|
33392
33405
|
// webpack/runtime/get_main_filename/update manifest
|
|
33393
33406
|
(() => {
|