@mrscraper/sdk 1.1.3 → 1.1.4

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/README.md +8 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -179,9 +179,9 @@ const scraper = await createAiScraper({
179
179
  | `message` | `string` | No | `""` | Natural-language instructions (general/listing agents) |
180
180
  | `agent` | `"general" \| "listing" \| "map"` | No | `"general"` | Agent type |
181
181
  | `proxyCountry` | `string \| null` | No | — | Two-letter proxy country code (general/listing) |
182
- | `maxDepth` | `number` | No | `2` | Max crawl depth, 0–5 (map agent) |
183
- | `maxPages` | `number` | No | `50` | Max pages to crawl, 1–1000 (map agent) |
184
- | `limit` | `number` | No | `1000` | Max results to return, 1–100000 (map agent) |
182
+ | `maxDepth` | `number` | No | `2` | Max crawl depth (map agent) |
183
+ | `maxPages` | `number` | No | `50` | Max pages to crawl (map agent) |
184
+ | `limit` | `number` | No | `1000` | Max results to return (map agent) |
185
185
  | `includePatterns` | `string` | No | `""` | URL patterns to include (map agent) |
186
186
  | `excludePatterns` | `string` | No | `""` | URL patterns to exclude (map agent) |
187
187
  | `token` | `string` | No | — | Overrides the `MRSCRAPER_API_TOKEN` environment variable |
@@ -212,11 +212,11 @@ const result = await rerunAiScraper({
212
212
  |-----------|------|----------|---------|-------------|
213
213
  | `scraperId` | `string` | Yes | — | ID of the AI scraper to rerun |
214
214
  | `url` | `string` | Yes | — | New URL to scrape |
215
- | `maxDepth` | `number` | No | `2` | Max crawl depth (0–5) |
216
- | `maxPages` | `number` | No | `50` | Max pages (1–1000) |
217
- | `limit` | `number` | No | `1000` | Max results (1–100000) |
218
- | `includePatterns` | `string` | No | `""` | URL patterns to include |
219
- | `excludePatterns` | `string` | No | `""` | URL patterns to exclude |
215
+ | `maxDepth` | `number` | No | `2` | Max crawl depth (map agent) |
216
+ | `maxPages` | `number` | No | `50` | Max pages to process (map and listing agent) |
217
+ | `limit` | `number` | No | `1000` | Max results limit (map agent) |
218
+ | `includePatterns` | `string` | No | `""` | URL patterns to include (map agent) |
219
+ | `excludePatterns` | `string` | No | `""` | URL patterns to exclude (map agent) |
220
220
  | `token` | `string` | No | — | Overrides the `MRSCRAPER_API_TOKEN` environment variable |
221
221
 
222
222
  **Returns:** `Promise<unknown>` — the API response object.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mrscraper/sdk",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Official Node.js SDK for the MrScraper API – fetch pages, Google SERP, run AI scrapers, rerun manual scrapers, and retrieve results.",
5
5
  "license": "MIT",
6
6
  "type": "module",