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 Lopez
4e6a00dffe
chore: mark version v1.15.4
2022-01-25 20:49:07 -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
Pedro Lopez
c55db82f73
mark version v1.15.3
2021-12-07 23:06:53 -04:00
Pedro Lopez
8a1f6f0648
chore: mark version v1.15.2
2021-11-24 09:49:16 -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
d9dd89ccaf
chore: mark version v1.15.1
2021-10-30 00:46:09 -04:00
Pedro Lopez
d82cf448d9
chore: mark version v1.15.0
2021-10-30 00:15:24 -04:00
Pedro Lopez
7beeff4901
chore: mark version 1.14.1
2021-09-01 09:19:28 -04:00
Pedro Lopez
64189d2d67
chore: mark version v1.14.0
2021-08-01 23:59:56 -04:00
Pedro Lopez
38e31a07cf
Update package.json and readme for node 12 support
2021-08-01 23:57:21 -04:00
Pedro Lopez
40cec51956
fix: node v12 support
2021-08-01 23:56:27 -04:00
Wictor Nogueira
cd774bef17
feat: Add MessageMedia.fromUrl method ( #769 )
2021-07-31 16:36:11 +03:00
Pedro Lopez
62c7c15f44
chore: update links
2021-07-19 00:19:40 -04:00
Pedro Lopez
e12c53f6ce
chore: specify minimum required node version
2021-07-19 00:11:57 -04:00
dependabot[bot]
1b5e9d2392
chore(deps-dev): bump mocha from 8.4.0 to 9.0.2 ( #776 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 8.4.0 to 9.0.2.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.0.2 )
---
updated-dependencies:
- dependency-name: 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>
2021-07-18 22:55:06 -04:00
Pedro S. Lopez
a03cc41d22
Add tests and detect WhatsApp Web updates ( #686 )
...
* test setup, add initializer tests
* test sending messages
* add script to check latest version
* add github action
* use env vars
* configure environment with .env file
* add test for sticker name and author
* add DownloadManager model
* test chats and contacts
* test for number utility functions
* throw error if no remote id has been set
* Update .version
2021-07-16 02:50:05 -04:00
Pedro S. Lopez
dc9b7e5f3d
Update minimum moduleRaid version to 5.0.2
...
close #741
2021-07-14 22:42:21 -04:00
dependabot[bot]
cc7a729223
chore(deps): bump puppeteer from 5.5.0 to 10.1.0 ( #750 )
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 5.5.0 to 10.1.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/v5.5.0...v10.1.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-07-14 18:39:24 -04:00
dependabot[bot]
2ec46f674a
chore(deps): bump sharp from 0.26.3 to 0.28.3 ( #751 )
...
Bumps [sharp](https://github.com/lovell/sharp ) from 0.26.3 to 0.28.3.
- [Release notes](https://github.com/lovell/sharp/releases )
- [Changelog](https://github.com/lovell/sharp/blob/master/docs/changelog.md )
- [Commits](https://github.com/lovell/sharp/compare/v0.26.3...v0.28.3 )
---
updated-dependencies:
- dependency-name: sharp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-14 18:35:59 -04:00
dependabot[bot]
22993fc23d
chore(deps): bump node-webpmux from 2.0.3 to 3.0.0 ( #749 )
...
Bumps [node-webpmux](https://github.com/ApeironTsuka/node-webpmux ) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/ApeironTsuka/node-webpmux/releases )
- [Commits](https://github.com/ApeironTsuka/node-webpmux/commits )
---
updated-dependencies:
- dependency-name: node-webpmux
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-07-14 18:33:36 -04:00
Pedro Lopez
4afff38713
Fix download media (v1.13.2)
2021-07-09 03:08:52 -04:00
Pedro Lopez
b13dea0339
chore: mark version v1.13.1
2021-07-09 02:39:13 -04:00
Pedro Lopez
0465507009
chore: mark version v1.13.0
2021-07-09 01:22:08 -04:00
Pedro Lopez
caab11cfe4
bump minimum required moduleraid version
2021-07-09 01:14:07 -04:00
Pedro S. Lopez
795570a697
chore: update eslint and ecmaVersion ( #680 )
2021-06-02 23:39:01 -04:00
Rajeh Taher
efc7018f9a
Add support for sticker Name and author ( #527 )
...
* Added Sticker author and sticker name support
This patch of Client.js includes support for sticker metadata
* Docs: stickerName and stickerAuthor in MessageOpts
* Hotfix_Sticker_Feature
fixes a bug
* Update global.html
* updated
* fixed comma
* Fixed duplicate code
* Fixing eslint
* Fixing eslint again
* eslint....
* fixing problem with eslint.
* move sticker exif data filling to Utils.formatToWebpSticker() function
* Update Client.js
* Added temporary stuff
* eslint
* Update Util.js
* eslint bad :D
* eslint
* polish work with files
* fix error and TODOs
* clean up code to match with repo code style
* update typescript params
* Update src/util/Util.js
camel Case
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
* Update Util.js
* ➖ webp-converter ➕ node-webpmux
* Update Util.js
* ✨ Use node-webpmux
* ➖ node-webpmux ➕ node-webpmux-commonjs
* ✏️ Fixed require mode
* :heavy_plus_sign:node-webpmux ➖ node-webpmux-commonjs
* ⬆️ Node-webpmux update changes
* 🚨 removing try/catch
* 🚨 complier warnings
* 🧐 stupid mistakes
* ⬆️ Upgrade required version
* 🐛 creating a buffer the right way
* 🐛 linting and simplification
* 🐛 unsimplification
* 🚨 eslint loves singlequotes
* ✨ Added emojis / categories in metadata
* 🏷️ TypeScript Declarations
* ✨ Sticker Categories in sendMessage
* 🏷️ Improved TS declarations
* fix stickerCategories type
* fix: don't set name/author if not defined
Co-authored-by: Marcelo Carvalho <mpirescarvalho17@gmail.com >
Co-authored-by: Pedro S. Lopez <pslamoros@hotmail.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2021-05-31 19:13:30 -04:00
Pedro Lopez
2894832b00
chore: mark version v1.12.6
2021-04-20 22:59:35 -04:00
Pedro S. Lopez
f564e41781
chore: bump version to v1.12.5
2021-02-25 00:31:39 -04:00
Pedro S. Lopez
bc90ffcb19
fix: WhatsApp Web v2.2106.5 compatibility
2021-02-25 00:23:49 -04:00
Pedro S. Lopez
204a1c79af
chore: mark version v1.12.4
2021-02-11 18:44:15 -04:00
Pedro S. Lopez
d96e8e5eb5
chore: mark version v1.12.3
2021-02-09 15:40:57 -04:00
Pedro S. Lopez
4047afe332
chore: mark version v1.12.2
2021-02-09 00:47:28 -04:00
Pedro S. Lopez
c6974295a6
chore: mark version v1.12.1
2021-01-30 20:38:10 -04:00
Pedro S. Lopez
1bdc7335d8
chore: mark version v1.12.0
2020-12-29 00:38:44 -04:00
Pedro S. Lopez
bb9d160f72
docs: switch links to point to the guide
2020-12-29 00:37:25 -04:00
Marcelo Carvalho
e2a642a81b
feat: send media as stickers ( #479 )
...
Adds the option `sendMediaAsSticker` that will take care of converting media to appropriate formats and send it as a sticker. Note that ffmpeg is required to properly convert animated stickers that are not in webp format.
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-12-29 00:33:49 -04:00
Pedro Lopez
563f73d290
chore: mark version v1.11.2
2020-12-21 22:13:14 -04:00
Pedro Lopez
19b1b9fdef
chore: mark version v1.11.1
2020-11-19 15:07:29 -04:00
Pedro Lopez
db7a8bcd3b
chore: bump version to v1.11.0-post
2020-11-05 02:26:20 -04:00
Pedro Lopez
6b3c8465e9
chore: mark version v1.11.0
2020-11-05 01:51:39 -04:00
Pedro Lopez
cc5d85b2b1
chore: bump version to v1.10.0-post
2020-10-25 19:15:40 -04:00
Pedro Lopez
3d06babed9
chore: mark version v1.10.0
2020-10-21 15:22:05 -04:00
Pedro Lopez
0b112004d5
chore: mark version v1.9.0
2020-10-09 02:34:02 -04:00
Pedro Lopez
c7d5eb67ee
chore: bump version to v1.8.2-post
2020-09-01 15:27:36 -04:00