Commit Graph

108 Commits

Author SHA1 Message Date
Adhiraj Singh
b4fd010b36 refactor: use modified legacy bin XML parser instead of "WABinary" 2022-04-13 16:23:28 +05:30
Adhiraj Singh
bd682a8485 chore: update version 2022-04-02 15:57:28 +05:30
Adhiraj Singh
6e34f2a0cd chore: update ts-node 2022-03-29 19:08:35 +05:30
Adhiraj Singh
9cacd5173c chore: update package version 2022-03-22 22:39:54 +05:30
Adhiraj Singh
de7d1002a9 lint: stricter linting rules 2022-03-01 16:32:14 +05:30
kaatt
dd3fccbdb3 include peerDependenciesMeta (#1281)
* peerDependencies should be optionalDependencies

* peerDependenciesMeta

* Update package.json
2022-02-24 18:09:45 +05:30
Adhiraj Singh
0567384af9 chore: increment version 2022-02-24 17:10:57 +05:30
Adhiraj Singh
14caf354dd chore: update pino 2022-02-18 20:12:22 +05:30
Adhiraj Singh
e4eaf2d2e4 chore: update proto 2022-02-12 19:48:46 +05:30
Adhiraj Singh
7d4a5634dd chore: update typedoc 2022-01-22 11:49:39 +05:30
Adhiraj Singh
5270b8482d chore: update pino 2022-01-19 22:55:04 +05:30
Adhiraj Singh
d8cc38608f chore: update package name 2022-01-19 22:52:12 +05:30
Adhiraj Singh
fb66733b61 feat: implement in memory store
1. the store works as a temporary store for connection data such as chats, messages & contacts
2. the store is primarily meant to illustrate the usage of the event emitter as a way to construct the state of the connection. This will likely be very inefficient to perform well at scale
3. the store is meant to be a quick way to have some visibility of data while testing
4. the store works for both legacy & MD connections
2022-01-19 21:35:59 +05:30
Adhiraj Singh
8f11f0be76 chore: add linting 2022-01-19 15:54:02 +05:30
Adhiraj Singh
c7ceb0ab11 chore: use peerDependencies instead of optional 2022-01-10 15:21:34 +05:30
Adhiraj Singh
9068157cb1 chore: replace got with axios
Primarily because it had some odd issues with handling streams
2021-12-19 20:18:21 +05:30
Adhiraj Singh
c803e22e8a feat: functional legacy socket 2021-12-17 20:58:33 +05:30
Adhiraj Singh
e51bbc4893 feat: add support for "sharp" for image generation 2021-12-17 11:44:04 +05:30
Adhiraj Singh
beac4d21e3 chore: update WS 2021-12-10 13:15:34 +05:30
Adhiraj Singh
dee815448b feat: cache user devices 2021-11-07 19:51:14 +05:30
Adhiraj Singh
3f6bd2ad84 update libsignal + no dependency on proto files + no native deps 2021-10-13 17:42:48 +05:30
Adhiraj Singh
17e915e273 rename package to baileys-md 2021-09-26 23:00:34 +05:30
Adhiraj Singh
a46a07fe45 remove keyed-db as dependency 2021-09-26 12:35:33 +05:30
Adhiraj Singh
fff2e58997 fix compilation errors 2021-09-25 18:04:26 +05:30
Adhiraj Singh
f267f27ada finalize multi-device 2021-09-22 22:19:53 +05:30
Adhiraj Singh
b5ee036ae9 update proto 2021-07-29 20:33:19 +05:30
Adhiraj Singh
6751b5cc73 make deps optional + bug fixes 2021-07-18 17:27:23 +05:30
Adhiraj Singh
89cf8004e9 Wrap up connection + in memory store 2021-07-09 20:35:07 +05:30
Adhiraj Singh
3607357152 add max query response time + update package 2021-06-16 11:59:21 +05:30
Adhiraj Singh
15ff592534 weird group ID patch 2021-04-20 13:04:11 +05:30
Adhiraj Singh
389c409feb Update package.json 2021-03-24 23:18:26 +05:30
Adhiraj Singh
0344d6336c Stream uploads + downloads + allow for remote url uploads
- Switch to using got
- Use encryption/decryption streams for speed & lesser memory consumption
- Allow for stream based download & simultaneous upload of media
2021-01-13 22:48:28 +05:30
Adhiraj Singh
ac4b4c7384 Removed deprecations + merge message-status-update into chat-update
1. Update package version to 4.0.0
2. Retry query if the connection unexpectedly closes + make query iterative instead of recursive
3. Remove message-new & message-update deprecations
4. Deprecate loadProfilePicturesForChatsAutomatically
2021-01-04 12:35:48 +05:30
Adhiraj Singh
bc3cb6c178 Require phone connection in required places 2020-12-23 09:31:00 +05:30
Edgard
8651299ec2 Improved typedoc page 2020-12-18 09:14:59 -03:00
Adhiraj Singh
b6a8d02038 Cleaner upserts 2020-12-18 16:49:28 +05:30
Adhiraj Singh
eb7b8506a9 Added support for sending + toggling disappearing messages 2020-12-12 00:21:11 +05:30
Adhiraj Singh
6d7dc4d9fe Manage group metdata state in Baileys + Remove presence from Contact 2020-12-03 13:16:37 +05:30
Adhiraj Singh
9f8f244b66 Added offline check for isOnWhatsApp 2020-11-20 12:50:14 +05:30
Adhiraj Singh
c69d3832de Add WAChatUpdate 2020-11-18 23:41:51 +05:30
Adhiraj Singh
abde6563c9 Support decoding disappearing messages + events bug fix 2020-11-18 23:05:57 +05:30
Adhiraj Singh
eaf56f6d71 group promote/demote event fix + archive fix + group events rework 2020-11-12 13:46:10 +05:30
Adhiraj Singh
155df2bc4f Android chat read fix + debounceTimeout bug fix 2020-11-03 13:24:56 +05:30
Adhiraj Singh
92c15b477b EventEmitter fix 2020-10-29 17:29:38 +05:30
Adhiraj Singh
0a56406da3 Removed console.log 2020-10-28 19:23:29 +05:30
Adhiraj Singh
cc722a5138 Callbacks via EventEmitter + possible memory leak fix 2020-10-28 16:10:28 +05:30
Borewit
c36cb88fda Fix calculating audio duration. 2020-10-25 13:59:51 +01:00
Adhiraj Singh
a72ed7272d Automatic audio duration fetch 2020-10-22 20:23:35 +05:30
Adhiraj Singh
6391e37198 Change default connect options 2020-10-15 16:53:48 +05:30
Adhiraj Singh
6c000ab093 Added logger, handled checksum fail 2020-10-12 20:32:32 +05:30