@denzy-official/baileys 1.2.0 → 1.2.7

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 (43) hide show
  1. package/LICENSE +2 -2
  2. package/README.md +8 -8
  3. package/WAProto/index.js +56887 -17535
  4. package/engine-requirements.js +4 -4
  5. package/lib/Defaults/index.js +3 -2
  6. package/lib/Signal/Group/telegram +1 -0
  7. package/lib/Socket/dugong.d.ts +1 -1
  8. package/lib/Socket/dugong.js +2 -5
  9. package/lib/Socket/messages-send.js +0 -1
  10. package/lib/Socket/newsletter.js +13 -1
  11. package/lib/Socket/socket.js +66 -31
  12. package/lib/Socket/usync.d.ts +0 -1
  13. package/lib/Socket/usync.js +0 -1
  14. package/lib/Types/telegram +1 -0
  15. package/lib/Utils/{validate-connection.js → Denzy-connection.js} +89 -65
  16. package/lib/Utils/generics.js +12 -10
  17. package/lib/Utils/index.d.ts +1 -1
  18. package/lib/Utils/index.js +1 -1
  19. package/lib/Utils/messages.js +2 -2
  20. package/lib/Utils/use-multi-file-auth-state.js +45 -6
  21. package/lib/WAUSync/Protocols/USyncContactProtocol.js +0 -1
  22. package/lib/index.d.ts +2 -7
  23. package/lib/index.js +25 -23
  24. package/package.json +9 -16
  25. package/lib/Defaults/bocah rename tolol, baileys by denzy +0 -1
  26. package/lib/Signal/Group/bocah rename tolol, baileys by denzy +0 -1
  27. package/lib/Signal/bocah rename tolol, baileys by denzy +0 -1
  28. package/lib/Socket/Client/bocah rename tolol, baileys by denzy +0 -1
  29. package/lib/Socket/Client/types.d.ts +0 -17
  30. package/lib/Socket/Client/types.js +0 -14
  31. package/lib/Socket/Client/websocket.d.ts +0 -14
  32. package/lib/Socket/Client/websocket.js +0 -112
  33. package/lib/Socket/bocah rename tolol, baileys by denzy +0 -1
  34. package/lib/Store/bocah rename tolol, baileys by denzy +0 -1
  35. package/lib/Types/bocah rename tolol, baileys by denzy +0 -1
  36. package/lib/Utils/bocah rename tolol, baileys by denzy +0 -1
  37. package/lib/WABinary/bocah rename tolol, baileys by denzy +0 -1
  38. package/lib/WAM/bocah rename tolol, baileys by denzy +0 -1
  39. package/lib/WAUSync/Protocols/bocah rename tolol, baileys by denzy +0 -1
  40. package/lib/WAUSync/bocah rename tolol, baileys by denzy +0 -1
  41. package/lib/bocah rename tolol, baileys by denzy +0 -0
  42. /package/lib/Defaults/{baileys-version.json → denzy-baileys-version.json} +0 -0
  43. /package/lib/Utils/{validate-connection.d.ts → Denzy-connection.d.ts} +0 -0
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 t.me/pantatBegetar Custom Baileys
3
+ Copyright (c) 2025 Denzy ZeroDay
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
18
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # WhatsApp Baileys
2
2
 
3
3
  <p align="center">
4
- <img src="https://raw.githubusercontent.com/Denzy-ZeroDay/Upload/main/file_1761667786632.jpg" alt="Thumbnail" />
4
+ <img src="https://files.catbox.moe/8aomwf.jpg" alt="Thumbnail" />
5
5
  </p>
6
6
 
7
7
  WhatsApp Baileys is an open-source library designed to help developers build automation solutions and integrations with WhatsApp efficiently and directly. Using websocket technology without the need for a browser, this library supports a wide range of features such as message management, chat handling, group administration, as well as interactive messages and action buttons for a more dynamic user experience.
@@ -53,7 +53,7 @@ await sock.sendMessage(jid, {
53
53
  eventMessage: {
54
54
  isCanceled: false,
55
55
  name: "Hello World",
56
- description: "yume native",
56
+ description: "pantatBegetar native",
57
57
  location: {
58
58
  degreesLatitude: 0,
59
59
  degreesLongitude: 0,
@@ -126,14 +126,14 @@ await sock.sendMessage(jid, {
126
126
  limited_time_offer: {
127
127
  text: "idk hummmm?",
128
128
  url: "https://t.me/pantatBegetar",
129
- copy_code: "yume",
129
+ copy_code: "pantatBegetar",
130
130
  expiration_time: Date.now() * 999
131
131
  },
132
132
  bottom_sheet: {
133
133
  in_thread_buttons_limit: 2,
134
134
  divider_indices: [1, 2, 3, 4, 5, 999],
135
- list_title: "yume native",
136
- button_title: "yume native"
135
+ list_title: "pantatBegetar native",
136
+ button_title: "pantatBegetar native"
137
137
  },
138
138
  tap_target_configuration: {
139
139
  title: " X ",
@@ -262,8 +262,8 @@ await sock.sendMessage(jid, {
262
262
  isForwarded: false
263
263
  },
264
264
  externalAdReply: {
265
- title: "shenń Bot",
266
- body: "anu team",
265
+ title: "Wabot",
266
+ body: "Z team",
267
267
  mediaType: 3,
268
268
  thumbnailUrl: "https://example.com/image.jpg",
269
269
  mediaUrl: " X ",
@@ -361,4 +361,4 @@ Because this library offers high stability, full features, and an actively impro
361
361
 
362
362
  For complete documentation, installation guides, and implementation examples, please visit the official repository and community forums. We continually update and improve this library to meet the needs of developers and users of modern WhatsApp automation solutions.
363
363
 
364
- **Thank you for choosing WhatsApp Baileys as your WhatsApp automation solution!**
364
+ **Thank you for choosing WhatsApp Baileys as your WhatsApp automation solution!**