This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const WebSocket = require('ws'); | |
const Crypto = require('crypto'); | |
const EC = require('elliptic').ec; | |
const ec = new EC('curve25519'); | |
var whatsAppRunning = false; | |
var ws = null; | |
var qrCodeString = null; | |
var clientId = null; |