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
Pedro Lopez
f40c8d4ffe
chore: mark version v1.5.1
v1.5.1
2020-04-14 22:47:07 -04:00
Pedro Lopez
bab54aea8b
fix: set url subtype for messages with link previews
...
Co-authored-by: João Vitor Miranda <joao.miranda@aluno.ufabc.edu.br >
Co-authored-by: Top <shmuliktop@users.noreply.github.com >
2020-04-14 22:42:05 -04:00
Pedro Lopez
f0a1e05600
chore: bump version v1.5.0-post
2020-04-11 20:00:28 -04:00
Pedro Lopez
303d814376
chore: mark version v1.5.0
v1.5.0
2020-04-11 19:49:45 -04:00
Pedro Lopez
044f62216b
feat: link previews
...
After this commit, previews for links will be enabled by default. To disable it, use linkPreview: false as an option when sending the message.
close #98
2020-04-11 19:45:06 -04:00
Pedro Lopez
2b3c3e971a
docs: add new param to jsdoc for getProfilePicUrl
2020-04-11 19:04:15 -04:00
Pedro Lopez
8528d9b0b6
feat: get profile pic url by user ID
...
This moves the function from Contact to Client to enable getting profile picture without requiring a conversation before. The old function is still available on Contact for convenience and backwards-compatibility.
2020-04-11 19:03:47 -04:00
Pedro Lopez
7eb7fa8e28
feat: send online status
...
close #69
2020-04-11 18:56:23 -04:00
Pedro Lopez
8714e90df9
revert: included this by mistake on last commit
2020-04-11 18:52:01 -04:00
Pedro Lopez
478f7136d9
feat: takeover on conflict
...
This adds funcitonality to takeover after a certain timeout if WhatsApp Web has been opened in another browser
close #119
2020-04-11 18:48:50 -04:00
Pedro S. Lopez
20bbe3d0c4
readme: add discord logo to shield
2020-04-11 16:32:53 -04:00
Pedro S. Lopez
33db17e67d
add discord link
2020-04-11 16:31:17 -04:00
Pedro Lopez
1c2b4592b5
chore: bump version to v1.4.1-post
2020-04-11 15:04:00 -04:00
Pedro Lopez
ce0a80383c
chore: mark version v1.4.1
v1.4.1
2020-04-11 15:01:44 -04:00
Pedro Lopez
97e488b10a
chore: update supported WhatsApp Web version to 2.2013.7
2020-04-11 15:00:42 -04:00
Pedro Lopez
ef507fcb95
Merge branch 'master' of https://github.com/pedroslopez/whatsapp-web.js
2020-04-11 14:59:39 -04:00
Pedro Lopez
8e011e0233
feat: get current whatsapp web version
2020-04-11 14:59:32 -04:00
InstantlyMoist
470c7aea04
feat: added MediaKey in order to see which sticker has been sent ( #146 )
2020-04-11 14:54:19 -04:00
Antoine Schaller
f92f1ec6bf
Fix uploadMedia arguments after origin code change ( #153 )
2020-04-11 14:53:22 -04:00
depfu[bot]
702a0ab103
Update jsdoc to version 3.6.4 ( #144 )
...
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
2020-04-07 23:38:56 -04:00
Pedro Lopez
d9fb5693d1
chore: bump version v1.4.0-post
2020-04-05 23:45:18 -04:00
Pedro Lopez
3cbf1e9c2f
chore: mark version v1.4.0
v1.4.0
2020-04-05 23:39:22 -04:00
Aliyss Snow
93a617336a
feat: battery percentage changed event ( #126 )
...
New "change_battery" event is triggered when the battery percentage changes. Has current battery percentage and charging state as object param.
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-04-05 23:36:03 -04:00
kurob1993
1780436b93
fix: make pupBrowser and pupPage available sooner ( #137 )
...
* move this.pupBrowser variable to line 51 to resolve not being able to close the browser when it is not connected to the internet
* move pupPage along with pupBrowser
Co-authored-by: Pedro S. Lopez <pedroslopez@me.com >
2020-04-05 23:04:03 -04:00
Pedro Lopez
7acbd3d800
fix: properly set chatId
...
This was causing errors when using the .reply() function
2020-04-05 22:57:59 -04:00
Pedro Lopez
67435b2244
fix: group events were not being triggered
2020-04-05 22:57:36 -04:00
Pedro Lopez
743ac93f6e
feat: allow setting timeouts via options
2020-04-03 01:49:16 -04:00
Pedro Lopez
0a7412cf17
feat: create groups
...
close #131
2020-04-03 01:45:06 -04:00
Pedro Lopez
d1e357d23b
chore: bump version v1.3.1-post
2020-04-02 02:35:36 -04:00
Pedro Lopez
3610cef926
chore(docs): mark v1.3.1
v1.3.1
2020-04-02 02:33:44 -04:00
Pedro Lopez
4e5eeace2f
chore: mark v1.3.1
2020-04-02 02:33:17 -04:00
Pedro Lopez
6c43a2d2ed
fix: increase timeouts
...
close #130
2020-04-02 02:30:50 -04:00
Pedro Lopez
001c045c08
fix: only return undefined for ERROR_* media states
...
This was causing a regression as of 1.2.5 that caused media files sent by the client to not be properly downloaded
cc #111 @stevefold
2020-04-02 02:24:12 -04:00
Pedro S. Lopez
c3ba79464b
Update README.md
2020-03-31 12:43:03 -04:00
Pedro Lopez
237331b656
chore: bump version to v1.3.0-post
2020-03-29 23:59:05 -04:00
Pedro Lopez
9d0b58a847
chore: mark version v1.3.0
v1.3.0
2020-03-29 23:51:49 -04:00
Pedro Lopez
842c4f0e06
feat: check if ID is a valid whatsapp user
...
close #120
2020-03-29 22:58:08 -04:00
Pedro Lopez
2dddc781c5
fix: initialize takes no params
2020-03-29 21:47:47 -04:00
Pedro S. Lopez
d8cd2d1d83
chore: updated whatsapp web version
2020-03-23 18:59:53 -04:00
Pedro Lopez
80d5783f22
feat: new event for when media is uploaded
...
Messages created by the current client don't have attatched media on message_create because it is still being uploaded and sent. This event allows you to detect when the media has been properly sent so it can be downloaded.
close #111
2020-03-22 20:38:26 -04:00
Pedro Lopez
cb54487197
feat: add ack to message model
...
close #108
2020-03-22 20:00:53 -04:00
Steven L
d08b343815
Added "restartOnAuthFail" as an option ( #112 )
...
- When true, the sessions passed is discarded when reinitialized.
2020-03-22 19:52:46 -04:00
Pedro Lopez
ec1a80dfb4
chore: bump version to v1.2.5-post
2020-03-15 15:36:57 -04:00
Pedro Lopez
56ed020d65
chore: mark version v1.2.5
v1.2.5
2020-03-15 15:32:37 -04:00
Pedro Lopez
25b96378c7
fix: properly handle unresolved media
2020-03-15 15:29:56 -04:00
Pedro S. Lopez
5934ec531f
fix: return undefined when attempting to download nonexistent media
...
This could occur when the user has deleted the media and it can no longer be downloaded.
2020-03-15 15:20:50 -04:00