update WA version + presence update tracking

This commit is contained in:
Adhiraj
2020-09-19 16:56:29 +05:30
parent ac0eb6fc10
commit 5064ecc144
3 changed files with 20 additions and 5 deletions

View File

@@ -30,7 +30,7 @@ import { STATUS_CODES } from 'http'
export class WAConnection extends EventEmitter {
/** The version of WhatsApp Web we're telling the servers we are */
version: [number, number, number] = [2, 2035, 14]
version: [number, number, number] = [2, 2037, 6]
/** The Browser we're telling the WhatsApp Web servers we are */
browserDescription: [string, string, string] = Utils.Browsers.baileys ('Chrome')
/** Metadata like WhatsApp id, name set on WhatsApp etc. */