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:
Pedro S. Lopez 2023-05-29 02:31:03 -04:00 • committed by GitHub
commit 8ae0c0d484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,6 +7,10 @@ exports.DefaultOptions = {
headless: true,
defaultViewport: null
},
webVersion: '2.2306.7',
webVersionCache: {
type: 'local',
},
authTimeoutMs: 0,
qrMaxRetries: 0,
takeoverOnConflict: false,