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
Pedro Lopez
55247576da
add script to get change log
2021-11-24 10:07:27 -04:00
Pedro Lopez
8a1f6f0648
chore: mark version v1.15.2
v1.15.2
2021-11-24 09:49:16 -04:00
github-actions[bot]
254ca884aa
Update supported WhatsApp Web version to v2.2146.9 ( #969 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-11-24 09:43:59 -04:00
tuyuribr
3958105926
Fix WA 2.2146.9 ( #990 )
...
* Fix WA 2.2146.9
WA is serving two versions to me, so we need to check window.mR.findModule('Conn').lengh for a while
* to singleQuotes
* Update Injected.js
* simplify getting `Conn` module, use different object for `Store`
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2021-11-24 09:40:01 -04:00
Pedro Lopez
818bf48e5d
fix: convert button ids to string
2021-11-01 21:30:34 -04:00
Pedro S. Lopez
d71544566c
move links section in readme
2021-10-30 21:29:39 -04:00
Pedro S. Lopez
187aa50131
Url updates for wwebjs.dev ( #944 )
...
* Update package.json
* update links in readme
2021-10-30 21:27:08 -04:00
Pedro Lopez
e11e00d938
chore: update docs for v1.15.1
v1.15.1
2021-10-30 00:46:37 -04:00
Pedro Lopez
d9dd89ccaf
chore: mark version v1.15.1
2021-10-30 00:46:09 -04:00
Pedro Lopez
3aa0e4f7b3
fix: dont modify id reference when serializing message
2021-10-30 00:45:04 -04:00
Pedro Lopez
d82cf448d9
chore: mark version v1.15.0
v1.15.0
2021-10-30 00:15:24 -04:00
github-actions[bot]
3f576c990c
Update supported WhatsApp Web version to v2.2142.12 ( #827 )
...
Co-authored-by: pedroslopez <pedroslopez@users.noreply.github.com >
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
2021-10-30 00:14:07 -04:00
Pedro Lopez
d44a525b02
fix: serialize message id remote when fetching messages
...
close #825
2021-10-30 00:12:06 -04:00