xhyphersockets 1.4.3
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.
- package/LICENSE +21 -0
- package/README.md +252 -0
- package/WAProto/GenerateStatics.sh +4 -0
- package/WAProto/WAProto.proto +4775 -0
- package/WAProto/index.d.ts +55057 -0
- package/WAProto/index.js +169661 -0
- package/WAProto/index.ts.ts +53473 -0
- package/engine-requirements.js +10 -0
- package/lib/Defaults/baileys-version.json +3 -0
- package/lib/Defaults/index.d.ts +51 -0
- package/lib/Defaults/index.js +106 -0
- package/lib/Signal/Group/ciphertext-message.d.ts +9 -0
- package/lib/Signal/Group/ciphertext-message.js +15 -0
- package/lib/Signal/Group/group-session-builder.d.ts +14 -0
- package/lib/Signal/Group/group-session-builder.js +64 -0
- package/lib/Signal/Group/group_cipher.d.ts +17 -0
- package/lib/Signal/Group/group_cipher.js +96 -0
- package/lib/Signal/Group/index.d.ts +11 -0
- package/lib/Signal/Group/index.js +57 -0
- package/lib/Signal/Group/keyhelper.d.ts +10 -0
- package/lib/Signal/Group/keyhelper.js +55 -0
- package/lib/Signal/Group/queue-job.d.ts +1 -0
- package/lib/Signal/Group/queue-job.js +57 -0
- package/lib/Signal/Group/sender-chain-key.d.ts +13 -0
- package/lib/Signal/Group/sender-chain-key.js +34 -0
- package/lib/Signal/Group/sender-key-distribution-message.d.ts +16 -0
- package/lib/Signal/Group/sender-key-distribution-message.js +66 -0
- package/lib/Signal/Group/sender-key-message.d.ts +18 -0
- package/lib/Signal/Group/sender-key-message.js +69 -0
- package/lib/Signal/Group/sender-key-name.d.ts +17 -0
- package/lib/Signal/Group/sender-key-name.js +51 -0
- package/lib/Signal/Group/sender-key-record.d.ts +30 -0
- package/lib/Signal/Group/sender-key-record.js +53 -0
- package/lib/Signal/Group/sender-key-state.d.ts +38 -0
- package/lib/Signal/Group/sender-key-state.js +99 -0
- package/lib/Signal/Group/sender-message-key.d.ts +11 -0
- package/lib/Signal/Group/sender-message-key.js +29 -0
- package/lib/Signal/libsignal.d.ts +3 -0
- package/lib/Signal/libsignal.js +174 -0
- package/lib/Socket/Client/index.d.ts +2 -0
- package/lib/Socket/Client/index.js +18 -0
- package/lib/Socket/Client/types.d.ts +16 -0
- package/lib/Socket/Client/types.js +13 -0
- package/lib/Socket/Client/websocket.d.ts +13 -0
- package/lib/Socket/Client/websocket.js +111 -0
- package/lib/Socket/RHandler.d.ts +416 -0
- package/lib/Socket/RHandler.js +530 -0
- package/lib/Socket/business.d.ts +172 -0
- package/lib/Socket/business.js +260 -0
- package/lib/Socket/chats.d.ts +94 -0
- package/lib/Socket/chats.js +908 -0
- package/lib/Socket/groups.d.ts +124 -0
- package/lib/Socket/groups.js +332 -0
- package/lib/Socket/index.d.ts +172 -0
- package/lib/Socket/index.js +10 -0
- package/lib/Socket/messages-recv.d.ts +161 -0
- package/lib/Socket/messages-recv.js +1054 -0
- package/lib/Socket/messages-send.d.ts +152 -0
- package/lib/Socket/messages-send.js +903 -0
- package/lib/Socket/newsletter.d.ts +136 -0
- package/lib/Socket/newsletter.js +303 -0
- package/lib/Socket/socket.d.ts +43 -0
- package/lib/Socket/socket.js +654 -0
- package/lib/Socket/usync.d.ts +36 -0
- package/lib/Socket/usync.js +70 -0
- package/lib/Store/index.d.ts +2 -0
- package/lib/Store/index.js +8 -0
- package/lib/Store/make-in-memory-store.d.ts +118 -0
- package/lib/Store/make-in-memory-store.js +439 -0
- package/lib/Store/make-ordered-dictionary.d.ts +13 -0
- package/lib/Store/make-ordered-dictionary.js +81 -0
- package/lib/Store/object-repository.d.ts +10 -0
- package/lib/Store/object-repository.js +27 -0
- package/lib/Types/Auth.d.ts +103 -0
- package/lib/Types/Auth.js +2 -0
- package/lib/Types/Call.d.ts +13 -0
- package/lib/Types/Call.js +2 -0
- package/lib/Types/Chat.d.ts +109 -0
- package/lib/Types/Chat.js +4 -0
- package/lib/Types/Contact.d.ts +23 -0
- package/lib/Types/Contact.js +2 -0
- package/lib/Types/Events.d.ts +199 -0
- package/lib/Types/Events.js +2 -0
- package/lib/Types/GroupMetadata.d.ts +64 -0
- package/lib/Types/GroupMetadata.js +2 -0
- package/lib/Types/Label.d.ts +35 -0
- package/lib/Types/Label.js +27 -0
- package/lib/Types/LabelAssociation.d.ts +29 -0
- package/lib/Types/LabelAssociation.js +9 -0
- package/lib/Types/Message.d.ts +402 -0
- package/lib/Types/Message.js +7 -0
- package/lib/Types/Newsletter.d.ts +103 -0
- package/lib/Types/Newsletter.js +38 -0
- package/lib/Types/Product.d.ts +78 -0
- package/lib/Types/Product.js +2 -0
- package/lib/Types/Signal.d.ts +57 -0
- package/lib/Types/Signal.js +2 -0
- package/lib/Types/Socket.d.ts +119 -0
- package/lib/Types/Socket.js +2 -0
- package/lib/Types/State.d.ts +27 -0
- package/lib/Types/State.js +2 -0
- package/lib/Types/USync.d.ts +25 -0
- package/lib/Types/USync.js +2 -0
- package/lib/Types/index.d.ts +64 -0
- package/lib/Types/index.js +42 -0
- package/lib/Utils/audioToBuffer.js +29 -0
- package/lib/Utils/auth-utils.d.ts +18 -0
- package/lib/Utils/auth-utils.js +199 -0
- package/lib/Utils/baileys-event-stream.d.ts +16 -0
- package/lib/Utils/baileys-event-stream.js +63 -0
- package/lib/Utils/business.d.ts +22 -0
- package/lib/Utils/business.js +234 -0
- package/lib/Utils/chat-utils.d.ts +70 -0
- package/lib/Utils/chat-utils.js +730 -0
- package/lib/Utils/crypto.d.ts +40 -0
- package/lib/Utils/crypto.js +193 -0
- package/lib/Utils/decode-wa-message.d.ts +35 -0
- package/lib/Utils/decode-wa-message.js +207 -0
- package/lib/Utils/event-buffer.d.ts +35 -0
- package/lib/Utils/event-buffer.js +518 -0
- package/lib/Utils/generics.d.ts +89 -0
- package/lib/Utils/generics.js +428 -0
- package/lib/Utils/history.d.ts +19 -0
- package/lib/Utils/history.js +94 -0
- package/lib/Utils/index.d.ts +19 -0
- package/lib/Utils/index.js +36 -0
- package/lib/Utils/link-preview.d.ts +21 -0
- package/lib/Utils/link-preview.js +126 -0
- package/lib/Utils/logger.d.ts +11 -0
- package/lib/Utils/logger.js +7 -0
- package/lib/Utils/lt-hash.d.ts +12 -0
- package/lib/Utils/lt-hash.js +51 -0
- package/lib/Utils/make-mutex.d.ts +7 -0
- package/lib/Utils/make-mutex.js +43 -0
- package/lib/Utils/messages-media.d.ts +124 -0
- package/lib/Utils/messages-media.js +887 -0
- package/lib/Utils/messages.d.ts +75 -0
- package/lib/Utils/messages.js +1030 -0
- package/lib/Utils/noise-handler.d.ts +19 -0
- package/lib/Utils/noise-handler.js +150 -0
- package/lib/Utils/process-message.d.ts +42 -0
- package/lib/Utils/process-message.js +385 -0
- package/lib/Utils/signal.d.ts +33 -0
- package/lib/Utils/signal.js +153 -0
- package/lib/Utils/streamToBuffer.js +15 -0
- package/lib/Utils/use-multi-file-auth-state.d.ts +12 -0
- package/lib/Utils/use-multi-file-auth-state.js +125 -0
- package/lib/Utils/validate-connection.d.ts +10 -0
- package/lib/Utils/validate-connection.js +173 -0
- package/lib/WABinary/constants.d.ts +27 -0
- package/lib/WABinary/constants.js +1303 -0
- package/lib/WABinary/decode.d.ts +6 -0
- package/lib/WABinary/decode.js +265 -0
- package/lib/WABinary/encode.d.ts +2 -0
- package/lib/WABinary/encode.js +250 -0
- package/lib/WABinary/generic-utils.d.ts +14 -0
- package/lib/WABinary/generic-utils.js +110 -0
- package/lib/WABinary/index.d.ts +5 -0
- package/lib/WABinary/index.js +21 -0
- package/lib/WABinary/jid-utils.d.ts +36 -0
- package/lib/WABinary/jid-utils.js +83 -0
- package/lib/WABinary/jid-utils.js.bak +83 -0
- package/lib/WABinary/types.d.ts +18 -0
- package/lib/WABinary/types.js +2 -0
- package/lib/WAM/BinaryInfo.d.ts +8 -0
- package/lib/WAM/BinaryInfo.js +13 -0
- package/lib/WAM/constants.d.ts +38 -0
- package/lib/WAM/constants.js +15350 -0
- package/lib/WAM/encode.d.ts +2 -0
- package/lib/WAM/encode.js +155 -0
- package/lib/WAM/index.d.ts +3 -0
- package/lib/WAM/index.js +19 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +9 -0
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +32 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +22 -0
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +57 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +30 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +12 -0
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +42 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.d.ts +25 -0
- package/lib/WAUSync/Protocols/UsyncBotProfileProtocol.js +53 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.d.ts +8 -0
- package/lib/WAUSync/Protocols/UsyncLIDProtocol.js +24 -0
- package/lib/WAUSync/Protocols/index.d.ts +4 -0
- package/lib/WAUSync/Protocols/index.js +20 -0
- package/lib/WAUSync/USyncQuery.d.ts +28 -0
- package/lib/WAUSync/USyncQuery.js +89 -0
- package/lib/WAUSync/USyncUser.d.ts +12 -0
- package/lib/WAUSync/USyncUser.js +26 -0
- package/lib/WAUSync/index.d.ts +3 -0
- package/lib/WAUSync/index.js +19 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.js +75 -0
- package/package.json +110 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 yupra
|
|
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,252 @@
|
|
|
1
|
+
|
|
2
|
+
<div align="center">
|
|
3
|
+
<h1>✨ Angularsockets</h1>
|
|
4
|
+
<p><em>Custom WhatsApp library built upon Baileys — enhanced, modernized, and elegant ✨</em></p>
|
|
5
|
+
|
|
6
|
+
<img src="https://dabby.vercel.app/baileys.png" width="300" alt="Subzero Bail Banner" />
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
<p>
|
|
11
|
+
<a href="https://www.npmjs.com/package/angularsockets">
|
|
12
|
+
<img src="https://img.shields.io/npm/v/angularsockets?color=blueviolet&label=version&logo=npm" alt="npm version" />
|
|
13
|
+
</a>
|
|
14
|
+
<a href="https://www.npmjs.com/package/angularsockets">
|
|
15
|
+
<img src="https://img.shields.io/npm/dt/angularsockets?color=blueviolet&label=downloads&logo=npm" alt="npm downloads" />
|
|
16
|
+
</a>
|
|
17
|
+
<a href="https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D">
|
|
18
|
+
<img src="https://img.shields.io/badge/Join-WhatsApp%20Channel-25D366?logo=whatsapp&logoColor=white" alt="WhatsApp Channel" />
|
|
19
|
+
</a>
|
|
20
|
+
</p>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<p align="center">
|
|
24
|
+
<a href="https://angularsockets.vercel.app">
|
|
25
|
+
<img src="https://img.shields.io/badge/Documentation-Baileys-blue?style=for-the-badge&logo=readthedocs&logoColor=white" alt="View Documentation">
|
|
26
|
+
</a>
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## 📌 Overview
|
|
32
|
+
|
|
33
|
+
> **angularsockets** is a refined version of the Baileys library with cleaner API usage, exclusive features like album messaging, newsletter controls, and full-size profile uploads — tailored for modern WhatsApp automation needs.
|
|
34
|
+
|
|
35
|
+
### Current Version: **1.4.2**
|
|
36
|
+
|
|
37
|
+
> **Update Information**
|
|
38
|
+
|
|
39
|
+
All update information is now redirected to the WhatsApp channel:
|
|
40
|
+
|
|
41
|
+
<a href="https://whatsapp.com/channel/0029VagQEmB002T7MWo3Sj1D">
|
|
42
|
+
<img src="https://img.shields.io/badge/Join-WhatsApp%20Channel-25D366?logo=whatsapp&logoColor=white" alt="WhatsApp Channel" />
|
|
43
|
+
</a>
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## 📦 Installation
|
|
48
|
+
|
|
49
|
+
### Via package.json Fork Baileys (NPM)
|
|
50
|
+
|
|
51
|
+
**@whiskeysockets/baileys**
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"@whiskeysockets/baileys": "npm:angularsockets"
|
|
56
|
+
}
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
**@adiwajsing/baileys**
|
|
60
|
+
|
|
61
|
+
```json
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@adiwajshing/baileys": "npm:angularsockets"
|
|
64
|
+
}
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Or via terminal
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
npm install baileys@npm:angularsockets
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Importing (for those who don't fork another repository)
|
|
74
|
+
|
|
75
|
+
**ESM**
|
|
76
|
+
|
|
77
|
+
```javascript
|
|
78
|
+
import makeWASocket from 'angularsockets'
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**CJS**
|
|
82
|
+
|
|
83
|
+
```javascript
|
|
84
|
+
const { default: makeWASocket } = require('angularsockets')
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## 🌟 Key Features
|
|
90
|
+
|
|
91
|
+
| Category | Description |
|
|
92
|
+
|----------|-------------|
|
|
93
|
+
| 📢 Channels | Seamlessly send messages to WhatsApp Channels |
|
|
94
|
+
| 🖱️ Buttons | Create interactive messages with button options and quick replies |
|
|
95
|
+
| 🖼️ Albums | Send grouped images or videos as an album (carousel-like format) |
|
|
96
|
+
| 👤 LID Grouping | Handle group operations using the latest @lid addressing style |
|
|
97
|
+
| 🤖 AI Message Style | Add a stylized "AI" icon to messages |
|
|
98
|
+
| 📷 HD Profile Pics | Upload full-size profile pictures without cropping |
|
|
99
|
+
| 🔐 Pairing Code | Generate custom alphanumeric pairing codes |
|
|
100
|
+
| 🛠️ Dev Experience | Reduced noise from logs with optimized libsignal printouts |
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 💡 Use Case Examples
|
|
105
|
+
|
|
106
|
+
<details>
|
|
107
|
+
<summary><strong>📬 Newsletter Control</strong></summary>
|
|
108
|
+
|
|
109
|
+
```javascript
|
|
110
|
+
// Create a newsletter
|
|
111
|
+
await sock.newsletterCreate("Subzero Updates");
|
|
112
|
+
|
|
113
|
+
// Change description
|
|
114
|
+
await sock.newsletterUpdateDescription("subzero@newsletter", "Fresh updates weekly");
|
|
115
|
+
|
|
116
|
+
// Send a reaction to a channel message
|
|
117
|
+
await sock.newsletterReactMessage("subzero@newsletter", "175", "🔥");
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
</details>
|
|
121
|
+
|
|
122
|
+
<details>
|
|
123
|
+
<summary><strong>📌 Interactive Messaging</strong></summary>
|
|
124
|
+
|
|
125
|
+
```javascript
|
|
126
|
+
const buttons = [
|
|
127
|
+
{ buttonId: 'btn1', buttonText: { displayText: 'Click Me' }, type: 1 },
|
|
128
|
+
{ buttonId: 'btn2', buttonText: { displayText: 'Visit Site' }, type: 1 }
|
|
129
|
+
];
|
|
130
|
+
|
|
131
|
+
const msg = {
|
|
132
|
+
text: "Choose one:",
|
|
133
|
+
footer: "From Mr Frank with love 💜",
|
|
134
|
+
buttons,
|
|
135
|
+
headerType: 1
|
|
136
|
+
};
|
|
137
|
+
|
|
138
|
+
await sock.sendMessage(id, msg, { quoted: null });
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
</details>
|
|
142
|
+
|
|
143
|
+
<details>
|
|
144
|
+
<summary><strong>🖼️ Send Album</strong></summary>
|
|
145
|
+
|
|
146
|
+
```javascript
|
|
147
|
+
const media = [
|
|
148
|
+
{ image: { url: "https://example.com/pic1.jpg" } },
|
|
149
|
+
{ video: { url: "https://example.com/clip.mp4" } }
|
|
150
|
+
];
|
|
151
|
+
|
|
152
|
+
await sock.sendMessage(id, { album: media, caption: "Memories 💫" }, { quoted: null });
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
</details>
|
|
156
|
+
|
|
157
|
+
<details>
|
|
158
|
+
<summary><strong>🔐 Pairing with Custom Code</strong></summary>
|
|
159
|
+
|
|
160
|
+
```javascript
|
|
161
|
+
const code = await sock.requestPairingCode("263xxxxxxxxx", "MRFRANKX");
|
|
162
|
+
console.log("Your Pairing Code:", code);
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
</details>
|
|
166
|
+
|
|
167
|
+
<details>
|
|
168
|
+
<summary><strong>📊 Poll Creation</strong></summary>
|
|
169
|
+
|
|
170
|
+
```javascript
|
|
171
|
+
const pollMessage = {
|
|
172
|
+
name: "Favorite Color?",
|
|
173
|
+
values: ["Red", "Blue", "Green"],
|
|
174
|
+
selectableCount: 1
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
await sock.sendMessage(id, { poll: pollMessage });
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
</details>
|
|
181
|
+
|
|
182
|
+
<details>
|
|
183
|
+
<summary><strong>📍 Location Sharing</strong></summary>
|
|
184
|
+
|
|
185
|
+
```javascript
|
|
186
|
+
const locationMessage = {
|
|
187
|
+
degreesLatitude: 37.422,
|
|
188
|
+
degreesLongitude: -122.084,
|
|
189
|
+
name: "Googleplex",
|
|
190
|
+
address: "1600 Amphitheatre Pkwy, Mountain View, CA 94043"
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
await sock.sendMessage(id, { location: locationMessage });
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
</details>
|
|
197
|
+
|
|
198
|
+
<details>
|
|
199
|
+
<summary><strong>👥 Group Management</strong></summary>
|
|
200
|
+
|
|
201
|
+
```javascript
|
|
202
|
+
// Create group
|
|
203
|
+
const group = await sock.groupCreate("My New Group", [number1, number2]);
|
|
204
|
+
|
|
205
|
+
// Add participants
|
|
206
|
+
await sock.groupAdd(group.id, [number3, number4]);
|
|
207
|
+
|
|
208
|
+
// Change group description
|
|
209
|
+
await sock.groupUpdateDescription(group.id, "This is our awesome group!");
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
</details>
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
**Note:** Replace `id` with the actual recipient ID and `sock` with your WhatsApp socket connection variable.
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## 🐞 Found a Bug?
|
|
221
|
+
|
|
222
|
+
Please contact the maintainer directly via WhatsApp:
|
|
223
|
+
|
|
224
|
+
<p align="center">
|
|
225
|
+
<a href="https://wa.me/263719647303" target="_blank">
|
|
226
|
+
<img alt="WhatsApp" src="https://img.shields.io/badge/Chat%20on%20WhatsApp-25D366?style=for-the-badge&logo=whatsapp&logoColor=white">
|
|
227
|
+
</a>
|
|
228
|
+
</p>
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## 🙏 Credits
|
|
233
|
+
|
|
234
|
+
**Creator:** MR FRANK OFC
|
|
235
|
+
|
|
236
|
+
- 🌐 Website: [mrfrankofc.gleeze.com](https://mrfrankofc.gleeze.com)
|
|
237
|
+
- 💻 GitHub: [@mrfr8nk](https://github.com/mrfr8nk)
|
|
238
|
+
|
|
239
|
+
**Special Thanks:**
|
|
240
|
+
- RexyHayanais
|
|
241
|
+
- Nystar
|
|
242
|
+
|
|
243
|
+
> [!CAUTION]
|
|
244
|
+
> Built on top of the WhiskeySockets/Baileys project. All original core logic credits go to their team. angularsockets extends it with thoughtful UX and DX improvements.
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
<div align="center">
|
|
249
|
+
<p>Made with 💜 by MR FRANK OFC</p>
|
|
250
|
+
</div>
|
|
251
|
+
# shgdj
|
|
252
|
+
# shgdj
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
yarn pbjs -t static-module -w commonjs -o ./WAProto/index.js ./WAProto/WAProto.proto;
|
|
2
|
+
yarn pbts -o ./WAProto/index.d.ts ./WAProto/index.js;
|
|
3
|
+
|
|
4
|
+
#protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_opt=env=node,useOptionals=true,forceLong=long --ts_proto_out=. ./src/Binary/WAMessage.proto;
|