@periskope/baileys 6.7.18-alpha.7 → 6.7.18-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +1 -1
  2. package/WASignalGroup/GroupProtocol.js +1697 -0
  3. package/WASignalGroup/ciphertext_message.js +16 -0
  4. package/WASignalGroup/group_cipher.js +120 -0
  5. package/WASignalGroup/group_session_builder.js +46 -0
  6. package/WASignalGroup/index.js +5 -0
  7. package/WASignalGroup/keyhelper.js +21 -0
  8. package/WASignalGroup/protobufs.js +3 -0
  9. package/WASignalGroup/queue_job.js +69 -0
  10. package/WASignalGroup/sender_chain_key.js +50 -0
  11. package/WASignalGroup/sender_key_distribution_message.js +78 -0
  12. package/WASignalGroup/sender_key_message.js +92 -0
  13. package/WASignalGroup/sender_key_name.js +70 -0
  14. package/WASignalGroup/sender_key_record.js +56 -0
  15. package/WASignalGroup/sender_key_state.js +129 -0
  16. package/WASignalGroup/sender_message_key.js +39 -0
  17. package/lib/Signal/libsignal.js +15 -28
  18. package/lib/Socket/business.d.ts +2 -28
  19. package/lib/Socket/chats.d.ts +4 -6
  20. package/lib/Socket/chats.js +4 -6
  21. package/lib/Socket/groups.d.ts +2 -6
  22. package/lib/Socket/index.d.ts +2 -28
  23. package/lib/Socket/messages-recv.d.ts +2 -28
  24. package/lib/Socket/messages-recv.js +0 -140
  25. package/lib/Socket/messages-send.d.ts +2 -28
  26. package/lib/Socket/messages-send.js +1 -26
  27. package/lib/Types/Events.d.ts +0 -26
  28. package/lib/Types/Message.d.ts +1 -6
  29. package/lib/Types/index.d.ts +0 -1
  30. package/lib/Types/index.js +0 -1
  31. package/lib/Utils/decode-wa-message.d.ts +4 -3
  32. package/lib/Utils/decode-wa-message.js +1 -5
  33. package/lib/Utils/generics.d.ts +0 -1
  34. package/lib/Utils/generics.js +0 -4
  35. package/lib/Utils/messages-media.d.ts +1 -9
  36. package/lib/Utils/messages-media.js +18 -52
  37. package/lib/Utils/messages.d.ts +2 -2
  38. package/lib/Utils/messages.js +7 -37
  39. package/package.json +4 -2
  40. package/WAProto/GenerateStatics.sh +0 -2
  41. package/WAProto/WAProto.proto +0 -4633
package/README.md CHANGED
@@ -28,7 +28,7 @@ Use at your own discretion. Do not spam people with this. We discourage any stal
28
28
  ##
29
29
 
30
30
  - Baileys does not require Selenium or any other browser to be interface with WhatsApp Web, it does so directly using a **WebSocket**.
31
- - Not running Selenium or Chromium saves you like **half a gig** of ram :/
31
+ - Not running Selenium or Chromimum saves you like **half a gig** of ram :/
32
32
  - Baileys supports interacting with the multi-device & web versions of WhatsApp.
33
33
  - Thank you to [@pokearaujo](https://github.com/pokearaujo/multidevice) for writing his observations on the workings of WhatsApp Multi-Device. Also, thank you to [@Sigalor](https://github.com/sigalor/whatsapp-web-reveng) for writing his observations on the workings of WhatsApp Web and thanks to [@Rhymen](https://github.com/Rhymen/go-whatsapp/) for the __go__ implementation.
34
34