Port the old node-xmpp-client based adapter (xmppjs/hubot-xmpp 0.3.0) to
hubot 14 (ESM) using @xmpp/client 0.14:
- default `{ use }` entrypoint matching hubot 14's adapter loader
- MUC join/leave, groupchat and private chat handling, presence tracking
(enter/leave, role, private JID mapping)
- keepalive pings; reconnection via @xmpp/client's built-in reconnect
- XHTML payload support via the @xmpp/xml parser
- node:test suite (45 tests)
Drops legacy options no longer applicable to @xmpp/client:
HUBOT_XMPP_LEGACYSSL, _PREFERRED_SASL_MECHANISM, _DISALLOW_TLS,
_RECONNECT_TRY, _RECONNECT_WAIT and HUBOT_XMPP_UUID_ON_JOIN.
39 lines
768 B
JSON
39 lines
768 B
JSON
{
|
|
"name": "hubot-xmpp",
|
|
"version": "1.0.0",
|
|
"description": "XMPP adapter for Hubot, built on @xmpp/client",
|
|
"main": "index.mjs",
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "node --test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://gitea.kosmos.org/kosmos/hubot-xmpp.git"
|
|
},
|
|
"keywords": [
|
|
"hubot",
|
|
"xmpp",
|
|
"adapter",
|
|
"muc"
|
|
],
|
|
"author": "Kosmos",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://gitea.kosmos.org/kosmos/hubot-xmpp/issues"
|
|
},
|
|
"homepage": "https://gitea.kosmos.org/kosmos/hubot-xmpp#readme",
|
|
"engines": {
|
|
"node": ">= 22.11"
|
|
},
|
|
"dependencies": {
|
|
"@xmpp/client": "^0.14.0"
|
|
},
|
|
"peerDependencies": {
|
|
"hubot": ">= 14"
|
|
},
|
|
"devDependencies": {
|
|
"hubot": "14.1.0"
|
|
}
|
|
}
|