Skip to content

whatsapp-web.js 1.0.2

This introduces a slight change that adds the TIMEOUT state as an accepted state to be in. This means that the client won't completely disconnects as soon as the phone loses connection for a second.

A new event has also been added to the client, change_state, which is fired whenever the connection state changes. It passes the new connection state as its only parameter.

Raw changelog

d44fd5d - new event on connection state changed a293146 - fix: added timeout to accepted states