tofers
8e8d0c9b3e
feat: Edit message ( #2254 )
...
* function edit message
2023-06-15 12:49:38 -03:00
rafael-ofc
a91bf1c762
Improvements in mentionedJidList and content, referring to sendMessage ( #2166 )
...
* Improvements in mentions and content, referring to sendMessage
* Add function in MessageMedia
* fix: remove fromAll
* Update src/Client.js
* Update src/Client.js
* Update Client.js
---------
Co-authored-by: Rafael <you@example.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2023-05-31 15:55:45 +03:00
Humberto Zambrano
3dd4463478
Fix caption in attached document sending messages ( #2226 )
...
* Caption for attached document
* Update Injected.js
---------
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
2023-05-29 02:38:59 -04:00
github-actions[bot]
1810852c01
Update supported WhatsApp Web version to v2.2322.15 ( #2236 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com>
2023-05-29 02:33:06 -04:00
Pedro S. Lopez
8ae0c0d484
feat(reliability): WhatsApp Web version caching ( #1847 )
...
* feat: use specific whatsapp web version
* add constants to version updater
* configurable caches
* rename
* typings
* rm extraneous export
* missing from the rename
* rm version resolver
* match readme version
* use try-catch
* only persist if cache miss
2023-05-29 02:31:03 -04:00
tofers
081b455fa5
hotfix: newId and deviceType ( #2196 )
...
* update method generate Msg id, newId to newIdV2
* replace newId and await in version WA 2.2321.6
* fix deviceType
2023-05-19 16:25:54 +00:00
Pierluca Lino
d8fd457914
feat: Optional proxy autentication ( #2143 )
2023-04-20 15:19:57 +00:00
tofers
37724f6959
fix: msg.chat ( #2139 )
...
* fix function openChatWindowAt
* fix star \ unstar
* fix function delete
* fix closeRightDrawer
2023-04-19 02:50:08 +03:00
Gabryel Rigol
f8cfc7889c
Fix isStatus ( #2108 )
...
* Fix isStatus
* Fiz isStatus
2023-04-09 16:22:56 +03:00
alechkos
f23ab82565
feat: added contact_changed event ( #2027 )
2023-04-01 19:30:12 +00:00
Wictor Nogueira
f44555713d
Feat: Add chat_removed and chat_archived events ( #1778 )
...
* Add chat_removed and chat_archived events
* Make eslint happy
---------
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
Co-authored-by: Aliyss Snow <33941859+Aliyss@users.noreply.github.com>
2023-04-01 19:19:11 +00:00
alechkos
9f15499592
feat: added group_admin_changed event ( #2018 )
...
* docs: updated
* added group-admin-change event
* minor changes
* added usage example
* minor changes: code docs updated
2023-04-01 16:40:47 +00:00
Rajeh Taher
ac7df25075
Fix media renders ( #1981 )
...
* Fixed
* Update src/util/Injected.js
---------
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
2023-04-01 17:09:28 +03:00
tofers
812ff0ddfc
lastMessage in chat ( #1606 )
...
* lastMessage in chat
* lastMessage info
* Update src/util/Injected.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
* fix serialize msg
* markup
---------
Co-authored-by: tofers <tofers90>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2023-04-01 17:07:39 +03:00
tofers
780005a81a
feat: load reactions in message ( #1897 )
...
* msg find reactions
* reaction list
* return hasReaction only true or false
---------
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2023-04-01 17:03:21 +03:00
Vinicius Tavares
c44af204a1
Add the 'unread_count' event. Listen to changes on Chat.unreadCount ( #2059 )
...
* Initial commit
* Update index.d.ts
* The functions was returning a 'brief' chat data. With this, it will return full Chat model..
* Eslint suggested fixex
---------
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2023-04-01 16:59:57 +03:00
Wictor Nogueira
dc16bbbdac
Feat: change profile/group picture ( #1916 )
...
* feat: pfp
* Make eslint happy
* Fix typo
* Fix missing comma
* Update src/util/Injected.js
* ESLint
* Update src/util/Injected.js
* mfw purp breaks indentation
---------
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2023-04-01 04:21:09 +03:00
Mohammed Khan
4846625119
fixed version id number ( #2087 )
2023-03-29 03:50:23 +00:00
Macley Sousa
1854656648
fix: send media ( #2074 )
2023-03-18 18:12:39 -04:00
Italo Castro
109fbce8db
Fix Message.js ( #2080 )
...
Fixes https://github.com/pedroslopez/whatsapp-web.js/issues/2078
2023-03-18 18:11:38 -04:00
tofers
1294170a25
Fix mute chat ( #1982 )
...
* fix function set mute chat
* chat mute new object
2023-02-11 15:25:54 -08:00
Pedro Lopez
617e0b89d5
merge fix
2023-02-11 15:22:30 -08:00
tofers
842a342f72
Fixing the queryWidExists function ( #1989 )
...
* Update Injected.js
fix function queryWidExists
* Update Injected.js
support WA old version 2.2305.7
---------
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
2023-02-11 15:20:21 -08:00
Pedro Lopez
e8d4874b26
fix getNumberId
2023-02-11 15:18:06 -08:00
Michal Serlui
f1607752dd
try to fix queryWidExists ( #1987 )
2023-02-10 11:06:20 -03:00
Michal Serlui
c208c8936a
Fix: message.getInfo ( #1953 )
...
window.Store.MessageInfo.sendQueryMsgInfo now needs msg.id instead of msg
2023-01-26 23:52:39 +02:00
Pedro S. Lopez
70f2391d51
fix group methods ( #1934 )
...
* fix: create group
* fix set group subject, description, properties; exit group
* fix participant methods
* fix return type
* fix invite methods
2023-01-15 17:59:20 -04:00
Pedro S. Lopez
e1917494bf
Revert "fix: Fix client-side message rendering issue when sending attachements through the library ( #1905 )" ( #1932 )
...
This reverts commit 7dd8688f04 .
2023-01-15 14:54:50 -04:00
tofers
bd192993b7
fix method downloadMedia when not found msg ( #1852 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2023-01-15 14:35:26 -04:00
Rajeh Taher
7dd8688f04
fix: Fix client-side message rendering issue when sending attachements through the library ( #1905 )
2023-01-15 14:32:28 -04:00
Pedro S. Lopez
23d5147a14
fix: compatibility with LegacyPhoneFeatures in latest WhatsApp Web version ( #1930 )
...
* fix removed features on latest wweb version
* errors
2023-01-15 14:30:20 -04:00
Rajeh Taher
a7b77e15ed
fix: Fix call event listener name + Added Call example ( #1886 )
...
* fix: bugfix + example
* relocate global variable
2022-12-23 12:10:09 -03:00
Rajeh Taher
288a572af6
feat: Implement Call Rejection + Introduction of Socket API ( #1882 )
...
* Initial stage
* ESLint
* eslint is annoying
* fix: distinguish Wap from Socket's Wap
2022-12-22 16:02:49 -03:00
Pedro S. Lopez
dc91562f3c
fix: star/unstar messages ( #1843 )
2022-11-26 05:12:54 -04:00
Pedro S. Lopez
db55d869f8
fix: delete messages for everyone ( #1842 )
2022-11-26 04:44:35 -04:00
Pedro S. Lopez
d9f9c28276
fix: get quoted msg ( #1841 )
2022-11-26 04:38:29 -04:00
Felipe Martins
82120f0446
Fix GroupMetadata module ( #1789 )
...
* Fix GroupMetadata module
* Update src/util/Injected.js
Co-authored-by: Felipe Martins <felipe.dev@virtuamax.com.br>
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2022-11-13 12:36:06 +01:00
Pedro S. Lopez
9981723505
fix: message replies compatible with WhatsApp Web v2.2241.6 ( #1765 )
...
* fix message replies
* fix up some tests
2022-10-26 23:32:06 -04:00
Pedro S. Lopez
088ec32b7b
Support for WhatsApp Web 2.2241.6 ( #1762 )
...
* proposed fix
* Fixes
* Add condition for older versions of WA
* fix for old node version support
* fix: default to mdbackend = true
Co-authored-by: purpshell <rajeh@reforward.dev>
2022-10-26 22:43:19 -04:00
Pedro S. Lopez
36aa37f1ac
fix: set ephemeral fields and get links from messages ( #1752 )
...
* fix setting ephemeral fields
* fix missing links method
2022-10-21 00:12:02 -04:00
blox
b1e0fce504
Allow the deletion of others' messages ( #1688 )
2022-09-18 16:33:43 -03:00
༺ LᴇG̸ᴇɴD ༻
62623347e8
[Update] - adding catch block on promise for windows error ( #1659 )
2022-08-18 20:26:46 +03:00
Shir Serlui
705d4d31fd
Use getCommonGroups not contact ( #1623 )
2022-08-18 13:20:30 -03:00
Roi Greenberg
b74246d69a
Add "fromMe" option to fetchMessages ( #1444 )
2022-08-14 12:30:14 -03:00
Yuri
ab7ee0eb4f
Fixing remote auth optional depencies error ( #1640 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2022-08-10 19:46:43 +03:00
jurajmatus
537e843a49
Async buffer->BASE64 conversion ( #1481 )
...
* Async buffer->BASE64 conversion
* ESLint fixes
2022-08-10 16:31:04 +00:00
༺ LᴇG̸ᴇɴD ༻
76f7a6e279
feat: RemoteAuth Strategy ( #1450 )
...
* index.js
* [authReady] - new BaseAuthStrategy function
* [RemoteAuth] - new Class RemoteAuth added
* Eslint Fixes
* Eslint Fixes
* Added types for RemoteAuth (mostly assumed types from PR message and src/authStrategies/RemoteAuth.js)
* [dependency updates] - added unzipper & archiver
* [Types] - Fixing typescript declarations
* Renaming Base Class Hook
* auth hook rename on client
* [Error Handling] - Delegate responsability to end users
* [Refactor] - deletemetadata code refactor
* [Refactor] - backupSyncIntervalMs renamed
* [Refactor] - Minor improvement on deleteMetadata
* [Refactor] - backupSyncIntervalMs rename on index.d.ts
* [Update] - Fix for Ubuntu crahsing on extractSession
* [Update] - Delegate responsability to stores of making sure the previous session is deleted strictly only after the new one is saved
* [Update] - Improve file paths handling & naming (reduce assumptions between RemoteAuth and stores)
* [Update] - Adding new event <REMOTE_SESSION_SAVED> on Constants.js
* [Update] - Adding new authHooks <destroy> & <disconnect>
* [Update] - Adding <destroy> & <disconnect> hooks on Client.js
* [Update] - Adding new features to index.d.ts
* [RemoteAuth] - New Features added to RemoteAuth Class
* [dependency updates] - added fs-extra
* [Cross Platform] - Windows is now compatible with RemoteAuth
* [optionalDependencies] - moved archiver, fs-extra & unzipper to optional dependencies on package.json
* [optionalDependencies] - adding validation for when optional dependencies are missing
* [Update] - Node Deprecation warining for rmdir changed for rm instead
Co-authored-by: h110m <nichtwitzig228@gmail.com>
2022-08-10 13:03:07 +02:00
Wictor Nogueira
f2ec77f969
Feat: add message_reaction event ( #1619 )
...
* Add 'message_reaction' event
2022-08-09 16:09:16 -03:00
Jeremy Andes
fd368361df
Fix: Cannot read properties of undefined (reading 'id') ( #1604 )
...
This change fix `react` evaluation:
```
Error: Evaluation failed: TypeError: Cannot read properties of undefined (reading 'id')
at Object.<anonymous> (https://web.whatsapp.com/bootstrap_main.44dc3fdf06d9bb8b053d.js:2:103021 )
at Generator.next (<anonymous>)
at t (https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66483 )
at s (https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66694 )
at https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66753
at Y (https://web.whatsapp.com/bootstrap_qr.f74b98c729dd38392a5f.js:37:128505 )
at new y (https://web.whatsapp.com/bootstrap_qr.f74b98c729dd38392a5f.js:37:121072 )
at Object.<anonymous> (https://web.whatsapp.com/vendor1~bootstrap_qr.5922e52928d864c0918c.js:2:66634 )
at Object.k (https://web.whatsapp.com/bootstrap_main.44dc3fdf06d9bb8b053d.js:2:105511 )
at Object.t.sendReactionToMsg (https://web.whatsapp.com/bootstrap_main.44dc3fdf06d9bb8b053d.js:2:102647 )
at ExecutionContext._evaluateInternal (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async ExecutionContext.evaluate (/app/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)
at async Message.react (/app/node_modules/whatsapp-web.js/src/structures/Message.js:344:9)
```
Co-authored-by: Rajeh Taher <rajeh@reforward.dev>
2022-08-09 15:30:56 +00:00
Rajeh Taher
bd553f75d3
feat: Adding file size by bytes to MessageMedia ( #1273 )
...
* Update index.d.ts
* Update Message.js
* Update Message.js
* Update MessageMedia.js
* Update MessageMedia.js
2022-08-09 15:29:59 +00:00