@ryuu-reinzz/baileys 3.0.0-beta.16 → 3.0.0-beta.18

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.
@@ -1164,7 +1164,7 @@ export const makeMessagesSocket = (config) => {
1164
1164
  },
1165
1165
  sendMessage: async (jid, content, options = {}) => {
1166
1166
  if (Array.isArray(content.buttons)) {
1167
- return await sock.sendButton(jid, content = {}, options = {});
1167
+ return await sock.sendButton(jid, content, options);
1168
1168
  } else {
1169
1169
  const userJid = authState.creds.me.id;
1170
1170
  if (typeof content === 'object' &&
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ryuu-reinzz/baileys",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.16",
4
+ "version": "3.0.0-beta.18",
5
5
  "description": "A WebSockets library for interacting with WhatsApp Web",
6
6
  "keywords": [
7
7
  "whatsapp",