@queenanya/baileys 7.4.3 → 7.4.5

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/README.md +2 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -320,7 +320,7 @@ const sock = makeWASocket({ })
320
320
  // the store can listen from a new socket once the current socket outlives its lifetime
321
321
  store.bind(sock.ev)
322
322
 
323
- sock.ev.on('chats.set', () => {
323
+ sock.ev.on('chats.upsert', () => {
324
324
  // can use "store.chats" however you want, even after the socket dies out
325
325
  // "chats" => a KeyedDB instance
326
326
  console.log('got chats', store.chats.all())
@@ -867,7 +867,7 @@ const result = await sock.getSubscribedNewsletters()
867
867
  ```
868
868
  - To update the Groups Add privacy
869
869
  ``` ts
870
- const value = 'all' // 'contacts' | 'contact_blacklist' | 'none'
870
+ const value = 'all' // 'contacts' | 'contact_blacklist'
871
871
  await sock.updateGroupsAddPrivacy(value)
872
872
  ```
873
873
  - To update the Default Disappearing Mode
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@queenanya/baileys",
3
- "version": "7.4.3",
3
+ "version": "7.4.5",
4
4
  "description": "WhatsApp API",
5
5
  "keywords": [
6
6
  "whatsapp",
@@ -12,9 +12,9 @@
12
12
  "automation",
13
13
  "multi-device"
14
14
  ],
15
- "homepage": "https://github.com/QueenAnya/Baileys",
15
+ "homepage": "https://github.com/QueenAnya/bail",
16
16
  "repository": {
17
- "url": "git@github.com:QueenAnya/Bail.git"
17
+ "url": "git@github.com:QueenAnya/bail"
18
18
  },
19
19
  "license": "MIT",
20
20
  "author": "Adhiraj Singh",
@@ -28,10 +28,10 @@
28
28
  "dependencies": {
29
29
  "@adiwajshing/keyed-db": "^0.2.4",
30
30
  "@queenanya/eslint-config": "github:whiskeysockets/eslint-config",
31
- "@hapi/boom": "^10.0.1",
31
+ "@hapi/boom": "* || latest",
32
32
  "async-lock": "^1.4.1",
33
33
  "audio-decode": "^2.2.0",
34
- "axios": "^1.7.2",
34
+ "axios": "* || latest || next",
35
35
  "cache-manager": "^5.7.6",
36
36
  "futoin-hkdf": "^1.5.3",
37
37
  "json": "^11.0.0",