feat(reliability): WhatsApp Web version caching (#1847)
* feat: use specific whatsapp web version * add constants to version updater * configurable caches * rename * typings * rm extraneous export * missing from the rename * rm version resolver * match readme version * use try-catch * only persist if cache miss
This commit is contained in:
parent
915763a8d0
commit
8ae0c0d484
9 changed files with 197 additions and 9 deletions
|
|
@ -7,6 +7,10 @@ exports.DefaultOptions = {
|
|||
headless: true,
|
||||
defaultViewport: null
|
||||
},
|
||||
webVersion: '2.2306.7',
|
||||
webVersionCache: {
|
||||
type: 'local',
|
||||
},
|
||||
authTimeoutMs: 0,
|
||||
qrMaxRetries: 0,
|
||||
takeoverOnConflict: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue