@qadeer-xtech/stablebail 1.0.5 → 1.0.6

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 (3) hide show
  1. package/LICENSE +47 -0
  2. package/README.md +20 -0
  3. package/package.json +15 -12
package/LICENSE CHANGED
@@ -1,3 +1,19 @@
1
+ ================================================================================
2
+ @qadeer-xtech/stablebail — LICENCE
3
+ ================================================================================
4
+
5
+ This package contains two parts under two licences:
6
+
7
+ PART 1 — the upstream Baileys code, under the MIT License (below).
8
+ PART 2 — the additions and modifications made by Team Qadeer,
9
+ under the Team Qadeer terms (after Part 1).
10
+
11
+ Using this package means accepting both parts for their respective code.
12
+
13
+ ================================================================================
14
+ PART 1 — UPSTREAM BAILEYS CODE — MIT LICENSE
15
+ ================================================================================
16
+
1
17
  MIT License
2
18
 
3
19
  Copyright (c) 2025 Rajeh Taher/WhiskeySockets
@@ -19,3 +35,34 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
35
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
36
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
37
  SOFTWARE.
38
+
39
+ ================================================================================
40
+ PART 2 — TEAM QADEER ADDITIONS — © TEAM QADEER, ALL RIGHTS RESERVED
41
+ ================================================================================
42
+
43
+ Copyright (c) 2026 Team Qadeer (Qadeer-Xtech). All rights reserved.
44
+
45
+ This part covers everything in this package that was written or changed by
46
+ Team Qadeer — including the bug fixes not yet released upstream, the extended
47
+ newsletter/channel method set, sendStatusMention, the cstoken/timelock
48
+ completion, and the QADEER banner.
49
+
50
+ Terms:
51
+
52
+ 1. You MAY install and use this package, as published by Team Qadeer, in
53
+ your own projects (including bots that you run for yourself or others).
54
+
55
+ 2. You may NOT republish this package — or the Team Qadeer portions of it —
56
+ under a different package name, your own name, or with the Team Qadeer
57
+ attribution, banner, LICENSE or NOTICE removed or altered, unless you
58
+ have prior written permission from Team Qadeer.
59
+
60
+ 3. Any copy or redistribution that is permitted must keep this LICENSE file
61
+ and the NOTICE file intact and unchanged.
62
+
63
+ 4. The Team Qadeer portions are provided "AS IS", without warranty of any
64
+ kind. Team Qadeer is not liable for any claim or damages arising from
65
+ their use.
66
+
67
+ If you want to redistribute or rebrand, ask first — permission is the whole
68
+ point of this licence.
package/README.md CHANGED
@@ -28,6 +28,26 @@ To use StableBail without changing your existing import paths, add this alias to
28
28
 
29
29
  This allows existing Baileys-based projects to use StableBail while keeping their original package imports.
30
30
 
31
+ ## ✅ Recommended Settings for Bot Projects
32
+
33
+ For a smooth, error-free install, use these exact settings in your bot's "package.json":
34
+
35
+ ```json
36
+ {
37
+ "dependencies": {
38
+ "@whiskeysockets/baileys": "npm:@qadeer-xtech/stablebail@1.0.6",
39
+ "sharp": "0.35.5",
40
+ "wa-sticker-formatter": "4.4.4"
41
+ },
42
+ "overrides": {
43
+ "sharp": "$sharp"
44
+ },
45
+ "engines": {
46
+ "node": "20.x"
47
+ }
48
+ }
49
+ ```
50
+
31
51
  ## ✨ Key Features
32
52
 
33
53
  - Baileys-Compatible API — Familiar socket methods and existing Baileys workflow.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@qadeer-xtech/stablebail",
3
3
  "type": "module",
4
- "version": "1.0.5",
4
+ "version": "1.0.6",
5
5
  "description": "A WebSockets library for interacting with WhatsApp Web",
6
6
  "keywords": [
7
7
  "whatsapp",
8
8
  "automation"
9
9
  ],
10
- "license": "MIT",
10
+ "license": "SEE LICENSE IN LICENSE",
11
11
  "author": "Qadeer-Xtech",
12
12
  "main": "lib/index.js",
13
13
  "types": "lib/index.d.ts",
@@ -35,17 +35,17 @@
35
35
  "update:version": "tsx ./scripts/update-version.ts"
36
36
  },
37
37
  "dependencies": {
38
- "@cacheable/node-cache": "^1.4.0",
39
- "@hapi/boom": "^9.1.3",
40
- "async-mutex": "^0.5.0",
38
+ "@cacheable/node-cache": "1.7.6",
39
+ "@hapi/boom": "9.1.4",
40
+ "async-mutex": "0.5.0",
41
41
  "libsignal": "npm:@qadeer-xtech/libsignal@1.0.0",
42
- "lru-cache": "^11.1.0",
43
- "music-metadata": "^11.12.3",
44
- "p-queue": "^9.0.0",
45
- "pino": "^9.6",
46
- "protobufjs": "^7.5.6",
42
+ "lru-cache": "11.5.3",
43
+ "music-metadata": "11.16.1",
44
+ "p-queue": "9.3.5",
45
+ "pino": "9.14.0",
46
+ "protobufjs": "7.6.6",
47
47
  "whatsapp-rust-bridge": "npm:@qadeer-xtech/whatsapp-rust-bridge@1.0.0",
48
- "ws": "^8.13.0"
48
+ "ws": "8.22.2"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@eslint/eslintrc": "^3.3.1",
@@ -84,7 +84,7 @@
84
84
  "audio-decode": "^2.1.3",
85
85
  "jimp": "^1.6.1",
86
86
  "link-preview-js": "^3.0.0",
87
- "sharp": "*"
87
+ "sharp": ">=0.33.0 <1.0.0"
88
88
  },
89
89
  "resolutions": {
90
90
  "ajv@npm:^6.12.4": "^6.14.0",
@@ -124,6 +124,9 @@
124
124
  },
125
125
  "link-preview-js": {
126
126
  "optional": true
127
+ },
128
+ "sharp": {
129
+ "optional": true
127
130
  }
128
131
  },
129
132
  "packageManager": "yarn@4.9.2",