@crawlee/types 4.0.0-beta.116 → 4.0.0-beta.117

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/http-client.d.ts CHANGED
@@ -62,6 +62,12 @@ export interface SendRequestOptions {
62
62
  * Note that setting this manually can interfere with session proxy rotation.
63
63
  */
64
64
  proxyUrl?: string;
65
+ /**
66
+ * When `true`, TLS certificate errors are ignored for this request. Also enabled by
67
+ * `session.proxyInfo.ignoreTlsErrors` (MITM proxies). Best-effort: clients that cannot
68
+ * disable TLS verification (e.g. the native fetch fallback) ignore it.
69
+ */
70
+ ignoreTlsErrors?: boolean;
65
71
  }
66
72
  export interface StreamOptions extends SendRequestOptions {
67
73
  onRedirect?: RedirectHandler;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/types",
3
- "version": "4.0.0-beta.116",
3
+ "version": "4.0.0-beta.117",
4
4
  "description": "Shared types for the crawlee projects",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -52,5 +52,5 @@
52
52
  }
53
53
  }
54
54
  },
55
- "gitHead": "2bdc17928f47674f08fff7a83de861d881b7947a"
55
+ "gitHead": "7c9c8c83da02da0444130cb95368045d30881c3b"
56
56
  }
package/session.d.ts CHANGED
@@ -49,6 +49,8 @@ export interface ProxyInfo {
49
49
  port: number | string;
50
50
  /**
51
51
  * When `true`, the proxy is likely intercepting HTTPS traffic and is able to view and modify its content.
52
+ * The built-in HTTP clients and the browser pool disable TLS certificate verification for the session's
53
+ * requests when this is set.
52
54
  *
53
55
  * @default false
54
56
  */