Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions impit-node/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,15 @@ export interface ImpitOptions {
* @default `false`
*/
ignoreTlsErrors?: boolean
/**
* Additional CA certificates to trust, in PEM format.
*
* Unlike the `ca` option of Node's `tls` module, these are trusted in addition to the default root certificates.
* This is useful e.g. with TLS-intercepting proxies that sign the server certificates with their own CA.
*
* @default `undefined`
*/
ca?: string | Buffer | Array<string | Buffer>
/**
* Whether to fallback to a vanilla user-agent if the emulated browser
* is not supported by the target website.
Expand Down
1 change: 1 addition & 0 deletions impit-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"@types/node": "^26.6.11",
"express": "^5.3.0",
"proxy-chain": "^3.0.3",
"selfsigned": "^5.5.0",
"socks-server-lib": "^0.0.3",
"tough-cookie": "^6.1.0",
"typedoc": "^0.28.20",
Expand Down
219 changes: 219 additions & 0 deletions impit-node/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading