feat: customise linked device name (#3325)
* feat: add functionality for setting device and browser names * feat: add usage example * feat: add usage example * docs: add docs for new functionality * docs: add missing property * docs: supplement the implementation documentation
This commit is contained in:
parent
81fd090e36
commit
ca30ac4b18
3 changed files with 37 additions and 0 deletions
10
index.d.ts
vendored
10
index.d.ts
vendored
|
|
@ -544,6 +544,16 @@ declare namespace WAWebJS {
|
|||
/** Ffmpeg path to use when formatting videos to webp while sending stickers
|
||||
* @default 'ffmpeg' */
|
||||
ffmpegPath?: string,
|
||||
/** Sets bypassing of page's Content-Security-Policy
|
||||
* @default false */
|
||||
bypassCSP?: boolean,
|
||||
/** Sets the device name of a current linked device., i.e.: 'TEST' */
|
||||
deviceName?: string,
|
||||
/**
|
||||
* Sets the browser name of a current linked device, i.e.: 'Firefox'.
|
||||
* Valid value are: 'Chrome' | 'Firefox' | 'IE' | 'Opera' | 'Safari' | 'Edge'
|
||||
*/
|
||||
browserName?: string,
|
||||
/** Object with proxy autentication requirements @default: undefined */
|
||||
proxyAuthentication?: {username: string, password: string} | undefined
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue