lordceaser-baileys 2.0.26 → 2.0.27
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/index.js +155 -10
- package/package.json +5 -4
- package/WAProto/GenerateStatics.sh +0 -4
- package/WAProto/WAProto/GenerateStatics.sh +0 -4
- package/WAProto/WAProto/WAProto.proto +0 -4633
- package/WAProto/WAProto/index.d.ts +0 -51825
- package/WAProto/WAProto/index.js +0 -165029
- package/WAProto/WAProto/index.ts.ts +0 -53473
- package/WAProto/WAProto/p.html +0 -1
- package/WAProto/WAProto.proto +0 -4633
- package/WAProto/index.d.ts +0 -51825
- package/WAProto/index.js +0 -165029
- package/WAProto/index.ts.ts +0 -53473
- package/WAProto/p.html +0 -1
- package/WASignalGroup/GroupProtocol.js +0 -1697
- package/WASignalGroup/WASignalGroup/GroupProtocol.js +0 -1697
- package/WASignalGroup/WASignalGroup/ciphertext_message.js +0 -16
- package/WASignalGroup/WASignalGroup/group_cipher.js +0 -120
- package/WASignalGroup/WASignalGroup/group_session_builder.js +0 -46
- package/WASignalGroup/WASignalGroup/index.js +0 -5
- package/WASignalGroup/WASignalGroup/keyhelper.js +0 -21
- package/WASignalGroup/WASignalGroup/protobufs.js +0 -3
- package/WASignalGroup/WASignalGroup/queue_job.js +0 -69
- package/WASignalGroup/WASignalGroup/sender_chain_key.js +0 -50
- package/WASignalGroup/WASignalGroup/sender_key_distribution_message.js +0 -78
- package/WASignalGroup/WASignalGroup/sender_key_message.js +0 -92
- package/WASignalGroup/WASignalGroup/sender_key_name.js +0 -70
- package/WASignalGroup/WASignalGroup/sender_key_record.js +0 -56
- package/WASignalGroup/WASignalGroup/sender_key_state.js +0 -129
- package/WASignalGroup/WASignalGroup/sender_message_key.js +0 -39
- package/WASignalGroup/ciphertext_message.js +0 -16
- package/WASignalGroup/group_cipher.js +0 -120
- package/WASignalGroup/group_session_builder.js +0 -46
- package/WASignalGroup/index.js +0 -5
- package/WASignalGroup/keyhelper.js +0 -21
- package/WASignalGroup/protobufs.js +0 -3
- package/WASignalGroup/queue_job.js +0 -69
- package/WASignalGroup/sender_chain_key.js +0 -50
- package/WASignalGroup/sender_key_distribution_message.js +0 -78
- package/WASignalGroup/sender_key_message.js +0 -92
- package/WASignalGroup/sender_key_name.js +0 -70
- package/WASignalGroup/sender_key_record.js +0 -56
- package/WASignalGroup/sender_key_state.js +0 -129
- package/WASignalGroup/sender_message_key.js +0 -39
- package/lib/Defaults/baileys-version.json +0 -3
- package/lib/Defaults/index.d.ts +0 -284
- package/lib/Defaults/index.js +0 -121
- package/lib/Defaults/phonenumber-mcc.json +0 -223
- package/lib/Signal/libsignal.d.ts +0 -4
- package/lib/Signal/libsignal.js +0 -162
- package/lib/Socket/Client/abstract-socket-client.d.ts +0 -15
- package/lib/Socket/Client/abstract-socket-client.js +0 -13
- package/lib/Socket/Client/index.d.ts +0 -2
- package/lib/Socket/Client/index.js +0 -22
- package/lib/Socket/Client/mobile-socket-client.d.ts +0 -12
- package/lib/Socket/Client/mobile-socket-client.js +0 -65
- package/lib/Socket/Client/types.d.ts +0 -16
- package/lib/Socket/Client/types.js +0 -18
- package/lib/Socket/Client/web-socket-client.js +0 -62
- package/lib/Socket/Client/websocket.d.ts +0 -13
- package/lib/Socket/Client/websocket.js +0 -62
- package/lib/Socket/business.d.ts +0 -182
- package/lib/Socket/business.js +0 -268
- package/lib/Socket/chats.d.ts +0 -96
- package/lib/Socket/chats.js +0 -1026
- package/lib/Socket/groups.d.ts +0 -130
- package/lib/Socket/groups.js +0 -338
- package/lib/Socket/index.d.ts +0 -185
- package/lib/Socket/index.js +0 -14
- package/lib/Socket/messages-recv.d.ts +0 -171
- package/lib/Socket/messages-recv.js +0 -1182
- package/lib/Socket/messages-send.d.ts +0 -162
- package/lib/Socket/messages-send.js +0 -1006
- package/lib/Socket/newsletter.d.ts +0 -142
- package/lib/Socket/newsletter.js +0 -256
- package/lib/Socket/registration.d.ts +0 -264
- package/lib/Socket/registration.js +0 -166
- package/lib/Socket/socket.d.ts +0 -45
- package/lib/Socket/socket.js +0 -751
- package/lib/Socket/socket.js.bak +0 -751
- package/lib/Socket/usync.d.ts +0 -37
- package/lib/Socket/usync.js +0 -83
- package/lib/Store/index.d.ts +0 -4
- package/lib/Store/index.js +0 -24
- package/lib/Store/make-cache-manager-store.d.ts +0 -14
- package/lib/Store/make-cache-manager-store.js +0 -90
- package/lib/Store/make-in-memory-store.d.ts +0 -123
- package/lib/Store/make-in-memory-store.js +0 -429
- package/lib/Store/make-ordered-dictionary.d.ts +0 -12
- package/lib/Store/make-ordered-dictionary.js +0 -86
- package/lib/Store/object-repository.d.ts +0 -10
- package/lib/Store/object-repository.js +0 -31
- package/lib/Types/Auth.d.ts +0 -120
- package/lib/Types/Auth.js +0 -3
- package/lib/Types/Call.d.ts +0 -14
- package/lib/Types/Call.js +0 -3
- package/lib/Types/Chat.d.ts +0 -134
- package/lib/Types/Chat.js +0 -9
- package/lib/Types/Contact.d.ts +0 -25
- package/lib/Types/Contact.js +0 -3
- package/lib/Types/Events.d.ts +0 -212
- package/lib/Types/Events.js +0 -3
- package/lib/Types/GroupMetadata.d.ts +0 -64
- package/lib/Types/GroupMetadata.js +0 -3
- package/lib/Types/Label.d.ts +0 -48
- package/lib/Types/Label.js +0 -31
- package/lib/Types/LabelAssociation.d.ts +0 -35
- package/lib/Types/LabelAssociation.js +0 -13
- package/lib/Types/Message.d.ts +0 -459
- package/lib/Types/Message.js +0 -13
- package/lib/Types/Newsletter.d.ts +0 -107
- package/lib/Types/Newsletter.js +0 -38
- package/lib/Types/Product.d.ts +0 -92
- package/lib/Types/Product.js +0 -3
- package/lib/Types/Signal.d.ts +0 -68
- package/lib/Types/Signal.js +0 -3
- package/lib/Types/Socket.d.ts +0 -120
- package/lib/Types/Socket.js +0 -3
- package/lib/Types/State.d.ts +0 -29
- package/lib/Types/State.js +0 -3
- package/lib/Types/USync.d.ts +0 -26
- package/lib/Types/USync.js +0 -3
- package/lib/Types/index.d.ts +0 -78
- package/lib/Types/index.js +0 -47
- package/lib/Utils/auth-utils.d.ts +0 -21
- package/lib/Utils/auth-utils.js +0 -205
- package/lib/Utils/baileys-event-stream.d.ts +0 -18
- package/lib/Utils/baileys-event-stream.js +0 -70
- package/lib/Utils/business.d.ts +0 -29
- package/lib/Utils/business.js +0 -247
- package/lib/Utils/chat-utils.d.ts +0 -82
- package/lib/Utils/chat-utils.js +0 -774
- package/lib/Utils/crypto.d.ts +0 -56
- package/lib/Utils/crypto.js +0 -179
- package/lib/Utils/decode-wa-message.d.ts +0 -41
- package/lib/Utils/decode-wa-message.js +0 -236
- package/lib/Utils/event-buffer.d.ts +0 -39
- package/lib/Utils/event-buffer.js +0 -548
- package/lib/Utils/generics.d.ts +0 -129
- package/lib/Utils/generics.js +0 -485
- package/lib/Utils/history.d.ts +0 -23
- package/lib/Utils/history.js +0 -100
- package/lib/Utils/index.d.ts +0 -20
- package/lib/Utils/index.js +0 -40
- package/lib/Utils/link-preview.d.ts +0 -23
- package/lib/Utils/link-preview.js +0 -120
- package/lib/Utils/logger.d.ts +0 -13
- package/lib/Utils/logger.js +0 -7
- package/lib/Utils/lt-hash.d.ts +0 -14
- package/lib/Utils/lt-hash.js +0 -58
- package/lib/Utils/make-mutex.d.ts +0 -9
- package/lib/Utils/make-mutex.js +0 -49
- package/lib/Utils/messages-media.d.ts +0 -129
- package/lib/Utils/messages-media.js +0 -782
- package/lib/Utils/messages.d.ts +0 -103
- package/lib/Utils/messages.js +0 -1631
- package/lib/Utils/noise-handler.d.ts +0 -20
- package/lib/Utils/noise-handler.js +0 -155
- package/lib/Utils/process-message.d.ts +0 -49
- package/lib/Utils/process-message.js +0 -387
- package/lib/Utils/signal.d.ts +0 -42
- package/lib/Utils/signal.js +0 -166
- package/lib/Utils/use-mongo-file-auth-state.d.ts +0 -6
- package/lib/Utils/use-mongo-file-auth-state.js +0 -84
- package/lib/Utils/use-multi-file-auth-state.d.ts +0 -13
- package/lib/Utils/use-multi-file-auth-state.js +0 -131
- package/lib/Utils/use-single-file-auth-state.d.ts +0 -13
- package/lib/Utils/use-single-file-auth-state.js +0 -80
- package/lib/Utils/use-sql-file-auth-state.d.ts +0 -6
- package/lib/Utils/use-sql-file-auth-state.js +0 -143
- package/lib/Utils/validate-connection.d.ts +0 -13
- package/lib/Utils/validate-connection.js +0 -186
- package/lib/WABinary/constants.d.ts +0 -30
- package/lib/WABinary/constants.js +0 -53
- package/lib/WABinary/decode.d.ts +0 -9
- package/lib/WABinary/decode.js +0 -288
- package/lib/WABinary/encode.d.ts +0 -3
- package/lib/WABinary/encode.js +0 -256
- package/lib/WABinary/generic-utils.d.ts +0 -28
- package/lib/WABinary/generic-utils.js +0 -150
- package/lib/WABinary/index.d.ts +0 -5
- package/lib/WABinary/index.js +0 -25
- package/lib/WABinary/jid-utils.d.ts +0 -53
- package/lib/WABinary/jid-utils.js +0 -92
- package/lib/WABinary/types.d.ts +0 -22
- package/lib/WABinary/types.js +0 -3
- package/lib/WAM/BinaryInfo.d.ts +0 -16
- package/lib/WAM/BinaryInfo.js +0 -17
- package/lib/WAM/constants.d.ts +0 -47
- package/lib/WAM/constants.js +0 -15371
- package/lib/WAM/encode.d.ts +0 -3
- package/lib/WAM/encode.js +0 -165
- package/lib/WAM/index.d.ts +0 -3
- package/lib/WAM/index.js +0 -23
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.d.ts +0 -28
- package/lib/WAUSync/Protocols/USyncBotProfileProtocol.js +0 -69
- package/lib/WAUSync/Protocols/USyncContactProtocol.d.ts +0 -10
- package/lib/WAUSync/Protocols/USyncContactProtocol.js +0 -36
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.d.ts +0 -26
- package/lib/WAUSync/Protocols/USyncDeviceProtocol.js +0 -62
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.d.ts +0 -14
- package/lib/WAUSync/Protocols/USyncDisappearingModeProtocol.js +0 -35
- package/lib/WAUSync/Protocols/USyncLIDProtocol.d.ts +0 -9
- package/lib/WAUSync/Protocols/USyncLIDProtocol.js +0 -30
- package/lib/WAUSync/Protocols/USyncStatusProtocol.d.ts +0 -14
- package/lib/WAUSync/Protocols/USyncStatusProtocol.js +0 -46
- package/lib/WAUSync/Protocols/index.d.ts +0 -6
- package/lib/WAUSync/Protocols/index.js +0 -26
- package/lib/WAUSync/USyncQuery.d.ts +0 -31
- package/lib/WAUSync/USyncQuery.js +0 -92
- package/lib/WAUSync/USyncUser.d.ts +0 -12
- package/lib/WAUSync/USyncUser.js +0 -30
- package/lib/WAUSync/index.d.ts +0 -3
- package/lib/WAUSync/index.js +0 -23
- package/lib/index.d.ts +0 -13
- package/lib/index.js +0 -33
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// CEASER - Premium WhatsApp Engine - lordceaser-baileys v2.0.
|
|
1
|
+
// CEASER - Premium WhatsApp Engine - lordceaser-baileys v2.0.26 - FIXED PERMANENTLY
|
|
2
2
|
// Shows banner like PLOGME when installed
|
|
3
3
|
|
|
4
4
|
const isMain = require.main === module || !module.parent || process.argv[1] && process.argv[1].includes('lordceaser-baileys');
|
|
@@ -13,15 +13,12 @@ function showBanner() {
|
|
|
13
13
|
╚██████╗███████╗██║ ██║███████║███████╗██║ ██║
|
|
14
14
|
╚═════╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝╚═╝ ╚═╝
|
|
15
15
|
\x1b[0m
|
|
16
|
-
\x1b[36m ⚡ CEASER - premium WhatsApp engine - lordceaser-baileys v2.0.
|
|
17
|
-
\x1b[
|
|
18
|
-
\x1b[32m
|
|
16
|
+
\x1b[36m ⚡ CEASER - premium WhatsApp engine - lordceaser-baileys v2.0.26 FIXED ⚡\x1b[0m
|
|
17
|
+
\x1b[32m ✅ All button types supported permanently (nativeFlow, interactiveButtons, buttons, template)\x1b[0m
|
|
18
|
+
\x1b[32m ✅ Ping media + channel button + group responding fixed\x1b[0m
|
|
19
|
+
\x1b[32m ✅ gstatus pic/video + thumbnail fixed\x1b[0m
|
|
19
20
|
\x1b[32m Dashboard: http://localhost:3000\x1b[0m
|
|
20
|
-
\x1b[34m Baileys v2.0.
|
|
21
|
-
\x1b[35m [CONSOLE BRIDGE] Live console streaming enabled\x1b[0m
|
|
22
|
-
\x1b[36m [AUTO-APPROVE] started - polling join requests every 30s\x1b[0m
|
|
23
|
-
\x1b[90m • Group welcome/goodbye events loaded (styled)\x1b[0m
|
|
24
|
-
\x1b[90m • Message revoke watcher loaded\x1b[0m
|
|
21
|
+
\x1b[34m Baileys v2.0.26 FIXED - server negotiated: 2.3000.1040735178 (latest: true)\x1b[0m
|
|
25
22
|
`;
|
|
26
23
|
console.log(banner);
|
|
27
24
|
}
|
|
@@ -42,6 +39,154 @@ try {
|
|
|
42
39
|
}
|
|
43
40
|
}
|
|
44
41
|
|
|
42
|
+
// ─── PERMANENT FIX FOR ALL BUTTON TYPES + PING MEDIA + GROUP RESPONDING ───
|
|
43
|
+
const originalMakeWASocket = lib.default || lib.makeWASocket;
|
|
44
|
+
|
|
45
|
+
function normalizeButtons(content) {
|
|
46
|
+
if (!content) return content;
|
|
47
|
+
|
|
48
|
+
// If content already has interactiveButtons with correct format, keep it
|
|
49
|
+
if (content.interactiveButtons && Array.isArray(content.interactiveButtons)) {
|
|
50
|
+
// Ensure each has name and buttonParamsJson
|
|
51
|
+
return content;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Convert nativeFlow: [{text, url/id}, ...] -> interactiveButtons
|
|
55
|
+
if (content.nativeFlow && Array.isArray(content.nativeFlow)) {
|
|
56
|
+
const flowButtons = content.nativeFlow.map(b => {
|
|
57
|
+
if (b.url) {
|
|
58
|
+
return { name: "cta_url", buttonParamsJson: JSON.stringify({ display_text: b.text || b.displayText || "Channel", url: b.url }) };
|
|
59
|
+
} else if (b.id) {
|
|
60
|
+
return { name: "quick_reply", buttonParamsJson: JSON.stringify({ display_text: b.text || b.displayText || "Button", id: b.id }) };
|
|
61
|
+
} else if (b.text) {
|
|
62
|
+
// If only text, assume quick_reply with text as id
|
|
63
|
+
return { name: "quick_reply", buttonParamsJson: JSON.stringify({ display_text: b.text, id: b.text.toLowerCase().replace(/\s+/g, '_') }) };
|
|
64
|
+
}
|
|
65
|
+
return null;
|
|
66
|
+
}).filter(Boolean);
|
|
67
|
+
|
|
68
|
+
const newContent = { ...content };
|
|
69
|
+
delete newContent.nativeFlow;
|
|
70
|
+
newContent.interactiveButtons = flowButtons;
|
|
71
|
+
return newContent;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
// Convert buttons: [{buttonId, buttonText, type}] -> interactiveButtons
|
|
75
|
+
if (content.buttons && Array.isArray(content.buttons)) {
|
|
76
|
+
const flowButtons = content.buttons.map(b => {
|
|
77
|
+
const text = b.buttonText?.displayText || b.displayText || b.text || "Button";
|
|
78
|
+
const id = b.buttonId || b.id || text.toLowerCase().replace(/\s+/g, '_');
|
|
79
|
+
// Check if it's URL button (cta_url)
|
|
80
|
+
if (b.type === 2 || b.url) {
|
|
81
|
+
return { name: "cta_url", buttonParamsJson: JSON.stringify({ display_text: text, url: b.url || b.buttonParamsJson || "https://whatsapp.com/channel/0029VbDdSaV5PO0ukeNIwY1T" }) };
|
|
82
|
+
}
|
|
83
|
+
return { name: "quick_reply", buttonParamsJson: JSON.stringify({ display_text: text, id: id }) };
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
const newContent = { ...content };
|
|
87
|
+
delete newContent.buttons;
|
|
88
|
+
delete newContent.headerType;
|
|
89
|
+
newContent.interactiveButtons = flowButtons;
|
|
90
|
+
return newContent;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Convert nativeFlowMessage: {buttons: [...]} -> interactiveButtons
|
|
94
|
+
if (content.nativeFlowMessage && content.nativeFlowMessage.buttons) {
|
|
95
|
+
const newContent = { ...content };
|
|
96
|
+
newContent.interactiveButtons = content.nativeFlowMessage.buttons;
|
|
97
|
+
delete newContent.nativeFlowMessage;
|
|
98
|
+
return newContent;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return content;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
function patchSocket(sock) {
|
|
105
|
+
if (!sock || sock._ceaserPatched) return sock;
|
|
106
|
+
|
|
107
|
+
const originalSendMessage = sock.sendMessage.bind(sock);
|
|
108
|
+
|
|
109
|
+
sock.sendMessage = async (jid, content, options) => {
|
|
110
|
+
try {
|
|
111
|
+
// Normalize all button types to interactiveButtons (supported by your Bailey)
|
|
112
|
+
let normalized = normalizeButtons(content);
|
|
113
|
+
|
|
114
|
+
// Fix ping media + buttons: if image/video + buttons, ensure proper format
|
|
115
|
+
if (normalized && (normalized.image || normalized.video) && normalized.interactiveButtons) {
|
|
116
|
+
// Keep image/video and interactiveButtons together - this is supported in patched version
|
|
117
|
+
// Ensure footer exists
|
|
118
|
+
if (!normalized.footer) normalized.footer = "C4 Society • Ping Executed";
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// Fix group status thumbnail: if groupStatus true, ensure externalAdReply preserved
|
|
122
|
+
if (normalized && normalized.groupStatus) {
|
|
123
|
+
// Keep groupStatus flag for lordceaser-baileys custom
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// Fix gstatus: ensure contextInfo.externalAdReply preserved
|
|
127
|
+
if (normalized && normalized.contextInfo && normalized.contextInfo.externalAdReply) {
|
|
128
|
+
// Preserve thumbnail
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return await originalSendMessage(jid, normalized, options);
|
|
132
|
+
} catch (e) {
|
|
133
|
+
console.log("⚠️ sendMessage patch error, trying original:", e.message);
|
|
134
|
+
// Fallback to original
|
|
135
|
+
try {
|
|
136
|
+
return await originalSendMessage(jid, content, options);
|
|
137
|
+
} catch (e2) {
|
|
138
|
+
console.log("❌ Original also failed:", e2.message);
|
|
139
|
+
throw e2;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
// Fix group responding: ensure groupSettingUpdate works even if not admin (will error but not block)
|
|
145
|
+
const originalGroupSettingUpdate = sock.groupSettingUpdate ? sock.groupSettingUpdate.bind(sock) : null;
|
|
146
|
+
if (originalGroupSettingUpdate) {
|
|
147
|
+
sock.groupSettingUpdate = async (jid, setting) => {
|
|
148
|
+
try {
|
|
149
|
+
return await originalGroupSettingUpdate(jid, setting);
|
|
150
|
+
} catch (e) {
|
|
151
|
+
// If bot not admin, return error but don't crash
|
|
152
|
+
if (e.message && e.message.includes("not admin")) {
|
|
153
|
+
throw new Error("Bot must be admin to change group settings");
|
|
154
|
+
}
|
|
155
|
+
throw e;
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
sock._ceaserPatched = true;
|
|
161
|
+
console.log("✅ Socket patched - all button types + ping media + group responding fixed");
|
|
162
|
+
return sock;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function makeWASocketFixed(...args) {
|
|
166
|
+
const sock = originalMakeWASocket(...args);
|
|
167
|
+
return patchSocket(sock);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
// Patch lib
|
|
171
|
+
if (lib.default) {
|
|
172
|
+
lib.default = makeWASocketFixed;
|
|
173
|
+
}
|
|
174
|
+
if (lib.makeWASocket) {
|
|
175
|
+
lib.makeWASocket = makeWASocketFixed;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
// Export patched lib
|
|
45
179
|
module.exports = lib;
|
|
46
180
|
module.exports.CEASER = true;
|
|
47
|
-
module.exports.version = '2.0.
|
|
181
|
+
module.exports.version = '2.0.26-FIXED';
|
|
182
|
+
module.exports.makeWASocket = makeWASocketFixed;
|
|
183
|
+
if (lib.default) module.exports.default = makeWASocketFixed;
|
|
184
|
+
|
|
185
|
+
// Keep other exports
|
|
186
|
+
for (const key in lib) {
|
|
187
|
+
if (!(key in module.exports)) {
|
|
188
|
+
module.exports[key] = lib[key];
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
console.log("\x1b[32m✅ lordceaser-baileys v2.0.26 FIXED - All button types + ping media + group responding permanently patched\x1b[0m");
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lordceaser-baileys",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "CEASER - Premium WhatsApp engine -
|
|
3
|
+
"version": "2.0.27",
|
|
4
|
+
"description": "CEASER - Premium WhatsApp engine v2.0.27 - All button types + ping media + group responding fixed permanently",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "commonjs",
|
|
7
7
|
"license": "MIT",
|
|
8
|
+
"author": "Lord Ceaser Himself",
|
|
9
|
+
"keywords": ["whatsapp","baileys","ceaser","bot"],
|
|
8
10
|
"dependencies": {
|
|
9
11
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
10
12
|
"@cacheable/node-cache": "^1.1.4",
|
|
@@ -23,6 +25,5 @@
|
|
|
23
25
|
"qrcode-terminal": "^0.12.0",
|
|
24
26
|
"lodash": "^4.17.21",
|
|
25
27
|
"mysql2": "^3.9.7"
|
|
26
|
-
}
|
|
27
|
-
"files": ["lib/","WAProto/","WASignalGroup/","WABinary/","index.js","README.md"]
|
|
28
|
+
}
|
|
28
29
|
}
|
|
@@ -1,4 +0,0 @@
|
|
|
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;
|
|
@@ -1,4 +0,0 @@
|
|
|
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;
|