Pedro Lopez
34aa136bf9
fix(docs): Correctly document Chat timestamp property
...
close #287
2020-08-17 22:36:32 -04:00
Pedro Lopez
2a58cfe8e2
fix(types): properly set optional arguments when sending / replying to messages
...
close #309
2020-08-17 22:28:27 -04:00
Pedro Lopez
9da553ecb9
feat: Set client's display name (pushname)
2020-08-17 22:19:29 -04:00
stefanfuchs
97705b1865
fix: MessageMedia interface to class (index.d.ts) ( #301 )
...
* fix: change MessageMedia to class
* fix: remove all references to MessageMediaInterface
* add MessageMedia constructor params docs
2020-08-08 15:03:09 -04:00
stefanfuchs
fbdfd2c4dd
fix: Constants export in index.js ( #285 )
...
* fix: add Constants export in index.js
* fix: add missing constants export in index.d.ts
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-08-03 02:58:15 -04:00
stefanfuchs
5c84a1651d
chore: add missing types in JSDoc/TSDoc (ClientOptions, ClientInfo, MessageSendOptions, Session) ( #286 )
...
* chore: add ClientOptions and ClientInfo in JSDoc
* chore: add MessageSendOptions type
* chore: add ClientSession type in JSDoc
* chore: remove @todo from createGroup (was already solved)
Co-authored-by: Pedro Lopez <pedroslopez@me.com >
2020-08-03 02:52:37 -04:00
stefanfuchs
bfea74f567
fix: add missing type definitions ( #278 )
...
* fix: @todo docs improvements
* fix: add ClientInfo to Client typings
* add ClientInfoPhone
* fix: set getBatteryStatus as async
* add ClientInfo comment
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-07-11 02:58:57 -04:00
YY
a10b458cd5
feat: custom user Agent in Client ( #271 )
...
* Added Option to Custom User Agent in Client
* Update Typescript Index
* Delete Variable UserAgent From Client
* Update Variable UserAgent to userAgent
2020-07-03 02:05:23 -04:00
Pedro Lopez
de2c441870
chore: update supported whatsapp web version 2.2025.6
2020-06-18 01:48:10 -04:00
Pedro Lopez
bff60bc9f6
chore: bump version v1.7.0-post
2020-06-18 01:47:46 -04:00
Pedro Lopez
9cc668e4d9
chore: mark version v1.7.0
v1.7.0
2020-06-18 01:41:36 -04:00
Pedro Lopez
753b6772ab
feat: get current battery status
2020-06-18 01:28:25 -04:00
Pedro Lopez
300b367fa0
feat: logout client
...
close #255
2020-06-17 23:58:02 -04:00
Pedro Lopez
b0baeaa8da
Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js
2020-06-17 23:30:01 -04:00
Pedro Lopez
ad9ae1f703
fix: move invite info to client
...
Since static methods do not have access to `this.client`, it was giving an error when trying to call these functions. The client itself is a better place for them.
close #258
2020-06-17 23:29:34 -04:00
Pedro Lopez
b89f0e146f
fix: move invite info to client
...
Since static methods do not have access to `this.client`, it was giving an error when trying to call these functions. The client itself is a better place for them.
2020-06-17 23:28:54 -04:00
Maximilian Walterskirchen
6c7a3f9899
fix: Added check for null in Message constructor ( #253 )
...
Co-authored-by: Walterskirchen <walterskirchen@walter-group.com >
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-06-16 18:15:19 -04:00
stefanfuchs
d7459eac23
feat: add typescript definition file ( #252 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-06-16 18:12:14 -04:00
Javier Portillo
2abd3729d8
fix: clear qr refresh interval on client.destroy() ( #249 )
...
* fix: client.destroy() keeps trying to get QR code when client is not authorized yet
Co-authored-by: Javier Portillo <javier.marquez@dada-dada.com >
2020-06-08 22:31:22 -04:00
Pedro S. Lopez
810ff4603b
chore: add discord link to issue creation
2020-06-07 18:10:49 -04:00
Pedro S. Lopez
4d5619019c
chore: Add issue templates
...
close #246
2020-06-07 18:06:02 -04:00
Pedro Lopez
84213cc781
chore: bump version v1.6.1-post
2020-06-04 20:25:04 -04:00
Pedro Lopez
bf94d20db3
Merge branch 'hotfix/v1.6.1'
2020-06-04 20:23:55 -04:00
Pedro Lopez
2e3b2f2a43
chore: mark version v1.6.1
v1.6.1
2020-06-04 20:20:43 -04:00
Caio Henrique Agiani
9c9b3c4441
fix: WhatsApp Autentication by oguzhan51 ( #237 )
...
The selector used to detect successful authentication was changed in WhatsApp Web v2.2023.2
Co-authored-by: oguzhan51
2020-06-04 20:15:40 -04:00
Caio Henrique Agiani
832e402671
fix: WhatsApp Autentication by oguzhan51 ( #237 )
...
The selector used to detect successful authentication was changed in WhatsApp Web v2.2023.2
Co-authored-by: oguzhan51
2020-06-04 20:03:44 -04:00
Aliyss Snow
47011a32a5
feat: Interface controls ( #220 )
...
- Open chat drawer
- Open chat window
- Open message info drawer
- Close drawer
2020-05-31 18:14:21 -04:00
Pedro S. Lopez
a7ca628775
chore: update required node version ( #222 )
...
Puppeteer v3 now requires 10.18.1+
2020-05-26 13:52:52 -04:00
Aliyss Snow
aa60e89911
docs: add mute/unmute feature to readme ( #214 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-05-24 19:27:41 -04:00
Pedro Lopez
d922e4df2f
chore: bump version to v1.6.0-post
2020-05-24 01:11:07 -04:00
Pedro Lopez
c032ea4387
chore: mark version v1.6.0
v1.6.0
2020-05-24 00:57:54 -04:00
Pedro Lopez
a80fcfa740
update supported whatsapp web version to v2.2021.3
2020-05-24 00:55:12 -04:00
Pedro Lopez
44f837c42a
fix: remove unreliable return values for new mute state
2020-05-24 00:19:23 -04:00
Aliyss Snow
4beeab9b2c
feat: mute/unmute chats ( #168 )
...
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-05-24 00:10:26 -04:00
Pedro Lopez
cca74ec8b9
docs: indicate return type for MessageMedia.fromFilePath
2020-05-23 23:28:19 -04:00
Pedro Lopez
8b656c2caf
fix: set thumbnail for media messages
...
close #55
2020-05-23 23:21:13 -04:00
Pedro Lopez
4d09a4b60c
fix: media would stay stuck uploading when using the media option
2020-05-23 22:55:18 -04:00
Pedro Lopez
7d2c89cf84
docs: fix wrong parameter name
2020-05-23 22:37:31 -04:00
Pedro Lopez
0928f48762
Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js
2020-05-23 22:36:04 -04:00
Pedro Lopez
eb82e80343
feat: Helper function to create MessageMedia from a local file path
2020-05-23 22:35:59 -04:00
Caio Henrique Agiani
f5a0de7def
fix: Wait for WhatsApp page load ( #209 )
...
* Fix bug on Puppeteer timeout 30000 ms exceeded
2020-05-23 21:52:46 -04:00
Pedro Lopez
d6637d662a
fix: visual glitch when sending message to new chat; no longer require at least one chat to have been created
2020-05-16 02:08:13 -04:00
Pedro Lopez
4188734839
Ignore lock files
2020-05-16 01:22:05 -04:00
Pedro Lopez
207ea200b4
Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js
2020-05-16 01:12:20 -04:00
Pedro Lopez
b062f9f82f
Update puppeteer to version 3.0.4
2020-05-16 01:12:14 -04:00
Pedro S. Lopez
4d7a6ee4c2
Update supported whatsapp web version
2020-05-16 00:50:16 -04:00
depfu[bot]
e528e8c50e
Update jsqr to version 1.3.1 ( #185 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2020-05-02 17:56:43 -04:00
Aliyss Snow
bcd02aa5e4
set defaultViewPort option for puppeteer ( #167 )
...
- Mainly for those who like to keep the GUI open.
- Expands to fit and looks like it usually would.
2020-04-20 22:57:59 -04:00
Pedro Lopez
686c99f0c7
feat: send audio as voice note
...
This adds the 'sendAudioAsVoice' option for messages
close #160
2020-04-14 23:18:08 -04:00
Pedro Lopez
59ee68b227
chore: bump version to v1.5.1-post
2020-04-14 22:49:57 -04:00