zaileys 4.0.4 → 4.1.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.
package/README.md CHANGED
@@ -113,6 +113,8 @@ npm i zaileys # or: pnpm add zaileys • yarn add zaileys • bun add z
113
113
 
114
114
  Requires **Node.js v20+**. The `file` auth store is the zero-config default and needs nothing else.
115
115
 
116
+ > **Termux / Android:** install with `npm install zaileys --legacy-peer-deps`. A plain `npm install` tries to compile `sharp` (a peer dependency of Baileys, no prebuilt ARM binary) and fails; the flag skips it and Zaileys falls back to the bundled `jimp` path. `pnpm`/`yarn` are unaffected.
117
+
116
118
  Other storage backends are **optional peer dependencies** — install only the one you use:
117
119
 
118
120
  ```bash
@@ -122,7 +124,7 @@ npm i pg # postgres adapters
122
124
  npm i convex # convex adapters
123
125
  ```
124
126
 
125
- `sharp` is an optional accelerator for media/sticker processing; without it Zaileys falls back to a pure-JS path automatically.
127
+ `sharp` is an optional accelerator for media/sticker processing; without it Zaileys falls back to a pure-JS path automatically. It is **not** a Zaileys dependency, but Baileys pulls it in as a peer — on platforms with no prebuilt binary (Termux/Android, some Alpine) install with `--legacy-peer-deps` to skip it.
126
128
 
127
129
  ## What you can build
128
130