Ricardo Araújo Paes
38976558f5
feat(dev): add argument bypassCSP to use in pupperter ( #635 )
2021-06-01 22:05:44 -04:00
Wictor Nogueira
b895437458
add searchMessages method ( #586 )
...
* add searchMessages method
* fix typing
* fix typing
* remove unused statement
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-06-01 21:54:27 -04:00
tuyuribr
0a061f982c
feat: Add from which device the message was sent ( #648 )
...
* Add from which device the message was sent.
Use the message Id for fingerprint the device that was being use when the message was sent
* To single quotes
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 21:03:23 -04:00
Aliyss Snow
63d11d3f84
feat: disable / enable WA Web features ( #543 )
...
* Added Features and Enabling/Disabling of Features within WhatsappWeb
* remove feature commands from example
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2021-05-31 20:58:55 -04:00
renjop
5177a257cf
feat: Get Orders and Products ( #612 )
...
* - Get products and orders
* - Get products and orders
* - Eslint fixes
* - Eslint fixes
* allow downloading media for products
* products and orders work on normal accounts
Co-authored-by: Renato Jop <renato.jop@consystec-corp.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 20:46:43 -04:00
Wictor Nogueira
f506c171c1
add extra option to MessageSendOptions ( #600 )
...
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 19:24:30 -04:00
tuyuribr
64e2cc48fc
feat: openChatWindow can open new chats ( #592 )
...
Open the chat window even if you never chatted with the chatId
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 19:21:57 -04:00
Wictor Nogueira
6c66ab2bef
Add sendVideoAsGif option ( #578 )
...
* Add sendVideoAsGif option
* fix typo
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-05-31 19:18:10 -04:00
Rajeh Taher
efc7018f9a
Add support for sticker Name and author ( #527 )
...
* Added Sticker author and sticker name support
This patch of Client.js includes support for sticker metadata
* Docs: stickerName and stickerAuthor in MessageOpts
* Hotfix_Sticker_Feature
fixes a bug
* Update global.html
* updated
* fixed comma
* Fixed duplicate code
* Fixing eslint
* Fixing eslint again
* eslint....
* fixing problem with eslint.
* move sticker exif data filling to Utils.formatToWebpSticker() function
* Update Client.js
* Added temporary stuff
* eslint
* Update Util.js
* eslint bad :D
* eslint
* polish work with files
* fix error and TODOs
* clean up code to match with repo code style
* update typescript params
* Update src/util/Util.js
camel Case
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
* Update Util.js
* ➖ webp-converter ➕ node-webpmux
* Update Util.js
* ✨ Use node-webpmux
* ➖ node-webpmux ➕ node-webpmux-commonjs
* ✏️ Fixed require mode
* :heavy_plus_sign:node-webpmux ➖ node-webpmux-commonjs
* ⬆️ Node-webpmux update changes
* 🚨 removing try/catch
* 🚨 complier warnings
* 🧐 stupid mistakes
* ⬆️ Upgrade required version
* 🐛 creating a buffer the right way
* 🐛 linting and simplification
* 🐛 unsimplification
* 🚨 eslint loves singlequotes
* ✨ Added emojis / categories in metadata
* 🏷️ TypeScript Declarations
* ✨ Sticker Categories in sendMessage
* 🏷️ Improved TS declarations
* fix stickerCategories type
* fix: don't set name/author if not defined
Co-authored-by: Marcelo Carvalho <mpirescarvalho17@gmail.com >
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2021-05-31 19:13:30 -04:00
Pedro Lopez
6cece4a006
fix: emit disconnected event on page navigation
...
This also addresses an issue due to a change in behavior from WhatsApp Web when the session is logged out from the device.
2021-04-20 20:02:22 -04:00
Pedro Lopez
f1e2f32988
fix: click correct element on manual qr code refresh
2021-04-20 19:39:13 -04:00
Jacob Galam
e6015162c5
fix(types): media type in MessageSendOptions ( #554 )
...
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-02-25 00:27:23 -04:00
Pedro S. Lopez
bc90ffcb19
fix: WhatsApp Web v2.2106.5 compatibility
2021-02-25 00:23:49 -04:00
Antoine Schaller
2702757dce
fix: star() & unstar() functions ( #547 )
2021-02-15 22:24:07 -04:00
Pedro S. Lopez
168c84250e
fix sending stickers on WhatsApp Web v2.2104.6
2021-02-11 18:40:35 -04:00
Pedro S. Lopez
89029ac916
add docs
2021-02-09 00:43:45 -04:00
Pedro S. Lopez
559133c3c4
fix: upload media on WhatsApp Web v2.2104.6
2021-02-09 00:35:25 -04:00
Pedro S. Lopez
e2acd03efc
fix: download media on WhatsApp Web v2.2104.6
2021-02-09 00:24:48 -04:00
Pedro S. Lopez
cea1830dde
docs: fix error generating Label docs
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
f639c53f0a
feat: Get message delivery information ( close #418 )
2020-12-29 00:33:49 -04:00
Raphael R
3e32fe27ea
feat: mark chat as unread ( #475 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Marcelo Carvalho
5c6195738f
feat: add GroupChat types ( #485 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
32575490da
docs: fix typo
2020-12-29 00:33:49 -04:00
Antoine Schaller
5a0ccc8b17
feat: added starred indicator to messages ( #501 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Marcelo Carvalho
1b946940f4
feat: star/unstar messages ( #494 )
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
71dbe99023
feat: get Contact's "About" text ( close #491 )
2020-12-29 00:33:49 -04:00
Pedro S. Lopez
8b101d1f3d
feat: get links included in message ( #457 )
2020-12-29 00:33:49 -04:00
Marcelo Carvalho
e2a642a81b
feat: send media as stickers ( #479 )
...
Adds the option `sendMediaAsSticker` that will take care of converting media to appropriate formats and send it as a sticker. Note that ffmpeg is required to properly convert animated stickers that are not in webp format.
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Pedro Lopez
0c0a5a752b
docs: fix slight typo
2020-12-29 00:33:49 -04:00
Marcelo Carvalho
e141a5df97
feat: send media as document ( #490 )
...
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2020-12-29 00:33:49 -04:00
Lucas Rosa
576768e390
feat: Get registered ID for a given phone number ( #483 )
...
Exposes internal getNumberById function for easy usage.
This can help with dealing with brazilian numbers with the extra digit, always returning the correct ID.
This will probably eventually replace the current isRegisteredUser function.
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Aliyss Snow
87cb5a0519
feat(interface): Open chat search, open chat at message position ( #447 )
2020-12-29 00:33:49 -04:00
dyegoaurelio
274d24002b
feat: WA Business Labels support ( #407 )
...
* Get all labels
* Get chats by label
* Get labels assigned to chats
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Pedro Lopez
467f2af7d8
fix: properly serialize chats with pending button replies
...
close #489
2020-12-21 21:55:38 -04:00
victormga
a1d09e0e21
fix: fetchMessages when msgs length is smaller than limit ( #438 )
2020-11-19 15:03:39 -04:00
victormga
d86ccec5d1
fix: Expose store on WhatsApp Web v2.2047.10 ( #437 )
...
Fixed whatsapp updates
close #436
2020-11-19 14:55:41 -04:00
Pedro Lopez
054ef4a84f
add typings
2020-11-05 02:06:13 -04:00
Pedro S. Lopez
c9bc0a1c8b
Merge branch 'master' into bugfix-multi_vcard
2020-11-05 01:55:03 -04:00
Pedro Lopez
7738f7910b
fix linting issues
2020-11-05 01:40:12 -04:00
Pedro Lopez
fc7a1a9974
fix: address removal of Conn.me
...
This change on WhatsApp Web v2.2045.15 caused errors when sending messages and getting the current user id
2020-11-05 01:37:51 -04:00
Pedro Lopez
b0465ceeff
fix: expose GroupMetadata
...
WhatsApp Web v2.2045.15+ no longer has this in the store by default
2020-11-05 01:20:52 -04:00
Lucas Rosa
2abe4a157d
Merge branch 'master' into bugfix-multi_vcard
2020-11-02 13:20:25 -03:00
yuvalfis
e520a96b20
fix: serialize msgs.buttons and delete msgs from chat model ( #402 )
...
Co-authored-by: yuvalFishler <yuvalf@realfriend.ai >
close #386
2020-11-01 18:32:46 -04:00
Lucas Rosa
75296b652b
feat: add received vcards to the message.
2020-10-26 19:49:06 -03:00
Lucas Rosa
b15ec768d3
fix: show multiple vcard as array in body
2020-10-26 16:23:26 -03:00
Pedro S. Lopez
42dd866a53
feat: boolean for indicating Status update messages ( #396 )
2020-10-26 00:45:09 -04:00
Pedro S. Lopez
20e07c43d7
feat: block/unblock contacts ( #397 )
2020-10-26 00:44:03 -04:00
Pedro S. Lopez
9b096db784
feat: Send contacts ( #395 )
...
Introduces the ability to send contact cards. You can send Contacts directly or send a vCard string and it will be automatically parsed. If you'd like to disable this autoparse functionality, you can set `parseVCards: false` as an option while sending a message.
close #293
2020-10-25 22:44:37 -04:00
Pedro S. Lopez
604656cf73
fix: change OpaqueData module lookup function ( #391 )
...
A change introduced in WhatsApp Web v2.2043.8 caused this to break, leading to issues while sending media
fix #390
2020-10-21 15:18:51 -04:00
Aliyss Snow
aedf41b762
feat: Pin and unpin Chats ( #166 )
...
* Added Pinning
- chat.pin() to pin
- chat.unpin() to unpin
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-10-11 15:50:12 -04:00