New compatibilities (#3973)

* New compatibilities

* Update Client.js

* 1

* Update Client.js

* 3

* Update Client.js

---------

Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
This commit is contained in:
tuyuribr 2025-12-13 01:55:09 -03:00 • committed by GitHub
commit 0439d7f123
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 41 additions and 9 deletions

3
index.d.ts vendored
View file

@ -562,6 +562,9 @@ declare namespace WAWebJS {
/** Timeout for authentication selector in puppeteer
* @default 0 */
authTimeoutMs?: number,
/** function to be evaluated On New Document
* @default undefined */
evalOnNewDoc?: Function,
/** Puppeteer launch options. View docs here: https://github.com/puppeteer/puppeteer/ */
puppeteer?: puppeteer.PuppeteerNodeLaunchOptions & puppeteer.ConnectOptions
/** Determines how to save and restore sessions. Will use LegacySessionAuth if options.session is set. Otherwise, NoAuth will be used. */