mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
WhatsApp changed their server protocol for property queries, causing 400 bad-request errors in fetchProps/executeInitQueries on every reconnect (Baileys issue #2477). The fix in PR #2473 changes the IQ namespace from 'w' to 'abt' and protocol from '2' to '1'. Pin to the fix branch until the next Baileys release includes it.
16 lines
402 B
JSON
16 lines
402 B
JSON
{
|
|
"name": "hermes-whatsapp-bridge",
|
|
"version": "1.0.0",
|
|
"description": "WhatsApp bridge for Hermes Agent using Baileys",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"start": "node bridge.js"
|
|
},
|
|
"dependencies": {
|
|
"@whiskeysockets/baileys": "WhiskeySockets/Baileys#fix/abprops-abt-fetch",
|
|
"express": "^4.21.0",
|
|
"qrcode-terminal": "^0.12.0",
|
|
"pino": "^9.0.0"
|
|
}
|
|
}
|