diff --git a/CHANGELOG.md b/CHANGELOG.md index 3039507..517191b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ -## [6.0.0] +## [6.1.0] -fix: `onAdjustVolume` now receives the relative delta from the request's `volume` field instead of the nonexistent `volumeDelta` field. Its optional third argument exposes `volumeDefault` when supplied. Absolute `setVolume` requests continue to use `onVolume(deviceId, volume)`. `onAdjustVolume` can now return `{ success, volume }` to report the volume after the adjustment, which SinricPro stores as the device's absolute level; returning a plain boolean still echoes the delta. +fix: `onAdjustVolume` now receives the relative delta from the request's `volume` field instead of the nonexistent `volumeDelta` field, and its optional third argument exposes `volumeDefault` when supplied. It can also return `{ success, volume }` to report the volume after the adjustment, which SinricPro stores as the device's absolute level; returning a plain boolean still echoes the delta. Absolute `setVolume` requests continue to use `onVolume(deviceId, volume)`. +## [6.0.0] + feat: Local control - devices answer signed commands over the LAN, so they keep working while SinricPro is unreachable. * UDP listener on port 3333, joined to multicast group `224.9.9.9` and answering unicast on the same port. Replies go back to the peer that sent the request, never to the cloud websocket. diff --git a/package-lock.json b/package-lock.json index 7392eff..28ce748 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sinricpro", - "version": "6.0.0", + "version": "6.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "sinricpro", - "version": "6.0.0", + "version": "6.1.0", "license": "CC-BY-SA-4.0", "dependencies": { "bonjour-service": "^1.2.1", diff --git a/package.json b/package.json index a142760..c44597b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sinricpro", - "version": "6.0.0", + "version": "6.1.0", "description": "Official SinricPro SDK for Node.js and TypeScript - Control IoT devices with Alexa and Google Home", "main": "dist/index.js", "exports": {