webpeel 0.21.41 → 0.21.42

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.
@@ -149,7 +149,7 @@ function unixToIso(sec) {
149
149
  }
150
150
  /** Fetch JSON from a URL using simpleFetch (reuses WebPeel's HTTP stack). */
151
151
  async function fetchJson(url, customHeaders) {
152
- const result = await simpleFetch(url, undefined, 15000, {
152
+ const result = await simpleFetch(url, 'webpeel/0.21 (https://webpeel.dev)', 15000, {
153
153
  Accept: 'application/json',
154
154
  ...customHeaders,
155
155
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webpeel",
3
- "version": "0.21.41",
3
+ "version": "0.21.42",
4
4
  "description": "Fast web fetcher for AI agents - stealth mode, crawl mode, page actions, structured extraction, PDF parsing, smart escalation from simple HTTP to headless browser",
5
5
  "author": "Jake Liu",
6
6
  "license": "AGPL-3.0-only",