This release includes a couple minor improvements:
- new utility function on Client that can be used to check if a certain ID is a valid whatsapp user
client.isRegisteredUser("XXXXXXXXXXX@c.us")
will return a promise that resolves to a boolean - new event
media_uploaded
to get when media has been successfully uploaded for a message - new option
restartOnAuthFail
that will automatically restart if an authentication failure has occurred when trying to sign in with a preexisting session
Raw changelog
9d0b58a - chore: mark version v1.3.0
842c4f0 - feat: check if ID is a valid whatsapp user
2dddc78 - fix: initialize takes no params
d8cd2d1 - chore: updated whatsapp web version
80d5783 - feat: new event for when media is uploaded
cb54487 - feat: add ack to message model
d08b343 - Added "restartOnAuthFail" as an option (#112)
ec1a80d - chore: bump version to v1.2.5-post