wppconnect-team / wppconnect

WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
https://wppconnect.io
Other
1.92k stars 337 forks source link

fix: getActiveChat is not async #2350

Closed gekkedev closed 3 weeks ago

gekkedev commented 1 month ago

Base layer for comparison: https://github.com/wppconnect-team/wa-js/blob/4df7fee17ed071b461e2da28d8e6c9e7592c9739/src/chat/functions/getActiveChat.ts#L33 (it's not async there)

Tested in the browser, there is no difference: image

It's surely difficult to keep both layers (wa-js/wppconnect) in sync. Have you considered consolidating them into one repo?