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
Shir Serlui
66283da903
Fix message.delete(true) ( #1211 )
...
* Fix message.delete(true)
* Fix for tests
2022-02-19 15:31:23 -04:00
Tomas Melone
d7f7889b0f
fix: Remove duplicate identifier ( #1205 )
2022-02-19 15:18:34 -04:00
Pedro Lopez
11955e9f03
chore: mark version v1.15.6
v1.15.6
2022-02-08 22:38:33 -04:00
Md. Fahim Bin Amin
444abc2c76
added the Code of Conduct, closing #1156 ( #1176 )
2022-02-08 22:34:33 -04:00
Pedro S. Lopez
20f3bc7a8b
fix: dont cause redirect loop due to session restore ( #1181 )
...
* fix: dont cause redirect loop due to session restore
* back to `state` in docs
* use referer to determine first injection
* bring bzck disconnect on nav
* revert some changes
2022-02-08 22:33:20 -04:00
Pedro Lopez
93c8a2b05e
chore: mark version v1.15.5
v1.15.5
2022-02-06 22:20:08 -04:00
Pedro S. Lopez
70ca073f38
fix: send messages properly when disappearing mode is on ( #1174 )
...
* fix: send messages properly when dissappearing mode is on
* add `isEphemeral` to message model
2022-02-06 21:48:55 -04:00
Shir Serlui
7e36cceaf0
extra options can override other options when sending message (#1103 )
...
* Fix the option to use special options
When we want to use some extra function we need to pass it into the options object, but because it inserted in the first line, the auto options reset some options (like 'type').
This is minor change that can help to add functionallity
* Update Injected.js
Put the special options in the end
* Update Injected.js
Fix , mistake
* only `extra` options can override everything else
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2022-02-06 21:00:10 -04:00
Noam Zaks
303ea3ab6b
fix types and docs for Buttons class ( #1070 )
...
* fix: typing of buttons class
* fix remaining types
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2022-02-07 00:56:57 +00:00
Pedro Lopez
4aae8b0f32
fix: sort before splicing when fetching messages
2022-02-06 20:03:59 -04:00
Pedro Lopez
64803c2ba6
update typings for fetchMessages changes
2022-02-06 19:30:13 -04:00
Azeem Haider
aa9e19a19e
fetchMessages gets currently available messages by default ( #1015 )
...
* get chat default messages fix #1014
* fixing format
* Update src/structures/Chat.js
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-02-06 19:27:38 -04:00
Pedro S. Lopez
7631400de1
add back the pull_request trigger on lint
2022-02-06 19:16:57 -04:00
Pedro Lopez
d7478de68a
fix: emit message events after ciphertext is decrypted
...
fixes #924
fixes #1041
2022-02-06 18:54:10 -04:00
Pedro Lopez
a9b2a1aab8
remove duplicated message type
2022-02-06 16:30:44 -04:00
Pedro Lopez
3b4632201d
fix: add missing message types
2022-02-06 16:26:25 -04:00
Pedro Lopez
2200390d4c
disable eslint warning on intentionally skipped test
2022-02-05 23:36:05 -04:00
dependabot[bot]
b1f7ff01bc
chore(deps-dev): bump sinon from 12.0.1 to 13.0.1 ( #1160 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 12.0.1 to 13.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v12.0.1...v13.0.1 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-05 23:35:04 -04:00
dependabot[bot]
21d565154a
chore(deps-dev): bump dotenv from 10.0.0 to 16.0.0 ( #1171 )
...
Bumps [dotenv](https://github.com/motdotla/dotenv ) from 10.0.0 to 16.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases )
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md )
- [Commits](https://github.com/motdotla/dotenv/compare/v10.0.0...v16.0.0 )
---
updated-dependencies:
- dependency-name: dotenv
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-05 23:32:53 -04:00
dependabot[bot]
09cbee0e65
chore(deps-dev): bump eslint-plugin-mocha from 9.0.0 to 10.0.3 ( #1087 )
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 9.0.0 to 10.0.3.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/9.0.0...10.0.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-05 23:32:30 -04:00
github-actions[bot]
fa9f5aba38
Update supported WhatsApp Web version to v2.2202.12 ( #1152 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2022-02-05 23:17:11 -04:00
Pedro S. Lopez
c859ac39ce
fix: dont crash when calling .destroy() while waiting for qr scan ( #1172 )
...
fixes #739
fixes #951
2022-02-05 23:05:01 -04:00
Pedro S. Lopez
221d29736a
remove unnecessary pull_request trigger for lint
2022-02-05 23:04:47 -04:00
Igor Nunes
078933f061
fix(typings): add MessageTypes BUTTONS_RESPONSE ( #1032 )
...
fixes #1104
2022-02-05 22:11:53 -04:00
Pedro S. Lopez
f149516d0d
chore(tests): add Chat model tests ( #784 )
...
* add search and status tests
* reset to previous status in test
* move version to its own test
* add tests for Chat model
* keep hooks at the top
* run tests recursively in default script
2022-02-05 22:05:42 -04:00
Pedro S. Lopez
2f1c894a34
add tests for takeoverOnConflict ( #1170 )
...
* add tests
* fix module test, remove unused CryptoLib
2022-02-05 20:04:00 -04:00
Pedro S. Lopez
32e47d818a
fix: only emit disconnected event on navigation when state is PAIRING ( #1169 )
2022-02-05 18:19:02 -04:00
Zulfikar
20aee44c3b
fix getLabels error ( #1049 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-02-05 16:41:27 -04:00
Shir Serlui
bb2ef88e0a
fix: message.delete() can revoke for everyone ( #1107 )
...
Change msg.canRevoke to msg._canRevoke according to WhatsApp code change
2022-02-05 15:52:04 -04:00
tuyuribr
6878598a5d
fix: await promise when setting user agent ( #1113 )
...
Some of my devices were bugging out because the setUserAgent didn't had an await, after this everything was working fine (try loading the wwebjs in a broken microSd ahhaha).
We need some testing but on my limited testing everything is working
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-02-05 15:42:25 -04:00
Pedro Lopez
4e6a00dffe
chore: mark version v1.15.4
v1.15.4
2022-01-25 20:49:07 -04:00
Pedro Lopez
b93c7b4b76
fix invalid jsdoc
2022-01-25 20:48:44 -04:00
Pedro Lopez
a37ff69692
fix: restore node 12 support
2022-01-25 20:40:50 -04:00
github-actions[bot]
3705d1fea9
Update supported WhatsApp Web version to v2.2202.8 ( #1084 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2022-01-25 20:16:08 -04:00
Pedro S. Lopez
7950aae5d1
fix: find Store in v2.2202.8 ( #1130 )
...
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2022-01-25 20:15:19 -04:00
Pedro Lopez
bdff59fb44
fix: remove problematic import
2022-01-25 19:45:57 -04:00
Wictor Nogueira
d05803074a
update MessageMedia.fromUrl ( #811 )
...
* fix MessageMedia.fromUrl docs
* use content-type as fallback
* set filename based on url
* fix empty filename
* wrap expression in parentheses
* hotfix
* JSDoc fix
* fix for jsdog
* eslint gets retirement home
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
Co-authored-by: Aliyss Snow <33941859+Aliyss@users.noreply.github.com >
2022-01-21 23:57:15 +01:00
Rajeh Taher
d86c39de3c
fix: Fix inactivity issue ( #946 )
...
* Fixed Remember me issue
* Update Client.js
2021-12-16 15:25:35 +00:00
shirser121
46ba9c5e9a
Add isGif to message._patch ( #963 )
...
* Update Message.js
Add isGif to the message data
* add typings
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2021-12-12 21:57:11 -04:00
Pedro Lopez
d7a493e68a
fix: use correct @types/node-fetch ver, use working node-fetch ver from puppeteer, add test
2021-12-12 21:28:38 -04:00
dependabot[bot]
da95d927b9
chore(deps): bump puppeteer from 10.4.0 to 13.0.0 ( #1057 )
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 10.4.0 to 13.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v10.4.0...v13.0.0 )
---
updated-dependencies:
- dependency-name: puppeteer
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-12 21:09:56 -04:00
dependabot[bot]
92bc5e62ab
chore(deps-dev): bump eslint from 7.32.0 to 8.4.1 ( #1038 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.32.0 to 8.4.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.4.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-12 19:47:11 -04:00
dependabot[bot]
73a3e28a4b
chore(deps-dev): bump @types/node-fetch from 2.5.12 to 3.0.3 ( #911 )
...
Bumps [@types/node-fetch](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node-fetch ) from 2.5.12 to 3.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node-fetch )
---
updated-dependencies:
- dependency-name: "@types/node-fetch"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-12 19:46:30 -04:00
dependabot[bot]
4f376fc2fa
chore(deps-dev): bump sinon from 11.1.2 to 12.0.1 ( #1024 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 11.1.2 to 12.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v11.1.2...v12.0.1 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-12 19:41:08 -04:00
dependabot[bot]
a20c8ef8f8
chore(deps): bump mime from 2.6.0 to 3.0.0 ( #1023 )
...
Bumps [mime](https://github.com/broofa/mime ) from 2.6.0 to 3.0.0.
- [Release notes](https://github.com/broofa/mime/releases )
- [Changelog](https://github.com/broofa/mime/blob/master/CHANGELOG.md )
- [Commits](https://github.com/broofa/mime/compare/v2.6.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: mime
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-12 19:38:33 -04:00
tuyuribr
2052e0479d
Fix: multiple list sections ( #1004 )
...
* Fix multiple list sections
* singleQuotes
* Update src/structures/List.js
Co-authored-by: Rajeh Taher <rajeh@reforward.dev >
2021-12-10 20:47:07 +01:00
Pedro Lopez
c55db82f73
mark version v1.15.3
v1.15.3
2021-12-07 23:06:53 -04:00
github-actions[bot]
4e837b00f9
Update supported WhatsApp Web version to v2.2147.14 ( #1033 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
2021-12-07 23:05:54 -04:00
tuyuribr
89a06b15a8
Hot Fix WA 2.2147.14 ( #1035 )
...
* Hot Fix WA 2.2147.14
* Update Injected.js
* Update Client.js
* sendPresence1
* Update Client.js
* queryLinkPreview
* openChatDrawer
* revert back to using Wap
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2021-12-07 23:04:44 -04:00