1.5.1: broker errors as events that never crash the host (error only when listened to; connect/offline/reconnect/close; connected flag), configurable broker host + mqtt options + log hook, Alexa.ChangeReport via Device.getChangeReport (<root>/changeReport), SceneController discovery + sendSceneResponse, addCapability options (proactivelyReported), unregisterDevice/clearDevices/getDevices/disconnect, discover/directive events, promise-returning quiet send(); tests on an in-process broker (aedes); readme

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
David 2026-09-22 19:29:38 +00:00
parent e96850bdd6
commit 717af632de
16 changed files with 2080 additions and 225 deletions

View file

@ -1,6 +1,6 @@
{
"name": "alex2node",
"version": "1.5.0",
"version": "1.5.1",
"description": "A Node.js library for creating Alexa-compatible devices using MQTT, based on Alex2MQTT.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
@ -12,7 +12,8 @@
"type": "commonjs",
"scripts": {
"build": "tsc",
"prepare": "npm run build"
"prepare": "npm run build",
"test": "node --test test/*.test.js"
},
"keywords": [
"alexa",
@ -34,11 +35,16 @@
},
"homepage": "https://git.stormysdream.club/apps/Alex2Node#readme",
"devDependencies": {
"typescript": "^5.8.3",
"dotenv": "^16.5.0"
"aedes": "^0.51.3",
"dotenv": "^16.5.0",
"typescript": "^5.8.3"
},
"dependencies": {
"mqtt": "^5.10.3",
"uuid": "^11.0.3"
}
},
"files": [
"dist",
"readme.md"
]
}