apify-client 2.17.1-beta.8 → 2.18.0

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 CHANGED
@@ -68254,6 +68254,12 @@ class HttpClient {
68254
68254
  return value !== undefined;
68255
68255
  }).map((param)=>{
68256
68256
  let [key, value] = param;
68257
+ if (value instanceof Date) {
68258
+ return [
68259
+ key,
68260
+ value.toISOString()
68261
+ ];
68262
+ }
68257
68263
  const updatedValue = typeof value === 'boolean' ? Number(value) : value;
68258
68264
  return [
68259
68265
  key,
@@ -70466,7 +70472,9 @@ class RunCollectionClient extends _base_resource_collection_client__WEBPACK_IMPO
70466
70472
  limit: (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.number),
70467
70473
  offset: (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.number),
70468
70474
  desc: (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.boolean),
70469
- status: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES)), ow__WEBPACK_IMPORTED_MODULE_2___default().array.ofType(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES))))
70475
+ status: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES)), ow__WEBPACK_IMPORTED_MODULE_2___default().array.ofType(ow__WEBPACK_IMPORTED_MODULE_2___default().string.oneOf(Object.values(_apify_consts__WEBPACK_IMPORTED_MODULE_0__.ACTOR_JOB_STATUSES)))),
70476
+ startedBefore: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any((ow__WEBPACK_IMPORTED_MODULE_2___default().optional.date), (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.string)),
70477
+ startedAfter: ow__WEBPACK_IMPORTED_MODULE_2___default().optional.any((ow__WEBPACK_IMPORTED_MODULE_2___default().optional.date), (ow__WEBPACK_IMPORTED_MODULE_2___default().optional.string))
70470
70478
  }));
70471
70479
  return this._list(options);
70472
70480
  }
@@ -71303,7 +71311,7 @@ function isStream(value) {
71303
71311
  function getVersionData() {
71304
71312
  if (true) {
71305
71313
  return {
71306
- version: "2.17.1-beta.8"
71314
+ version: "2.18.0"
71307
71315
  };
71308
71316
  }
71309
71317
  // eslint-disable-next-line
@@ -79228,7 +79236,7 @@ module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1
79228
79236
  }),
79229
79237
  "./package.json": (function (module) {
79230
79238
  "use strict";
79231
- module.exports = JSON.parse('{"name":"apify-client","version":"2.17.1-beta.8","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.42.0","@apify/log":"^2.2.6","@apify/utilities":"^2.18.0","@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":"^5.0.0","@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":"^5.0.0","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"}')
79239
+ module.exports = JSON.parse('{"name":"apify-client","version":"2.18.0","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.42.0","@apify/log":"^2.2.6","@apify/utilities":"^2.18.0","@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":"^5.0.0","@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":"^5.0.0","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"}')
79232
79240
 
79233
79241
  }),
79234
79242
 
@@ -79323,7 +79331,7 @@ __webpack_require__.hu = (chunkId) => ('' + chunkId + '.' + __webpack_require__.
79323
79331
  })();
79324
79332
  // webpack/runtime/get_full_hash
79325
79333
  (() => {
79326
- __webpack_require__.h = () => ("cc36bda646ca990e")
79334
+ __webpack_require__.h = () => ("c9d4911837f65f2c")
79327
79335
  })();
79328
79336
  // webpack/runtime/get_main_filename/update manifest
79329
79337
  (() => {