@ryuu-reinzz/haruka-lib 3.0.0-beta.1 → 3.0.0

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 (2) hide show
  1. package/main/socket.js +2 -1
  2. package/package.json +1 -1
package/main/socket.js CHANGED
@@ -183,10 +183,11 @@ export default function addProperty(socket, baileys) {
183
183
  location = null,
184
184
  product = null,
185
185
  businessOwnerJid = null,
186
- contextInfo = null,
186
+ contextInfo = {},
187
187
  bottom_sheet = false,
188
188
  bottom_name = ""
189
189
  } = content;
190
+
190
191
 
191
192
  if (!Array.isArray(buttons) || buttons.length === 0) {
192
193
  throw new Error("buttons must be a non-empty array");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ryuu-reinzz/haruka-lib",
3
- "version": "3.0.0-beta.1",
3
+ "version": "3.0.0",
4
4
  "description": "Library extra for bot WhatsApp",
5
5
  "main": "main/index.js",
6
6
  "type": "module",