Rajeh Taher
6ae8c42816
fixing ESLint errors
2022-07-07 18:30:26 +03:00
Rajeh Taher
7fc72fe149
Merge branch 'main' into patch-participants
2022-07-07 18:23:18 +03: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
Pedro Lopez
24f8b4622b
chore: mark version v1.16.3
v1.16.3
2022-03-06 23:30:20 -04:00
Pedro Lopez
9ab9c48f7b
fix(typings): LegacySessionAuth restartOnAuthFail
2022-03-06 01:35:58 -04:00
༺ LᴇG̸ᴇɴD ༻
b96607338a
getProfilePicture Fix => Evaluation failed: Error: Comms::sendIq called before startComms ( #1264 )
...
* Fix: Evaluation failed: Error: Comms::sendIq called before startComms
* [Requested Changes] - Only call Wap if we're not on MD & vice-versa
Co-authored-by: Joaquin Touris <joaquin@192.168 .1.5>
2022-03-05 16:24:40 +02:00
Pedro S. Lopez
ea2cc81d47
add feature request form template
2022-03-05 02:30:49 -04:00
Clifford Fajardo
56644f4f03
add github ISSUE_TEMPLATE files ( #1195 )
...
* add github ISSUE_TEMPLATE files
* Update .github/ISSUE_TEMPLATE/config.yml
* Update .github/ISSUE_TEMPLATE/bug_report.yml
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* apply updates per feedback that was given
* Update bug_report.yml
* Update bug_report.yml
* Update bug_report.yml
* Update bug_report.yml
* Update bug_report.yml
* Update bug_report.yml
Co-authored-by: clifford <cfajardo@linkedin.com >
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-03-05 02:26:49 -04:00
Pedro Lopez
fcb78a1cd4
chore: mark version v1.16.2
v1.16.2
2022-03-01 23:23:26 -04:00
Fábio Dias
f88bd274be
fix(LocalAuth): logout method ( #1267 )
...
The logout method was trying to use a function call passing the "dataDir" as the "this" reference
2022-03-01 23:15:08 -04:00
Alon Schwartzblat
c45fae5c15
Fix get order. ( #1274 )
...
* Fix get order.
* Fix types.
2022-03-01 23:08:27 -04:00
Pedro Lopez
1b75d0d243
fix(LocalAuth): only throw user-supplied userDataDir error if path is different
...
fix #1261
2022-03-01 22:25:22 -04:00
Filipe
cc78e9863d
add typings for LocalAuth attributes ( #1262 )
2022-02-28 23:00:21 -04:00
inceabdullah
fc205ff530
fix: Cannot destructure property 'session' of 'undefined' as it is undefined. ( #1259 )
2022-02-28 22:59:54 -04:00
Pedro Lopez
6ab98a5365
chore: mark version v1.16.1
v1.16.1
2022-02-28 00:51:59 -04:00
Pedro Lopez
3c24df085a
add back deprecated info.me
2022-02-28 00:51:28 -04:00
Pedro Lopez
979e97ea42
chore: mark version v1.16.0
v1.16.0
2022-02-27 23:30:03 -04:00
Pedro Lopez
1f4328c7a3
fix tests
2022-02-27 23:29:09 -04:00
Pedro Lopez
6691d25282
fix: message.getInfo() works for both MD and non-MD
2022-02-27 23:28:57 -04:00
Pedro S. Lopez
12d9735b73
Update README.md
2022-02-27 22:58:39 -04:00
SuperChang
ab5167c4ad
fix: ChangeParticipantsPermissions typo in index.d.ts ( #1206 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-02-27 22:34:12 -04:00
YaronD
52c8336236
Added message duration in seconds ( #1230 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-02-27 22:30:47 -04:00
Pedro Lopez
9fe91692cf
update tests to work with authStrategies
2022-02-27 22:18:54 -04:00
Pedro S. Lopez
f6de161c7d
Auth Strategies ( #1257 )
...
* auth strategies
* default to no auth
* rename base auth strategy
* rename base strategy cont.
* refactor auth strategy methods and LocalAuth
* activate old session options even if is falsy value
* move restartOnAuthFail to LegacyAuthStrategy option
* add link to guide item
* update example/shell
* types
2022-02-27 22:02:49 -04:00
Rajeh Taher
0d55d40885
feat: Multi-device support ( #889 )
...
* 🚑 Added ready selector for multi-device
* SendMessage fix
* File management system and some fixes
* cleanup
* cleanup again
* eslint
* critical fix for reloading the same session
* Checking for valid folder name (regex)
* ESLint hotfix (regex escapes)
* Typings cleanup
* cleanup listener
* Multi-device Branch merge (#888 )
* Duplicate
* qr fix and allow non-beta users to connect
* urgent: selector fix
* urgent: qr timeout fix
* fix
* Updated type so no TS error when sending list/buttons
* Update index.d.ts
* fix QueryExist for Multidevice (#928 )
* creates isRegisteredUserBeta
* fix QueryExist
* fix Error: GROUP_JID: invalid jid type: Not an instance of WID issue (#926 )
* fix Error: GROUP_JID: invalid jid type: Not an instance of WID issue
* clean code
* Cleanup
* Fix for update chrome error
* ESLint fix
* :red_light: fix for RMDIR
* Update README.md
* Update README.md
* fix: getProfilePicUrl fix by victormga (#941 )
* fix: MD presence available/unavailable (#942 )
* delete session when appropriate & fix for SW
* ignore QR timeout errors
* Presence and ChatState updates working for MD+Non-MD
* shell uses new session storage
* lint fix
* support session.json-based auth for non-md
* md fix
* md fix
* fix shell clientId
* remove exclusive mocha test
* make linkPreview default to false
* remove ignored errors on getQuotedMessage
* fix: dont modify existing this.options.puppeteer object
* tests work with new dir auth
* remove exclusive test
* fixes and tests for group creation and participant functions
* remove unused function
* wip fix group settings functions
* isRegisteredUser && getNumberId hotFix (#955 )
* isRegisteredUser && getNumberId hotFix
A fix for client.isRegisteredUser and client.getNumberId. Use for reference or if you are stuck with MD and NEEDS this function. Problably Whatsapp will break this in a couple weeks
* fix for non-md
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* Fix WA 2.2146.9 MD + victormga branch (#991 )
* qrcode now uses observers instead of timeout
* automatic auth/qrcode detection
* Fix WA 2.2146.9 MD
Got from github:victormga/whatsapp-web.js#multidevice maybe it's behind pedro branch
Co-authored-by: victormga <victor_mga@hotmail.com >
* fix
* fix*
* getnumberid to multidevice (#1027 )
* getNumberId to main
isRegisteredUser && getNumberId hotFix #955 To main
* Update Client.js
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com >
* Update Client.js
* Message.raw() (#1005 )
* Message.raw()
* i just noticed
* Update index.d.ts
* Update index.d.ts
* Update Message.js
* Get rid of sharp now!!!!!!!! (#1045 )
* commit 1
* finally, gotten rid of sharp
* pckg.json
* service worker fix & disableMessage option
* typings
* Update example.js
* clear session system
* Update Client.js
* Update Client.js
* Fix accepting group private invite (#1094 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* [MD] Add getCommonGroups with specific user. (#1097 )
* Add getCommonGroups with specific user.
* Fix
* Fix
* Fix
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix getCommonGroups. (#1122 )
* Fix of Unexpected identifier async destroy() (#1123 )
* Fix of Unexpected identifier async destroy()
* Fix made in #1107
* Temporary fix for "Sticker" module
* some really quick changes
* Update Injected.js
* Update Injected.js
* Update index.d.ts
* fix: getNumberId Solved (#1142 )
* getNumberId Solved
* isRegisteredUser Solved
* formmated
* Apply suggestions from code review
* Update src/util/Injected.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* Fix: "Chrome user data dir was not found ..."
fixes the error caused by puppeteer.
* Update Client.js (#1154 )
* fix: getNumberId and isRegisteredUser (#1159 )
* fix: getNumberId and isRegisteredUser
* Apply suggestions from code review
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
* Update client.js
* Update Injected.js
* Update Client.js
* Update index.d.ts
* Update Client.js
* Update Client.js
* fix lint indentation
* fix auth_failure event for non-md, tests
* fix setting group subject
* fix finding Label module
* set remember-me after clearing localStorage
* fix: send messages to groups correctly on MD, use new ID format
* fix setting / getting contact status
* fix msg.getInfo, add message tests
* fix group settings functions
* fix set group description, handle errors in setSubject
* fix group invite functions
* fix leaving group
* bring back phone info for non-md users
* remove unused option, update typings
* add back jsdoc for qr event
* fix setting sticker metadata, clean up sticker functions
* rawData is a get only property
* fix and simplify getNumberId/isRegisteredUser
* fix getInviteInfo
* setDisplayName returns bool, not yet implemented for md
* fix: stream module (#1241 )
* linkPreview has no effect on MD, return default to true
* fix: del linkPreview option on md
* cleanup, types and docs updates
* update readmes / test notes
* remove DS_Store
* DS_Store in gitignore
* test stability (timeouts/sleeps)
Co-authored-by: Rajeh Taher <rajeh@reforward.tk >
Co-authored-by: Gustavo B <52040719+Gugabit@users.noreply.github.com >
Co-authored-by: Maikel Ortega Hernández <maikeloh@gmail.com >
Co-authored-by: victormga <victor_mga@hotmail.com >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
Co-authored-by: tuyuribr <45042245+tuyuribr@users.noreply.github.com >
Co-authored-by: gon <68490103+nekiak@users.noreply.github.com >
Co-authored-by: Alon Schwartzblat <63599777+Schwartzblat@users.noreply.github.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Šebestíček <44745014+SebestikCZ@users.noreply.github.com >
Co-authored-by: Emmanuel Anaya Luna <38712443+KeruMx@users.noreply.github.com >
Co-authored-by: L337C0D3R <51872799+L337C0D3R@users.noreply.github.com >
Co-authored-by: Reni Delonzek <renidelonzek@gmail.com >
2022-02-27 18:51:08 -04:00
Pedro Lopez
8ef37b68ae
chore: mark version v1.15.8
v1.15.8
2022-02-25 17:45:33 -04:00
github-actions[bot]
bd5cfdc936
Update supported WhatsApp Web version to v2.2206.5 ( #1247 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-02-25 17:43:30 -04:00
༺ LᴇG̸ᴇɴD ༻
f0e49efcf9
[Main Branch]: Fix Cannot read properties of undefined (reading 'Socket') ( #1249 )
...
Co-authored-by: Joaquin Touris <joaquin@192.168 .1.5>
2022-02-25 17:11:28 -04:00
Pedro Lopez
5d83b45ed4
chore: mark version v1.15.7
v1.15.7
2022-02-19 15:48:03 -04:00
github-actions[bot]
e29354fca3
Update supported WhatsApp Web version to v2.2204.13 ( #1210 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-02-19 15:45:21 -04:00