stefanfuchs
55f75b8f69
fix: typescript compilation ( #1693 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-10-04 14:24:03 +02: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
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
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
Pedro Lopez
af431df1c9
chore: mark version v1.17.0
v1.17.0
2022-06-21 01:36:19 -04:00
Alon Schwartzblat
61c0a6be56
Reaction feature added. ( #1400 )
...
* Fix get order.
* Fix types.
* Add set picture for profile and for groups.
* Fix bug.
* Fix
* Fix types
* Fix eslint
* Add send reaction feature.
* Add send reaction feature.
* Add set picture for profile and for groups.
* Add send reaction feature.
* Add send reaction feature.
* Add send reaction feature.
* Add send reaction feature.
* Add send reaction feature.
* Add send reaction feature.
* Update src/structures/Reaction.js
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com >
* Bug fixes.
* Bug fixes.
* Bug fixes.
* Fix
* Fix
* Fix example
* Fix conflict
* Fix conflict
* Fix conflict
* Fix conflict
* Fix conflict
* Fix conflict
* move implementation to message model
Co-authored-by: Noah van der Aa <ndvdaa@gmail.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2022-06-21 00:46:07 -04:00
Pedro S. Lopez
a0b18fb685
fix: set user agent as a launch arg for usage in serviceworker ( #1518 )
2022-06-21 00:01:59 -04:00
jurajmatus
98ff761cfb
fix: fetchMessages infinite loop when there are no messages in the chat ( #1480 )
...
* Fix of fetchMessages
* Node 12 compatibility
2022-06-14 00:22:53 -04:00
Pedro Lopez
c0ef9223ed
chore: mark version 1.16.7
v1.16.7
2022-06-09 23:57:17 -04:00
github-actions[bot]
294e5027b0
Update supported WhatsApp Web version to v2.2220.8 ( #1416 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-06-09 23:47:17 -04:00
Shir Serlui
ebc56bc280
fix: correctly get models and fetchMessages in WhatsApp Web v2.2220.8
...
* Fix models is undefined
* Feat models is undefined
* Feat models is undefined
* Fix loadEarlierMsgs
* use `getModelsArray()` to get models
* fix: correctly loadEarlierMsgs with ConversationMsgs module
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2022-06-09 23:41:25 -04:00
Pedro Lopez
b16e1cdf83
chore: mark version 1.16.6
v1.16.6
2022-04-21 17:58:08 -04:00
github-actions[bot]
a24294ec61
Update supported WhatsApp Web version to v2.2212.8 ( #1381 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-04-21 17:32:42 -04:00
Pedro Lopez
374983b9a6
fix: find old features module
2022-04-21 17:18:47 -04:00
Rajeh Taher
5e2e9dd139
Fix: Cannot read properties of undefined (reading 'features') // original: ( #1407 ) ( #1410 )
...
* Fix: Cannot read properties of undefined (reading 'features') (#1407 )
* Fix: Cannot read properties of undefined (reading 'features')
Find MD backend without features
* Fix for tests
* Update Client.js
* Update LegacySessionAuth.js
Co-authored-by: Shir Serlui <70711723+shirser121@users.noreply.github.com >
2022-04-21 17:15:00 -04:00
Pedro Lopez
3a2acf71c2
chore: mark version v1.16.5
v1.16.5
2022-03-28 23:47:16 -04:00
Pedro Lopez
f32f3c71ba
fix: get groupnotification chat
...
close #1329
2022-03-28 23:44:04 -04:00
github-actions[bot]
017dd4b783
Update supported WhatsApp Web version to v2.2210.9 ( #1340 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-03-28 23:28:09 -04:00
Ahmed Fouzan
fa9f6610d7
fix(typings): Add ConnectOptions typings ( #1354 )
...
* Add ConnectOptions typings
* simplify type
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-03-28 23:22:51 -04:00
༺ LᴇG̸ᴇɴD ༻
e9104b390d
Fix: Cannot read properties of undefined (reading 'getProfilePicFull') ( #1362 )
...
* Fix for issue#1356 - Cannot read properties of undefined reading getProfilePicFull
* use cross-compatible profilePicFind function
Co-authored-by: Joaquin Touris <joaquin@192.168 .1.6>
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2022-03-28 23:17:55 -04:00
ogxing
a23c285f3c
fix: group chat create ( #1319 )
2022-03-28 22:56:07 -04:00
github-actions[bot]
281aec40ad
Update supported WhatsApp Web version to v2.2208.7 ( #1287 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-03-09 18:32:04 -04:00
Pedro Lopez
2e4890d113
chore: mark version v1.16.4
v1.16.4
2022-03-09 18:26:05 -04:00
Pedro Lopez
0bd8eb9d96
chore: mark version v1.16.4-alpha.0
2022-03-09 00:57:36 -04:00
Pedro S. Lopez
2718c1328c
fix compatibility issues with WhatsApp Web 2.2208.7 ( #1311 )
...
* fix compatiblity issues with v2.2208.7
* remove expclusive test
2022-03-09 00:54:57 -04:00