Skip to content

Releases: Secreto31126/whatsapp-api-js

Bug fixes

22 Jul 18:51
7a647c6
Compare
Choose a tag to compare
Bug fixes Pre-release
Pre-release

What's Changed

Full Changelog: 0.6.1-beta.0...0.6.1-beta.1

0.6.1-beta.0

12 Jul 18:35
5f30487
Compare
Choose a tag to compare
0.6.1-beta.0 Pre-release
Pre-release

What's Changed

Full Changelog: 0.5.0...0.6.1-beta.0

Logger, replies and other bunch of things

10 Jul 05:12
d48e52a
Compare
Choose a tag to compare

What's Changed

Logger

Easily log every call to sendMessage with the sent object by the bot. Useful for keeping track and debuging conversations between the bot and the client.

new WhatsAppAPI("TOKEN").logSentMessages((from, to) => console.log(`Sent message from phoneID ${from} to user ${to}`));

Reply

This option poped-up in the documentation, and even though the implementation from my code should be correct, it doesn't work. I tested it with the simplests commands and nothing. Maybe it's still not available 🤷‍♂️. Anyway, the code is there for when they decide to enable it.

Whatsapp.sendMessage(from, to, new Text("Hello World!"), "the-message-id-you-want-to-reply-to")

Version bump

Now the default version of the API is v14.0 . This is the only breaking change from the previous version.

Git

Minor changes to the repository. Better CI-CD, a new (and faster) documentation website, and last, but not least, there are unit tests for less than half of the code. I will consider increasing the coverage, sooner or later.

Full Changelog: v0.4.2...0.5.0

Just testing the new Actions

06 Jul 05:29
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 0.5.0-beta.2...0.5.0-beta.3

Improved logSentMessages

25 Jun 10:04
78cd00b
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 0.5.0-beta.1...0.5.0-beta.2

Easily log sendMessage requests

24 Jun 08:48
54b8f5d
Compare
Choose a tag to compare
Pre-release

What's Changed

Full Changelog: 0.5.0-beta.0...0.5.0-beta.1

Reply to message support and bumped to v14.0

20 Jun 01:35
27a1371
Compare
Choose a tag to compare

What's Changed

Full Changelog: 0.4.3-beta.2...0.5.0-beta.0

New beta versions

17 Jun 23:26
Compare
Choose a tag to compare
New beta versions Pre-release
Pre-release

What's Changed

Full Changelog: v0.4.2...0.4.3-beta.2

Improved code porting to other Javascript's enviroments

17 Jun 05:10
Compare
Choose a tag to compare

Idk, I never in my life had so many ups and downs. Idk if I still need "cross-fetch", if the new req variable is a good idea and a lot more of things.

But one thing is certain: you can now run the code in Deno using https://esm.sh/[email protected] .

And that's all I care for.

Now, I can sleep...

Quality of Life

16 Jun 00:16
ab79a8e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1