@neelegirly/baileys 2.2.16 โ 2.2.17
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 +49 -42
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,32 +1,51 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# ๐ธ @neelegirly/baileys ๐ธ
|
|
4
|
+
|
|
5
|
+
### *The cutest WhatsApp Web API glow-up for Node.js*
|
|
6
|
+
### *QR Branding ยท LID Support ยท Stable Sessions ยท Update Checks*
|
|
7
|
+
|
|
8
|
+
[](https://www.npmjs.com/package/@neelegirly/baileys)
|
|
9
|
+
[](https://www.npmjs.com/package/@neelegirly/wa-api)
|
|
10
|
+
[](https://www.npmjs.com/package/@neelegirly/libsignal)
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<img src="https://files.catbox.moe/5bqumy.jpeg" width="420" alt="Neelegirly baileys hero" />
|
|
14
|
+
</p>
|
|
15
|
+
|
|
16
|
+
**๐ Release-Stack:** `@neelegirly/baileys 2.2.17` ยท `@neelegirly/libsignal 1.0.28` ยท `@neelegirly/wa-api 1.7.16`
|
|
17
|
+
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
Neelegirly-Variante von Baileys als WhatsApp-Web-Basis fuer Node.js โ gemacht fuer stabile Bots, schoene QR-Flows und einen sauber gepinnten Multi-Session-Stack.
|
|
4
21
|
|
|
5
22
|
> Hinweis: Dieses Projekt ist nicht offiziell mit WhatsApp, Meta oder Baileys-Upstream verbunden.
|
|
6
23
|
|
|
7
|
-
## Highlights
|
|
24
|
+
## โจ Highlights
|
|
8
25
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
26
|
+
| Feature | Beschreibung | Status |
|
|
27
|
+
| --- | --- | --- |
|
|
28
|
+
| ๐ Multi-Device API | WhatsApp Web auf Node.js mit Event-Flow | โ
|
|
|
29
|
+
| ๐ท QR Branding | Header/Footer + Wrapper-/Versionskontext direkt im QR-Flow | โ
|
|
|
30
|
+
| ๐ Update-Checks | npm zuerst, GitHub-Fallback, semver-sicher | โ
|
|
|
31
|
+
| ๐งท LID / Session-Fokus | passend fuer moderne Multi-Device-/Linked-ID-Flows | โ
|
|
|
32
|
+
| ๐ Neelegirly Scope | sauber auf `@neelegirly/*` ausgerichtet | โ
|
|
|
14
33
|
|
|
15
|
-
## Kompatibilitaet
|
|
34
|
+
## ๐ฆ Kompatibilitaet
|
|
16
35
|
|
|
17
36
|
| Paket | Empfohlene Version |
|
|
18
37
|
| --- | --- |
|
|
19
|
-
| `@neelegirly/baileys` | `2.2.
|
|
20
|
-
| `@neelegirly/wa-api` | `1.7.
|
|
21
|
-
| `@neelegirly/libsignal` | `1.0.
|
|
38
|
+
| `@neelegirly/baileys` | `2.2.17` |
|
|
39
|
+
| `@neelegirly/wa-api` | `1.7.16` |
|
|
40
|
+
| `@neelegirly/libsignal` | `1.0.28` |
|
|
22
41
|
|
|
23
|
-
## Installation
|
|
42
|
+
## ๐ Installation
|
|
24
43
|
|
|
25
44
|
```bash
|
|
26
|
-
npm install @neelegirly/baileys @neelegirly/libsignal
|
|
45
|
+
npm install @neelegirly/baileys@2.2.17 @neelegirly/libsignal@1.0.28 --save-exact
|
|
27
46
|
```
|
|
28
47
|
|
|
29
|
-
## Quickstart
|
|
48
|
+
## โก Quickstart
|
|
30
49
|
|
|
31
50
|
```ts
|
|
32
51
|
import makeWASocket, {
|
|
@@ -51,16 +70,14 @@ async function start() {
|
|
|
51
70
|
|
|
52
71
|
sock.ev.on('connection.update', ({ connection, lastDisconnect }) => {
|
|
53
72
|
if (connection === 'open') {
|
|
54
|
-
console.log('Verbunden')
|
|
73
|
+
console.log('Verbunden ๐')
|
|
55
74
|
return
|
|
56
75
|
}
|
|
57
76
|
|
|
58
77
|
if (connection === 'close') {
|
|
59
78
|
const statusCode = lastDisconnect?.error?.output?.statusCode
|
|
60
79
|
const isLoggedOut = statusCode === DisconnectReason.loggedOut
|
|
61
|
-
if (!isLoggedOut)
|
|
62
|
-
start().catch(console.error)
|
|
63
|
-
}
|
|
80
|
+
if (!isLoggedOut) start().catch(console.error)
|
|
64
81
|
}
|
|
65
82
|
})
|
|
66
83
|
}
|
|
@@ -68,7 +85,9 @@ async function start() {
|
|
|
68
85
|
start().catch(console.error)
|
|
69
86
|
```
|
|
70
87
|
|
|
71
|
-
|
|
88
|
+
> Direktes `sock.ev.on('creds.update', saveCreds)` ist fuer kleine Demos okay. In produktiven Multi-Session-Setups sollten Credential-Saves gebuendelt/debounced werden, damit Session-Dateien bei vielen Updates stabil bleiben.
|
|
89
|
+
|
|
90
|
+
## ๐ Namespace-Migration
|
|
72
91
|
|
|
73
92
|
Wenn du vom Upstream kommst, nutze den Import-Scope von Neelegirly:
|
|
74
93
|
|
|
@@ -77,32 +96,20 @@ Wenn du vom Upstream kommst, nutze den Import-Scope von Neelegirly:
|
|
|
77
96
|
+ import makeWASocket from '@neelegirly/baileys'
|
|
78
97
|
```
|
|
79
98
|
|
|
80
|
-
## QR-Branding und Versionsanzeige
|
|
99
|
+
## ๐ฉท QR-Branding und Versionsanzeige
|
|
81
100
|
|
|
82
101
|
Beim QR-Scan werden automatisch Markenzeilen oberhalb und unterhalb des QR-Codes ausgegeben.
|
|
83
|
-
Die Anzeige liest Versionen dynamisch aus `package.json
|
|
102
|
+
Die Anzeige liest Versionen dynamisch aus `package.json`, erkennt Wrapper-Kontexte und zeigt bei Bedarf einen kompakten Update-Hinweis an.
|
|
84
103
|
|
|
85
|
-
## Update-Check
|
|
104
|
+
## ๐ Update-Check
|
|
86
105
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
- Fehler
|
|
106
|
+
- Quelle 1: npm Registry (`registry.npmjs.org`)
|
|
107
|
+
- Quelle 2: GitHub Releases (`neelegirly/baileys`) als Fallback
|
|
108
|
+
- Fehler und Timeouts werden abgefangen, ohne den Prozess zu stoppen
|
|
90
109
|
- Semver-Vergleich wird numerisch ausgewertet
|
|
91
110
|
|
|
92
|
-
##
|
|
93
|
-
|
|
94
|
-
- Veraltete und inkonsistente Texte in der README wurden entfernt.
|
|
95
|
-
- Uneinheitliche Bezeichnungen wurden auf den Scope `@neelegirly/...` korrigiert.
|
|
96
|
-
- Funktionierender WhatsApp-Web-/Begleitgeraet-Stand als Release-Basis uebernommen.
|
|
97
|
-
|
|
98
|
-
## Was veraendert wurde
|
|
99
|
-
|
|
100
|
-
- README auf eine klare, technische Struktur mit Kompatibilitaet, Installation und Quickstart umgestellt.
|
|
101
|
-
- Migration auf den Neelegirly-Namespace explizit dokumentiert.
|
|
102
|
-
- Kompatibilitaetsmatrix auf `2.2.16 / 1.7.15 / 1.0.27` aktualisiert.
|
|
103
|
-
|
|
104
|
-
## Was neu ist
|
|
111
|
+
## ๐ Release-Notizen
|
|
105
112
|
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
113
|
+
- README im Hero-/Glow-up-Stil komplett erneuert
|
|
114
|
+
- Stack auf `2.2.17 / 1.7.16 / 1.0.28` aktualisiert
|
|
115
|
+
- QR-/Versionsbranding bleibt zentral im Package verankert
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neelegirly/baileys",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.17",
|
|
4
4
|
"description": "Neelegirly fork of Baileys: multi-device WhatsApp Web API for Node.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
49
49
|
"@cacheable/node-cache": "^1.5.4",
|
|
50
50
|
"@hapi/boom": "^9.1.3",
|
|
51
|
-
"@neelegirly/libsignal": "1.0.
|
|
51
|
+
"@neelegirly/libsignal": "1.0.28",
|
|
52
52
|
"async-mutex": "^0.5.0",
|
|
53
53
|
"audio-decode": "^2.1.3",
|
|
54
54
|
"axios": "^1.3.3",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"ws": "^8.13.0"
|
|
64
64
|
},
|
|
65
65
|
"overrides": {
|
|
66
|
-
"@neelegirly/libsignal": "1.0.
|
|
66
|
+
"@neelegirly/libsignal": "1.0.28"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
69
|
"@adiwajshing/eslint-config": "github:adiwajshing/eslint-config",
|