@xjokerofficial/baileys 6.1.4

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 (129) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +449 -0
  3. package/WAProto/GenerateStatics.sh +3 -0
  4. package/WAProto/WAProto.proto +6902 -0
  5. package/WAProto/fix-import.js +29 -0
  6. package/WAProto/fix-imports.js +85 -0
  7. package/WAProto/index.d.ts +79257 -0
  8. package/WAProto/index.js +242946 -0
  9. package/engine-requirements.js +10 -0
  10. package/lib/Defaults/baileys-version.json +3 -0
  11. package/lib/Defaults/index.js +130 -0
  12. package/lib/Defaults/phonenumber-mcc.json +223 -0
  13. package/lib/Signal/Group/ciphertext-message.js +12 -0
  14. package/lib/Signal/Group/group-session-builder.js +30 -0
  15. package/lib/Signal/Group/group_cipher.js +82 -0
  16. package/lib/Signal/Group/index.js +12 -0
  17. package/lib/Signal/Group/keyhelper.js +18 -0
  18. package/lib/Signal/Group/queue-job.js +57 -0
  19. package/lib/Signal/Group/sender-chain-key.js +26 -0
  20. package/lib/Signal/Group/sender-key-distribution-message.js +63 -0
  21. package/lib/Signal/Group/sender-key-message.js +66 -0
  22. package/lib/Signal/Group/sender-key-name.js +48 -0
  23. package/lib/Signal/Group/sender-key-record.js +41 -0
  24. package/lib/Signal/Group/sender-key-state.js +84 -0
  25. package/lib/Signal/Group/sender-message-key.js +26 -0
  26. package/lib/Signal/libsignal.js +431 -0
  27. package/lib/Signal/lid-mapping.js +277 -0
  28. package/lib/Socket/Client/abstract-socket-client.js +13 -0
  29. package/lib/Socket/Client/index.js +3 -0
  30. package/lib/Socket/Client/mobile-socket-client.js +65 -0
  31. package/lib/Socket/Client/types.js +11 -0
  32. package/lib/Socket/Client/web-socket-client.js +62 -0
  33. package/lib/Socket/Client/websocket.js +54 -0
  34. package/lib/Socket/business.js +379 -0
  35. package/lib/Socket/chats.js +1193 -0
  36. package/lib/Socket/communities.js +431 -0
  37. package/lib/Socket/community.js +392 -0
  38. package/lib/Socket/dugong.js +637 -0
  39. package/lib/Socket/groups.js +374 -0
  40. package/lib/Socket/index.js +12 -0
  41. package/lib/Socket/luxu.js +387 -0
  42. package/lib/Socket/messages-recv.js +1916 -0
  43. package/lib/Socket/messages-send.js +1435 -0
  44. package/lib/Socket/mex.js +42 -0
  45. package/lib/Socket/newsletter.js +270 -0
  46. package/lib/Socket/registration.js +167 -0
  47. package/lib/Socket/socket.js +967 -0
  48. package/lib/Socket/username.js +147 -0
  49. package/lib/Socket/usync.js +69 -0
  50. package/lib/Store/index.js +10 -0
  51. package/lib/Store/keyed-db.js +108 -0
  52. package/lib/Store/make-cache-manager-store.js +85 -0
  53. package/lib/Store/make-in-memory-store.js +198 -0
  54. package/lib/Store/make-ordered-dictionary.js +75 -0
  55. package/lib/Store/object-repository.js +32 -0
  56. package/lib/Types/Auth.js +2 -0
  57. package/lib/Types/Bussines.js +2 -0
  58. package/lib/Types/Call.js +2 -0
  59. package/lib/Types/Chat.js +8 -0
  60. package/lib/Types/Contact.js +2 -0
  61. package/lib/Types/Events.js +2 -0
  62. package/lib/Types/GroupMetadata.js +2 -0
  63. package/lib/Types/Label.js +25 -0
  64. package/lib/Types/LabelAssociation.js +7 -0
  65. package/lib/Types/Message.js +11 -0
  66. package/lib/Types/Mex.js +37 -0
  67. package/lib/Types/Newsletter.js +38 -0
  68. package/lib/Types/Product.js +2 -0
  69. package/lib/Types/Signal.js +2 -0
  70. package/lib/Types/Socket.js +3 -0
  71. package/lib/Types/State.js +56 -0
  72. package/lib/Types/USync.js +2 -0
  73. package/lib/Types/index.js +26 -0
  74. package/lib/Utils/auth-utils.js +302 -0
  75. package/lib/Utils/baileys-event-stream.js +63 -0
  76. package/lib/Utils/browser-utils.js +48 -0
  77. package/lib/Utils/business.js +231 -0
  78. package/lib/Utils/chat-utils.js +872 -0
  79. package/lib/Utils/companion-reg-client-utils.js +35 -0
  80. package/lib/Utils/crypto.js +118 -0
  81. package/lib/Utils/decode-wa-message.js +350 -0
  82. package/lib/Utils/event-buffer.js +622 -0
  83. package/lib/Utils/generics.js +403 -0
  84. package/lib/Utils/history.js +134 -0
  85. package/lib/Utils/identity-change-handler.js +50 -0
  86. package/lib/Utils/index.js +23 -0
  87. package/lib/Utils/link-preview.js +85 -0
  88. package/lib/Utils/logger.js +3 -0
  89. package/lib/Utils/lt-hash.js +8 -0
  90. package/lib/Utils/make-mutex.js +33 -0
  91. package/lib/Utils/message-composer.js +273 -0
  92. package/lib/Utils/message-retry-manager.js +265 -0
  93. package/lib/Utils/messages-media.js +788 -0
  94. package/lib/Utils/messages.js +1253 -0
  95. package/lib/Utils/noise-handler.js +201 -0
  96. package/lib/Utils/offline-node-processor.js +40 -0
  97. package/lib/Utils/pre-key-manager.js +106 -0
  98. package/lib/Utils/process-message.js +630 -0
  99. package/lib/Utils/reporting-utils.js +258 -0
  100. package/lib/Utils/signal.js +201 -0
  101. package/lib/Utils/stanza-ack.js +38 -0
  102. package/lib/Utils/sync-action-utils.js +49 -0
  103. package/lib/Utils/tc-token-utils.js +163 -0
  104. package/lib/Utils/use-multi-file-auth-state.js +121 -0
  105. package/lib/Utils/validate-connection.js +203 -0
  106. package/lib/WABinary/constants.js +1301 -0
  107. package/lib/WABinary/decode.js +262 -0
  108. package/lib/WABinary/encode.js +220 -0
  109. package/lib/WABinary/generic-utils.js +204 -0
  110. package/lib/WABinary/index.js +6 -0
  111. package/lib/WABinary/jid-utils.js +98 -0
  112. package/lib/WABinary/types.js +2 -0
  113. package/lib/WAM/BinaryInfo.js +10 -0
  114. package/lib/WAM/constants.js +22853 -0
  115. package/lib/WAM/encode.js +150 -0
  116. package/lib/WAM/index.js +4 -0
  117. package/lib/WAUSync/Protocols/USyncContactProtocol.js +52 -0
  118. package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +54 -0
  119. package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +27 -0
  120. package/lib/WAUSync/Protocols/USyncStatusProtocol.js +38 -0
  121. package/lib/WAUSync/Protocols/USyncUsernameProtocol.js +25 -0
  122. package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +51 -0
  123. package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +29 -0
  124. package/lib/WAUSync/Protocols/index.js +6 -0
  125. package/lib/WAUSync/USyncQuery.js +98 -0
  126. package/lib/WAUSync/USyncUser.js +31 -0
  127. package/lib/WAUSync/index.js +4 -0
  128. package/lib/index.js +39 -0
  129. package/package.json +146 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Rajeh Taher/WhiskeySockets
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,449 @@
1
+ # <div align='center'>Baileys - Typescript/Javascript WhatsApp Web API</div>
2
+
3
+ <p align="center">
4
+ <img src="https://files.catbox.moe/fu0uec.jpg" alt="Thumbnail" />
5
+ </p>
6
+
7
+ <div align='center'>
8
+
9
+ ![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/whiskeysockets/baileys/total)
10
+ ![NPM Downloads](https://img.shields.io/npm/dw/%40whiskeysockets%2Fbaileys?label=npm&color=%23CB3837)
11
+ ![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/whiskeysockets/baileys)
12
+ ![GitHub License](https://img.shields.io/github/license/whiskeysockets/baileys)
13
+ ![Discord](https://img.shields.io/discord/725839806084546610?label=discord&color=%235865F2)
14
+ ![GitHub Repo stars](https://img.shields.io/github/stars/whiskeysockets/baileys)
15
+ ![GitHub forks](https://img.shields.io/github/forks/whiskeysockets/baileys)
16
+
17
+ </div>
18
+
19
+ 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.
20
+
21
+ Actively developed and maintained, baileys continuously receives updates to enhance stability and performance. One of the main focuses is to improve the pairing and authentication processes to be more stable and secure. Pairing features can be customized with your own codes, making the process more reliable and less prone to interruptions.
22
+
23
+ This library is highly suitable for building business bots, chat automation systems, customer service solutions, and various other communication automation applications that require high stability and comprehensive features. With a lightweight and modular design, baileys is easy to integrate into different systems and platforms.
24
+
25
+ ---
26
+
27
+ ### Main Features and Advantages
28
+
29
+ - Supports automatic and custom pairing processes
30
+ - Fixes previous pairing issues that often caused failures or disconnections
31
+ - Supports interactive messages, action buttons, and dynamic menus
32
+ - Efficient automatic session management for reliable operation
33
+ - Compatible with the latest multi-device features from WhatsApp
34
+ - Lightweight, stable, and easy to integrate into various systems
35
+ - Suitable for developing bots, automation, and complete communication solutions
36
+ - Comprehensive documentation and example codes to facilitate development
37
+
38
+ ---
39
+
40
+ ## Getting Started
41
+
42
+ Begin by installing the library via your preferred package manager, then follow the provided configuration guide. You can also utilize the ready-made example codes to understand how the features work. Use session storage and interactive messaging features to build complete, stable solutions tailored to your business or project needs.
43
+
44
+ ---
45
+
46
+ ## Add Function ( Simple code )
47
+
48
+ # X-JOKER Baileys
49
+
50
+ Simple WhatsApp Web API Library Based On Baileys.
51
+
52
+ ---
53
+
54
+ ## Usage
55
+ ```json
56
+ "depencies": {
57
+ "@xjokerofficial/baileys": "latest"
58
+ // or "@whiskeysocket/baileys": "npm:@xjokerofficial/baileys"
59
+ }
60
+ ```
61
+ ## Import
62
+ ```javascript
63
+ const {
64
+ default: makeWASocket,
65
+ // Other function
66
+ } = require('@xjokerofficial/baileys');
67
+ ```
68
+
69
+ ---
70
+ # How To Connect To Whatsapp
71
+ ## With QR Code
72
+ ```javascript
73
+ const {
74
+ default: makeWASocket,
75
+ Browsers
76
+ } = require('@xjokerofficial/baileys');
77
+
78
+ const client = makeWASocket({
79
+ browser: Browsers.ubuntu('Chrome'),
80
+ printQRInTerminal: true
81
+ })
82
+ ```
83
+
84
+ ## Connect With Number
85
+ ```javascript
86
+ const {
87
+ default: makeWASocket,
88
+ fetchLatestWAWebVersion,
89
+ Browsers
90
+ } = require('@xjokerofficial/baileys');
91
+
92
+ const client = makeWASocket({
93
+ browser: Browsers.ubuntu('Chrome'),
94
+ printQRInTerminal: false,
95
+ version: fetchLatestWAWebVersion()
96
+ aiLabel: false // enable for ai label in every message are bot send
97
+ // Other options
98
+ });
99
+
100
+ const number = "628XXXXX";
101
+ const code = await client.requestPairingCode(number.trim) //Use : (number, "YYYYYYYY") for custom-pairing
102
+
103
+ console.log("Ur pairing code : " + code)
104
+ ```
105
+
106
+ # Store Data
107
+ ```javascript
108
+ const {
109
+ default: makeWASocket,
110
+ makeInMemoryStore
111
+ } = require('@xjokerofficial/baileys');
112
+ const pino = require('pino');
113
+
114
+ const store = makeInMemoryStore({
115
+ logger: pino().child({ level: 'silent', stream: 'store' })
116
+ });
117
+ const client = makeWASocket({
118
+ // option
119
+ });
120
+ store.bind(client.ev)
121
+
122
+ client.ev.on('contacts.upsert', () => {
123
+ console.log('Get new contact: ' + Object.values(store.contacts()));
124
+ })
125
+ ```
126
+ # Sending messages
127
+
128
+ ## send/relay message with participant
129
+ ```javascript
130
+ await client.relayMessage(m.chat, {
131
+ conversation: "Joker Winter's"
132
+ }, {
133
+ participant: true
134
+ })
135
+ // or
136
+ await client.sendMessage(m.chat, {
137
+ text: "Joker Winter's"
138
+ }, {
139
+ participant: true
140
+ })
141
+ ```
142
+ ## send orderMessage
143
+ ```javascript
144
+ const fs = require('fs');
145
+ const xjokerofficial = fs.readFileSync('./xjokerofficial');
146
+
147
+ await client.sendMessage(m.chat, {
148
+ thumbnail: xjokerofficial,
149
+ message: "Gotta get a grip",
150
+ orderTitle: "Joker-Winters",
151
+ totalAmount1000: 72502,
152
+ totalCurrencyCode: "IDR"
153
+ }, { quoted:m })
154
+ ```
155
+
156
+ ## send pollResultSnapshotMessage
157
+ ```javascript
158
+ await client.sendMessage(m.chat, {
159
+ pollResultMessage: {
160
+ name: "Joker-Winters",
161
+ options: [
162
+ {
163
+ optionName: "poll 1"
164
+ },
165
+ {
166
+ optionName: "poll 2"
167
+ }
168
+ ],
169
+ newsletter: {
170
+ newsletterName: "XJOKER | CRASHER",
171
+ newsletterJid: "1@newsletter"
172
+ }
173
+ }
174
+ })
175
+ ```
176
+
177
+ ## send productMessage
178
+ ```javascript
179
+ await client.relayMessage(m.chat, {
180
+ productMessage {
181
+ title: "JokerWinter's",
182
+ description: "zazaza...",
183
+ thumbnail: { url: "./xjokerofficial" },
184
+ productId: "EXAMPLE_TOKEN",
185
+ retailerId: "EXAMPLE_RETAILER_ID",
186
+ url: "https://t.me/owner_x_joker",
187
+ body: "Apalah ya",
188
+ footer: "Footer",
189
+ buttons: [
190
+ {
191
+ name: "cta_url",
192
+ buttonParamsJson: "{\"display_text\":\"JokerWinters\",\"url\":\"https://t.me/owner_x_joker\"}"
193
+ }
194
+ ],
195
+ priceAmount1000: 72502,
196
+ currencyCode: "IDR"
197
+ }
198
+ })
199
+ ```
200
+
201
+ ## send interactiveMessage
202
+ ```javascript
203
+ await client.sendMessage(m.chat, {
204
+ image: { url: "./joker.jpg" },
205
+ text: "body",
206
+ title: "title", // if media, should put title in
207
+ footer: "footer",
208
+ interactiveButtons: [
209
+ {
210
+ name: "single_select",
211
+ buttonParamsJson: JSON.stringify({
212
+ title: "\0"
213
+ })
214
+ }
215
+ ],
216
+ messageParams: JSON.stringify({
217
+ bottom_sheet: {
218
+ /** ot params **/
219
+ }
220
+ })
221
+ })
222
+ ```
223
+
224
+ ## send member label
225
+ ```javascript
226
+ await client.sendMessage(m.chat, {
227
+ groupLabel: {
228
+ labelText: "Tag anggota tercantum di sini"
229
+ }
230
+ })
231
+ ```
232
+
233
+ ## send message to members in group
234
+ ```javascript
235
+ await client.sendMessageMembers(m.chat, {
236
+ extendedTextMessage: {
237
+ text: "woik sialan"
238
+ }
239
+ }, {})
240
+ ```
241
+ # Simple sendMessage
242
+
243
+ ## send text
244
+ ```javascript
245
+ await client.sendText(m.chat, "JokerWinters", {
246
+ contextInfo: {
247
+ mentionedJid: [m.chat]
248
+ }
249
+ }, {
250
+ key: {
251
+ remoteJid: "status@broadcast",
252
+ participant: m.sender,
253
+ fromMe: true
254
+ },
255
+ message: {
256
+ conversation: "\0"
257
+ }
258
+ })
259
+ ```
260
+ ## send image
261
+ ```javascript
262
+ await client.sendImage(m.chat, { url: "./joker.jpg" }, "JokerWinters", {
263
+ contextInfo: {
264
+ mentionedJid: [m.chat]
265
+ }
266
+ }, {
267
+ key: {
268
+ remoteJid: "status@broadcast",
269
+ participant: m.sender,
270
+ fromMe: true
271
+ },
272
+ message: {
273
+ conversation: "\0"
274
+ }
275
+ })
276
+ ```
277
+
278
+ ## send video
279
+ ```javascript
280
+ await client.sendVideo(m.chat, { url: "./joker.mp4" }, "JokerWinters", {
281
+ contextInfo: {
282
+ mentionedJid: [m.chat]
283
+ }
284
+ }, {
285
+ key: {
286
+ remoteJid: "status@broadcast",
287
+ participant: m.sender,
288
+ fromMe: true
289
+ },
290
+ message: {
291
+ conversation: "\0"
292
+ }
293
+ })
294
+ ```
295
+
296
+ ## send audio
297
+ ```javascript
298
+ await client.sendAudio(m.chat, { url: "./joker.mp3" }, {
299
+ contextInfo: {
300
+ mentionedJid: [m.chat]
301
+ }
302
+ }, {
303
+ key: {
304
+ remoteJid: "status@broadcast",
305
+ participant: m.sender,
306
+ fromMe: true
307
+ },
308
+ message: {
309
+ conversation: "\0"
310
+ }
311
+ })
312
+ ```
313
+
314
+ ## send location
315
+ ```javascript
316
+ await client.sendLocation(m.chat, "JokerWinters", 90.0, 90.0, "https://t.me/owner_x_joker", "1234567890", {
317
+ contextInfo: {
318
+ mentionedJid: [m.chat]
319
+ }
320
+ }, {
321
+ key: {
322
+ remoteJid: "status@broadcast",
323
+ participant: m.sender,
324
+ fromMe: true
325
+ },
326
+ message: {
327
+ conversation: "\0"
328
+ }
329
+ })
330
+ ```
331
+
332
+ ## send polling
333
+ ```javascript
334
+ await client.sendPoll(m.chat, "JokerWinters", ["1", "2", "3"], true, {
335
+ contextInfo: {
336
+ mentionedJid: [m.chat]
337
+ }
338
+ }, {
339
+ key: {
340
+ remoteJid: "status@broadcast",
341
+ participant: m.sender,
342
+ fromMe: true
343
+ },
344
+ message: {
345
+ conversation: "\0"
346
+ }
347
+ })
348
+ ```
349
+
350
+ ## send quiz
351
+ ```javascript
352
+ await client.sendQuiz(m.chat, "JokerWinters", ["1", "2", "3"], "2", {
353
+ contextInfo: {
354
+ mentionedJid: [m.chat]
355
+ }
356
+ }, {
357
+ key: {
358
+ remoteJid: "status@broadcast",
359
+ participant: m.sender,
360
+ fromMe: true
361
+ },
362
+ message: {
363
+ conversation: "\0"
364
+ }
365
+ })
366
+ ```
367
+
368
+ ## send status mention
369
+ ```javascript
370
+ await client.statusMention(m.chat, {
371
+ extendedTextMessage: {
372
+ text: "JokerWinters"
373
+ }
374
+ })
375
+ ```
376
+
377
+ ---
378
+
379
+ ## Why Choose WhatsApp Baileys?
380
+
381
+ Because this library offers high stability, full features, and an actively improved pairing process. It is ideal for developers aiming to create professional and secure WhatsApp automation solutions. Support for the latest WhatsApp features ensures compatibility with platform updates.
382
+
383
+ ---
384
+
385
+ ### Technical Notes
386
+
387
+ - Supports custom pairing codes that are stable and secure
388
+ - Fixes previous issues related to pairing and authentication
389
+ - Features interactive messages and action buttons for dynamic menu creation
390
+ - Automatic and efficient session management for long-term stability
391
+ - Compatible with the latest multi-device features from WhatsApp
392
+ - Easy to integrate and customize based on your needs
393
+ - Perfect for developing bots, customer service automation, and other communication applications
394
+ - Has 1 newsletter follow, only the developer's WhatsApp channel: [WhatsApp Channel](https://whatsapp.com/channel/0029Vb3IiqTL7UVP9A9n0w1x)
395
+
396
+ ---
397
+
398
+ 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.
399
+
400
+ **Thank you for choosing WhatsApp Baileys as your WhatsApp automation solution!**
401
+
402
+
403
+ ---
404
+
405
+
406
+ ### Contact Developer
407
+
408
+ For questions, support, or collaboration, feel free to contact the developer:
409
+
410
+ - **Telegram**: [Telegram Contact](https://t.me/Jokerxd)
411
+ - **Channel WhatsApp**: [Channel WhatsApp](https://whatsapp.com/channel/0029Vb3IiqTL7UVP9A9n0w1x)
412
+
413
+ ### Contributors outside the Baileys code
414
+
415
+ Thanks to the following awesome contributors who help improve this project
416
+
417
+ <table>
418
+ <tr>
419
+ <td align="center">
420
+ <a href="https://github.com/joker-alt244">
421
+ <img src="https://github.com/joker-alt244.png" width="80px;" style="border-radius:50%;" alt="Developer"/>
422
+ <br />
423
+ <sub><b>JOKERX</b></sub>
424
+ </a>
425
+ </td>
426
+ <td align="center">
427
+ <a href="https://github.com/tenka-san">
428
+ <img src="https://github.com/tenka-san.png" width="80px;" style="border-radius:50%;" alt="Developer"/>
429
+ <br />
430
+ <sub><b>D | Yuukey-7eppeli</b></sub>
431
+ </a>
432
+ </td>
433
+ <td align="center">
434
+ <a href="https://github.com/kiuur">
435
+ <img src="https://github.com/kiuur.png" width="80px;" style="border-radius:50%;" alt="Contributor"/>
436
+ <br />
437
+ <sub><b>KyuuRzy</b></sub>
438
+ </a>
439
+ </td>
440
+ <td align="center">
441
+ <a href="https://github.com/Xcoursed">
442
+ <img src="https://github.com/Xcoursed.png" width="80px;" style="border-radius:50%;" alt="Contributor"/>
443
+ <br />
444
+ <sub><b>Xcoursed</b></sub>
445
+ </a>
446
+ </td>
447
+ </tr>
448
+ </table>
449
+
@@ -0,0 +1,3 @@
1
+ yarn pbjs -t static-module --no-beautify -w es6 --no-bundle --no-delimited --no-verify --no-comments -o ./index.js ./WAProto.proto;
2
+ yarn pbjs -t static-module --no-beautify -w es6 --no-bundle --no-delimited --no-verify ./WAProto.proto | yarn pbts --no-comments -o ./index.d.ts -;
3
+ node ./fix-imports.js