@theokit/gateway-whatsapp 0.6.0 → 0.7.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/CHANGELOG.md +6 -0
- package/README.md +4 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -13
- package/dist/index.d.ts +3 -13
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -207,3 +207,7 @@ PUPPETEER_EXECUTABLE_PATH=/usr/bin/google-chrome node your-app.js
|
|
|
207
207
|
The bridge spawns without an explicit `env`, so it inherits yours and the variable
|
|
208
208
|
reaches Puppeteer. `WhatsAppBaileysBackend` needs no browser at all, which is the reason
|
|
209
209
|
it exists (B-001).
|
|
210
|
+
|
|
211
|
+
## Capabilities
|
|
212
|
+
|
|
213
|
+
`adapter.capabilities.maxMessageChars` is `4096` (the splitter limit) and `threads` is `false`. See `@theokit/gateway` for the field meanings.
|
package/dist/index.cjs
CHANGED
|
@@ -1868,6 +1868,9 @@ function requireNonEmpty(entries) {
|
|
|
1868
1868
|
}
|
|
1869
1869
|
}
|
|
1870
1870
|
var WhatsAppAdapter = class _WhatsAppAdapter extends gateway.BasePlatformAdapter {
|
|
1871
|
+
get capabilities() {
|
|
1872
|
+
return { ...super.capabilities, maxMessageChars: WHATSAPP_MAX_TEXT, threads: false };
|
|
1873
|
+
}
|
|
1871
1874
|
platform = "whatsapp";
|
|
1872
1875
|
backendImpl;
|
|
1873
1876
|
/**
|