Commit Graph

164 Commits

Author SHA1 Message Date
Rafael Garcia 464ffd23b4 update README.md, added the events to the Handling Events section 2023-05-14 13:55:37 -05:00
Andres Aya 4544ccf649 Update README.md add stable version package 2023-05-10 19:08:24 -05:00
Edgard Lorraine Messias 7c3f0df560 feat: Added workflow to release at NPM site (#48)
* chore: Changed name for release

* chore: Sorted package.json

* ci: Added workflow to publish releases

* chore: Updated .gitignore

* chore: Updated lint to use nodejs v18

* chore: Updated package name in README.md

* chore: Change the current version
2023-05-10 20:07:26 -03:00
✬Ravindu Manoj✬ ✓ 13810ec7ea feat: privacy settings update functions and profile pic remove function (#5) 2023-05-06 15:10:43 -03:00
Cassio Santos e8080de184 chore: update README installation instructions 2023-04-20 19:43:42 -03:00
Alessandro Autiero 36cae0102c Update README.md 2023-04-20 20:38:35 +02:00
Alessandro Autiero eab3220297 Update README.md
Fixed invite and header
2023-04-20 20:29:09 +02:00
Alessandro Autiero dbde51f7ea Update README.md
Fixed invite to last forever
2023-04-20 19:54:20 +02:00
Alessandro Autiero 6c935bb7e3 Update README.md
First draft of the new README:
new discord
short summary on what happened to the original library
2023-04-20 19:52:22 +02:00
Adhiraj Singh d0330d1863 refactor!: cleaner message history sync
This is a breaking change,
1. three events (chats.set, contacts.set, messages.set) are now just one `messaging-history.set` event
2. no need to debounce for app state sync
3. added a new "conditional" chat update to allow for correct app state sync despite not having the chat available on hand
2022-09-29 16:32:57 +05:30
Adhiraj Singh 5c48cc8e61 docs: update for legacy code removal 2022-09-19 15:02:37 +05:30
Adhiraj Singh f0bdb12e56 feat: generate high quality thumbs on link preview 2022-09-15 18:40:22 +05:30
aqulzz c6b78015ca docs: How to send disappearing messages 2022-09-02 13:08:42 +05:30
fadiinho e2c3d364de docs: remove extra braces 2022-08-20 23:26:58 +05:30
fadiinho 57267a63c7 docs: add how to pin and delete a chat 2022-08-20 23:26:58 +05:30
Adhiraj Singh d04718e27a feat: add desktop + full history sync opts 2022-07-26 13:30:01 +05:30
LeonardoBein b42be6bce4 Change profile name for yourself (#1913)
* feat: change profile name

* fix: unnecessary return
2022-07-21 15:56:51 +05:30
fadiinho 847a1dd571 fix: detectLinks was not being used as described in docs (#1922)
* fix: detectLinks was not being used as described in docs

* Revert "fix: detectLinks was not being used as described in docs"

This reverts commit adeb592b565f2f0a463f2e410fdb9ee98b0a4221.

* docs: remove unsued `detectLinks` from readme
2022-07-21 08:42:46 +05:30
SmolParascythe 55997dafca Made readme more clear and fixed grammar (#1929) 2022-07-20 17:01:14 +05:30
Adhiraj Singh 189b740ea6 chore: remove "treatCiphertextMessagesAsReal" flag
!BREAKING_CHANGE

This was generally a poor design decision on my part to add something like this -- primarily because it could increment the chat unread counter a 100 times for a single message
2022-07-04 11:38:17 +05:30
aqulzz 200b75d53e fix: add senderTimestampMs automatically in reactMessage (#1845)
* docs: how to remove the reaction message

* Add `senderTimestampMs` automatically in reactMessage

* fix lint
2022-07-02 19:52:34 +05:30
Pedro Dias a2054d8efa Change profile status for yourself (#1796)
* Update README.md

* Update chats.ts

* Update chats.ts
2022-07-01 16:57:04 +05:30
Adhiraj Singh 7421f55daa feat: implement event buffer for offline msgs
!BREAKING_CHANGE

1. this allows all offline notifications to be combined into a batch -- to reduce the number of events being sent out
2. to enable the above, the "message.reaction" event has been made an array. Also removes the need for the "operation" field
3. have also now started processing all events under a single queue to prevent state sync problems
2022-06-27 13:38:29 +05:30
LeonardoBein 227cab2f95 feat: Returns an object with information about the invite code's group (#1562)
* feat: Returns an object with information about the invite code's group

* refactor: more information in metadata group
2022-06-13 20:34:01 +05:30
Fatih Arridho 4f24fb451d Update README.md (#1710)
Fix README.md On How to Accept from Group Invite
2022-06-13 20:19:22 +05:30
Dwi Rizqi e7087cabf5 fix: Delete Message For Me (#1718)
* Add Timestamp for deleteMessageForMe

* Fix Typo Readme

* Add Timestamp for deleteMessageForMe

* fix: Typo type timestamp
2022-06-13 20:13:52 +05:30
Paulo Corcino b78ffe029a Update README.md (#1698)
Fix README.md with reference of constant 'saveCreds' correct on 'creds.update' event.
2022-06-05 17:19:45 +05:30
Adhiraj Singh 6824a203d0 feat: correctly handle presence being offline for receipts
When sendPresenceUpdate('unavailable') is called, it should allow notifications to be received on the phone
2022-06-01 13:20:21 +05:30
Adhiraj Singh cafc707628 feat: add option to reupload in downloadMediaMessage 2022-06-01 13:19:05 +05:30
Daniel Cardenas 4c95f8f0c5 Update README.md (#1652) 2022-05-23 13:22:54 +05:30
Adhiraj Singh 06437e182d feat: add "multi file auth state" implementation
1. add multi file auth state since it's far more efficient than single state
2. deprecate single file auth state (please don't use it anymore)
2022-05-22 21:21:35 +05:30
Adhiraj Singh ae4aa67950 feat: handle call events 2022-05-09 15:00:53 +05:30
✬Ravindu Manoj✬ ✓ 72aa8f9ea7 Typo Fix (#1577) 2022-05-09 10:00:31 +05:30
Adhiraj Singh 872536fa5b feat: link previews on MD 2022-04-19 19:00:32 +05:30
Meir Blachman a08cd00107 docs: fix typo in readme (#1483)
* docs: fix typo in readme

 makeSocket -> makeWASocket

* rename sock -> conn
2022-04-17 16:16:37 +05:30
Aman Dutt fdf957b338 ✏️ Fixed typo (#1488) 2022-04-17 16:16:15 +05:30
Adhiraj Singh 5aa64f2c39 feat: add readMessages function 2022-04-06 09:30:32 +05:30
Muhammad Fatkurozi 6d4fc87169 docs: too many tabs in code preview (#1453)
handling events, connection.update
2022-04-05 10:14:07 +05:30
Arthur Castro 032dcbc17a Fix: typo (#1457) 2022-04-05 10:13:44 +05:30
Alon Schwartzblat eb8f8e0d72 Add join group by groupInviteMessage (#1355)
* Add join group by groupInviteMessage

* Add join group by groupInviteMessage

* Fix typo
2022-03-25 16:18:00 +05:30
Ami 3a52f06c0f Added ReactionMessage for React User Message with Emoji (#1382)
* Add react type

* Add ReactionMessage

* Add reactionMessage example...

* Lint fix...
2022-03-23 00:35:13 +05:30
Adhiraj Singh 93c8db319e feat: implement "treatCiphertextMessagesAsReal" flag 2022-03-21 14:15:22 +05:30
Dwi Rizqi 2b70269947 Update README.md (#1354) 2022-03-13 21:11:41 +05:30
Adem Kouki ad340054c4 Fix example link (#1316) 2022-03-04 12:57:20 +05:30
Royhan 636a145a40 simple typo (#1311) 2022-03-03 20:21:59 +05:30
jackcokk 3b756787d4 chore: Update readme Discord link (#1191) 2022-02-08 11:29:27 +05:30
Prince Mendiratta 669dce1ea8 Fix connection example snippet (#1190)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-01-28 13:56:41 +05:30
Adhiraj Singh cf4a50cddf chore: update readme 2022-01-22 11:55:15 +05:30
Adhiraj Singh 58e1dd2910 docs: update readme 2022-01-22 11:41:00 +05:30
Prince Mendiratta c4eea6fd69 minor spelling typo (#1167)
Signed-off-by: Prince Mendiratta <prince.mendi@gmail.com>
2022-01-20 11:18:10 +05:30