Rajeh Taher
9b659a26fa
Merge branch 'main' into patch-participants
2022-11-08 18:00:33 +02:00
Pedro Lopez
6f7c5c2dd9
chore: mark version v1.18.2
v1.18.2
2022-10-26 23:32:56 -04: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 Lopez
7bb7f13f07
bump supported version
v1.18.1
2022-10-26 22:45:05 -04:00
Pedro Lopez
7d672078cd
chore: mark version v1.18.1
2022-10-26 22:44:05 -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
Rajeh Taher
f0c7a0b0c2
Merge branch 'main' into patch-participants
2022-10-22 22:36:50 +03:00
Pedro Lopez
ef3eadc6e5
chore: mark version 1.18.0
v1.18.0
2022-10-21 00:25:57 -04:00
github-actions[bot]
ab87fecfd9
Update supported WhatsApp Web version to v2.2240.7 ( #1592 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-10-21 00:22:56 -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
tuyuribr
45972fb47e
Create pull_request_template ( #1632 )
...
Any Ideas on how to improve this template?
https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
Co-authored-by: Aliyss Snow <33941859+Aliyss@users.noreply.github.com >
2022-10-10 22:45:48 +02:00
Rajeh Taher
53b8c1d967
Merge branch 'main' into patch-participants
2022-10-10 01:55:56 +03:00
Rajeh Taher
56ec18a67c
Update GroupChat.js
2022-10-10 01:55:32 +03:00
stefanfuchs
55f75b8f69
fix: typescript compilation ( #1693 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-10-04 14:24:03 +02:00
Rajeh Taher
3775fd7c3e
Merge branch 'main' into patch-participants
2022-09-29 20:20:17 +03: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
WWebJS Bot
bd4df4cf75
1.18.0-alpha.1
v1.18.0-alpha.1
2022-08-15 07:54:39 +00:00
Pedro S. Lopez
7fe3574730
fix(release): try setting PAT to push to main
2022-08-15 03:53:57 -04:00
Pedro Lopez
09a81d0e1e
v1.18.0-alpha.0
2022-08-15 03:47:51 -04:00
Pedro S. Lopez
c09a22c533
fix(publish): exit if pushing to github failed
2022-08-15 03:42:06 -04:00
Pedro S. Lopez
bb09bb74e7
fix(publish): add git user
v1.18.0-alpha.0
2022-08-15 03:32:40 -04:00
Pedro Lopez
694a52bf26
fix(publish): ouput, remove message
2022-08-15 03:22:43 -04:00
Pedro Lopez
c459eca799
add release action
2022-08-15 02:52:17 -04:00
Roi Greenberg
b74246d69a
Add "fromMe" option to fetchMessages ( #1444 )
2022-08-14 12:30:14 -03:00
Rajeh Taher
4247257850
ERROR/ESLINT
2022-08-10 19:55:06 +03:00
Rajeh Taher
374a6c505f
Merge branch 'main' into patch-participants
2022-08-10 19:53:50 +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
tonbotfy
c5c705a553
feat: [Updated] Loading screen listener with percent and message ( #1563 )
...
* last update
* eslint fix
* headless fix
* Update index.d.ts
Co-authored-by: stefanfuchs <stefan1234@gmail.com >
* Update index.d.ts - Add 'LOADING_SCREEN' type to Enum
Co-authored-by: stefanfuchs <stefan1234@gmail.com >
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-09 15:27:35 +00:00
Yehuda Eisenberg
6e047cb9be
Update User agent ( #1470 )
...
I encountered errors because of this (it says that the chrome version needs to be updated)
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-09 15:26:45 +00:00
Ruvian S
56343497e9
fix: star Error: Evaluation failed: TypeError: msg.chat.sendStarMsgs is not a function ( #1598 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-09 15:25:53 +00:00
Nowbie S
6a4fca0a77
updating forward documentation. ( #1624 )
...
* updating forward documentation.
* Update Message.js
* Update index.d.ts
* Update docs/Message.html
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-08-09 18:24:43 +03:00
Rajeh Taher
1f80a86962
Update GroupChat.js
2022-08-09 13:50:56 +03:00
Rajeh Taher
a9bbc0ed99
Update GroupChat.js
2022-08-09 13:42:03 +03:00
Rajeh Taher
b99aa61dcc
Merge branch 'main' into patch-participants
2022-08-09 13:22:23 +03:00
github-actions[bot]
e91077a615
Update supported WhatsApp Web version to v2.2224.8 ( #1532 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
v1.17.1
2022-07-10 02:24:57 -04:00
Pedro Lopez
0e5bd9f38e
chore: mark version v1.17.1
2022-07-10 02:22:20 -04:00
Thomas
75d3c635f0
Add missing deviceType property in Message interface ( #1510 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-07-10 02:15:11 -04:00
Keenan Yafiq
8497a3d7e5
Add "React to message" in README ( #1534 )
...
* Add "React message" in Supported features list
* Update README.md
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-07-10 02:14:16 -04:00
Maksim
e7025ceca1
Fix TS declaration for Promise of new "react" method ( #1561 )
...
Without explicit delaration of void <T> for Promise running tsc causing the error:
```
node_modules/whatsapp-web.js/index.d.ts:707:38 - error TS2314: Generic type 'Promise<T>' requires 1 type argument(s).
```
2022-07-10 02:11:34 -04:00
Caio Agiani
b8b41920e3
chore(client): adjust typo ( #1565 )
2022-07-10 02:10:53 -04:00
༺ LᴇG̸ᴇɴD ༻
73e4b3b6e0
fix: getNumberId Error: Evaluation failed: TypeError: e.isLid is not a function ( #1571 )
2022-07-10 02:07:57 -04:00
Rajeh Taher
4ffd83015e
eslint!!
2022-07-07 18:57:34 +03:00
Rajeh Taher
510d44dc3e
a
2022-07-07 18:53:20 +03:00