apify 4.0.0-beta.52 → 4.0.0-beta.53

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.
Files changed (2) hide show
  1. package/dist/actor.d.ts +4 -4
  2. package/package.json +2 -2
package/dist/actor.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  import type { EventManager, EventTypeName, RecordOptions, UseStateOptions } from '@crawlee/core';
2
2
  import { Dataset, KeyValueStore, RequestQueue } from '@crawlee/core';
3
3
  import type { Awaitable, Dictionary, StorageBackend } from '@crawlee/types';
4
- import type { ActorCallOptions, ActorInput, ActorStartOptions, ApifyClientOptions, RunAbortOptions, TaskCallOptions, Webhook, WebhookEventType } from 'apify-client';
5
- import { ActorRun as ClientActorRun, ApifyClient } from 'apify-client';
4
+ import type { ActorCallOptions, ActorInput, ActorStartOptions, ApifyClientOptions, RunAbortOptions, TaskCallOptions, WebhookResource, WebhookEventType } from 'apify-client';
5
+ import { ApifyClient, Run as ClientActorRun } from 'apify-client';
6
6
  import { type ACTOR_PERMISSION_LEVEL } from '@apify/consts';
7
7
  import type { RequestQueueAccessMode } from './apify_request_queue_backend.js';
8
8
  import type { ChargeOptions, ChargeResult } from './charging.js';
@@ -553,7 +553,7 @@ export declare class Actor<Data extends Dictionary = Dictionary> {
553
553
  * For more information, see the [Get webhook](https://apify.com/docs/api/v2#/reference/webhooks/webhook-object/get-webhook) API endpoint.
554
554
  * @ignore
555
555
  */
556
- addWebhook(options: WebhookOptions): Promise<Webhook | undefined>;
556
+ addWebhook(options: WebhookOptions): Promise<WebhookResource | undefined>;
557
557
  /**
558
558
  * Sets the status message for the current Actor run.
559
559
  *
@@ -1078,7 +1078,7 @@ export declare class Actor<Data extends Dictionary = Dictionary> {
1078
1078
  * @returns The return value is the Webhook object.
1079
1079
  * For more information, see the [Get webhook](https://apify.com/docs/api/v2#/reference/webhooks/webhook-object/get-webhook) API endpoint.
1080
1080
  */
1081
- static addWebhook(options: WebhookOptions): Promise<Webhook | undefined>;
1081
+ static addWebhook(options: WebhookOptions): Promise<WebhookResource | undefined>;
1082
1082
  /**
1083
1083
  * Sets the status message for the current Actor run.
1084
1084
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apify",
3
- "version": "4.0.0-beta.52",
3
+ "version": "4.0.0-beta.53",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.13.0"
@@ -65,7 +65,7 @@
65
65
  "@crawlee/fs-storage": "4.0.0-rc.1",
66
66
  "@crawlee/types": "4.0.0-rc.1",
67
67
  "@crawlee/utils": "4.0.0-rc.1",
68
- "apify-client": "^3.0.0-beta.28",
68
+ "apify-client": "^3.0.0-beta.53",
69
69
  "minimatch": "^10.2.6",
70
70
  "semver": "^7.8.5",
71
71
  "tslib": "^2.8.1",