mcpscraper-sdk 0.59.2 → 0.59.3

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 CHANGED
@@ -239,4 +239,4 @@ Publication management: list owned subdomains with `commons_list_publications`,
239
239
 
240
240
  PAA job progress can include the optional `phase` and `observedAt` fields. They identify observed extraction work separately from worker renewal. Existing polling and request arguments remain compatible. See [the release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.1).
241
241
 
242
- Reddit trending supports `window: "14d"`, verified publication dates, captured comment text and delivery quality fields. See the [0.59.2 release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.2) for the compatible package versions.
242
+ Omit the Reddit trending window for an all-time search. Dated searches verify post or comment activity, including when comment text is omitted. See the [0.59.3 release notes](https://github.com/VilovietaSEO/mcpscraper-sdk/releases/tag/v0.59.3) for the compatible package versions.
package/dist/index.d.cts CHANGED
@@ -601,12 +601,11 @@ interface paths {
601
601
  get?: never;
602
602
  put?: never;
603
603
  /**
604
- * Discover and rank the top recent Reddit threads for a topic
605
- * @description Finds Reddit discussions for a topic or subreddit. With comments enabled, opens candidate posts
606
- * to verify publication dates, collects comment text, and ranks delivered threads by engagement.
607
- * The 14-day window replaces candidates with no usable comments when more candidates are available.
608
- * Discovery-only results have unverified publication dates. Discovery, delivered threads, and
609
- * captured comments are billed separately. An empty delivery refunds the discovery charge.
604
+ * Discover and rank Reddit discussions for a topic
605
+ * @description Finds Reddit discussions for a topic or subreddit. Omit the window for an all-time search.
606
+ * Dated searches verify the post or a captured comment timestamp, including for link-only results.
607
+ * Discovery, verified threads, and returned comment text are billed separately. Undated link-only
608
+ * searches bill discovery only. An empty delivery refunds the discovery charge.
610
609
  */
611
610
  post: operations["redditTrending"];
612
611
  delete?: never;
@@ -2405,6 +2404,8 @@ interface components {
2405
2404
  score?: string;
2406
2405
  depth?: number;
2407
2406
  body?: string;
2407
+ /** Format: date-time */
2408
+ publishedAt?: string;
2408
2409
  }[];
2409
2410
  sourceUrl?: string;
2410
2411
  };
@@ -2414,8 +2415,8 @@ interface components {
2414
2415
  /** @description Bare subreddit name to scope the scan, e.g. "SEO" (no r/ prefix). Omit to scan all of Reddit. */
2415
2416
  subreddit?: string;
2416
2417
  /**
2417
- * @description Publication window; scraped threads are checked against their actual post dates, while discovery-only dates remain unverified.
2418
- * @default month
2418
+ * @description Activity window. A verified post or comment timestamp can qualify a thread.
2419
+ * @default all
2419
2420
  * @enum {string}
2420
2421
  */
2421
2422
  window: "week" | "14d" | "month" | "year" | "all";
@@ -2425,7 +2426,7 @@ interface components {
2425
2426
  */
2426
2427
  maxThreads: number;
2427
2428
  /**
2428
- * @description Open selected threads to verify post dates and collect comments; false returns search candidates for your own selection, without per-thread charges or verified post dates.
2429
+ * @description Return captured comment text. Dated results still open and bill for verified threads when false.
2429
2430
  * @default true
2430
2431
  */
2431
2432
  includeComments: boolean;
@@ -2458,11 +2459,18 @@ interface components {
2458
2459
  * @description Observed publication timestamp when available.
2459
2460
  */
2460
2461
  publishedAt?: string | null;
2462
+ /**
2463
+ * Format: date-time
2464
+ * @description Latest verified captured comment timestamp when comment text is omitted.
2465
+ */
2466
+ latestCommentPublishedAt?: string | null;
2461
2467
  comments?: {
2462
2468
  author: string;
2463
2469
  score: string;
2464
2470
  depth: number;
2465
2471
  body: string;
2472
+ /** Format: date-time */
2473
+ publishedAt?: string;
2466
2474
  }[];
2467
2475
  /** @description Text comments actually returned for this thread. */
2468
2476
  capturedCommentCount?: number;
@@ -2485,7 +2493,7 @@ interface components {
2485
2493
  candidatesFound?: number;
2486
2494
  /** @description True when coverage is partial or the requested delivery target was missed. */
2487
2495
  partial?: boolean;
2488
- /** @description The Google site:reddit.com query used for discovery. */
2496
+ /** @description The site-scoped query used by the discovery provider. */
2489
2497
  searchQuery?: string;
2490
2498
  /** @enum {string} */
2491
2499
  discoverySource?: "google_serp" | "reddit_search_fallback" | "none";
@@ -5214,6 +5222,7 @@ declare class RedditNamespace {
5214
5222
  score?: string;
5215
5223
  depth?: number;
5216
5224
  body?: string;
5225
+ publishedAt?: string;
5217
5226
  }[];
5218
5227
  sourceUrl?: string;
5219
5228
  }>;
package/dist/index.d.ts CHANGED
@@ -601,12 +601,11 @@ interface paths {
601
601
  get?: never;
602
602
  put?: never;
603
603
  /**
604
- * Discover and rank the top recent Reddit threads for a topic
605
- * @description Finds Reddit discussions for a topic or subreddit. With comments enabled, opens candidate posts
606
- * to verify publication dates, collects comment text, and ranks delivered threads by engagement.
607
- * The 14-day window replaces candidates with no usable comments when more candidates are available.
608
- * Discovery-only results have unverified publication dates. Discovery, delivered threads, and
609
- * captured comments are billed separately. An empty delivery refunds the discovery charge.
604
+ * Discover and rank Reddit discussions for a topic
605
+ * @description Finds Reddit discussions for a topic or subreddit. Omit the window for an all-time search.
606
+ * Dated searches verify the post or a captured comment timestamp, including for link-only results.
607
+ * Discovery, verified threads, and returned comment text are billed separately. Undated link-only
608
+ * searches bill discovery only. An empty delivery refunds the discovery charge.
610
609
  */
611
610
  post: operations["redditTrending"];
612
611
  delete?: never;
@@ -2405,6 +2404,8 @@ interface components {
2405
2404
  score?: string;
2406
2405
  depth?: number;
2407
2406
  body?: string;
2407
+ /** Format: date-time */
2408
+ publishedAt?: string;
2408
2409
  }[];
2409
2410
  sourceUrl?: string;
2410
2411
  };
@@ -2414,8 +2415,8 @@ interface components {
2414
2415
  /** @description Bare subreddit name to scope the scan, e.g. "SEO" (no r/ prefix). Omit to scan all of Reddit. */
2415
2416
  subreddit?: string;
2416
2417
  /**
2417
- * @description Publication window; scraped threads are checked against their actual post dates, while discovery-only dates remain unverified.
2418
- * @default month
2418
+ * @description Activity window. A verified post or comment timestamp can qualify a thread.
2419
+ * @default all
2419
2420
  * @enum {string}
2420
2421
  */
2421
2422
  window: "week" | "14d" | "month" | "year" | "all";
@@ -2425,7 +2426,7 @@ interface components {
2425
2426
  */
2426
2427
  maxThreads: number;
2427
2428
  /**
2428
- * @description Open selected threads to verify post dates and collect comments; false returns search candidates for your own selection, without per-thread charges or verified post dates.
2429
+ * @description Return captured comment text. Dated results still open and bill for verified threads when false.
2429
2430
  * @default true
2430
2431
  */
2431
2432
  includeComments: boolean;
@@ -2458,11 +2459,18 @@ interface components {
2458
2459
  * @description Observed publication timestamp when available.
2459
2460
  */
2460
2461
  publishedAt?: string | null;
2462
+ /**
2463
+ * Format: date-time
2464
+ * @description Latest verified captured comment timestamp when comment text is omitted.
2465
+ */
2466
+ latestCommentPublishedAt?: string | null;
2461
2467
  comments?: {
2462
2468
  author: string;
2463
2469
  score: string;
2464
2470
  depth: number;
2465
2471
  body: string;
2472
+ /** Format: date-time */
2473
+ publishedAt?: string;
2466
2474
  }[];
2467
2475
  /** @description Text comments actually returned for this thread. */
2468
2476
  capturedCommentCount?: number;
@@ -2485,7 +2493,7 @@ interface components {
2485
2493
  candidatesFound?: number;
2486
2494
  /** @description True when coverage is partial or the requested delivery target was missed. */
2487
2495
  partial?: boolean;
2488
- /** @description The Google site:reddit.com query used for discovery. */
2496
+ /** @description The site-scoped query used by the discovery provider. */
2489
2497
  searchQuery?: string;
2490
2498
  /** @enum {string} */
2491
2499
  discoverySource?: "google_serp" | "reddit_search_fallback" | "none";
@@ -5214,6 +5222,7 @@ declare class RedditNamespace {
5214
5222
  score?: string;
5215
5223
  depth?: number;
5216
5224
  body?: string;
5225
+ publishedAt?: string;
5217
5226
  }[];
5218
5227
  sourceUrl?: string;
5219
5228
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcpscraper-sdk",
3
- "version": "0.59.2",
3
+ "version": "0.59.3",
4
4
  "description": "Official Node.js client for all 352 mcpscraper.dev MCP tools and the REST API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,7 +32,7 @@
32
32
  "seo-api"
33
33
  ],
34
34
  "dependencies": {
35
- "mcpscraper-memory-sdk": "^0.58.2"
35
+ "mcpscraper-memory-sdk": "^0.58.3"
36
36
  },
37
37
  "devDependencies": {
38
38
  "openapi-typescript": "^7.13.0"