rixleys 1.0.0 → 1.0.1

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/README.MD CHANGED
@@ -138,9 +138,10 @@ await sock.updateGroupSubject(chatId, "Nama Baru");
138
138
  await sock.updateGroupDescription(chatId, "Deskripsi Baru");
139
139
 
140
140
  // Kirim Status / Cerita Grup (SWGC - Group Status V2)
141
+ // (Bisa pakai: sock.sendStatusGc / sock.sendStatusGroup / sock.sendGroupStatus)
141
142
  await sock.sendStatusGc(chatId, { text: "Pengumuman di Status Grup!" });
142
- await sock.sendStatusGc(chatId, { image: imageBuffer, caption: "Foto status grup" });
143
- await sock.sendStatusGc(chatId, { video: videoBuffer, caption: "Video status grup" });
143
+ await sock.sendStatusGroup(chatId, { image: imageBuffer, caption: "Foto status grup" });
144
+ await sock.sendGroupStatus(chatId, { video: videoBuffer, caption: "Video status grup" });
144
145
  await sock.sendStatusGc(chatId, { audio: audioBuffer, ptt: true });
145
146
  ```
146
147
 
@@ -354,6 +354,9 @@ const makeGroupsSocket = (config) => {
354
354
  },
355
355
  sendGroupStatus: async (chatId, content, options = {}) => {
356
356
  return sock.sendStatusGc(chatId, content, options);
357
+ },
358
+ sendStatusGroup: async (chatId, content, options = {}) => {
359
+ return sock.sendStatusGc(chatId, content, options);
357
360
  }
358
361
  };
359
362
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rixleys",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "WhatsApp Web API Library",
5
5
  "keywords": [
6
6
  "rixleys",
@@ -110,4 +110,4 @@
110
110
  "engines": {
111
111
  "node": ">=20.0.0"
112
112
  }
113
- }
113
+ }