sinricpro 2.11.1 → 2.11.2
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 -1
- package/lib/cbhandler.js +1 -1
- package/lib/sinrcpro.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/cbhandler.js
CHANGED
|
@@ -170,7 +170,7 @@ const handlePayload = (client, payload, signature, callbacks) => verifySignature
|
|
|
170
170
|
return AdjustTargetTemperature(payload, callbacks)
|
|
171
171
|
.then((resp) => {
|
|
172
172
|
const { temperature } = resp;
|
|
173
|
-
return jsonResponse(client, payload, temperature);
|
|
173
|
+
return jsonResponse(client, payload, { temperature });
|
|
174
174
|
})
|
|
175
175
|
.catch(handleError);
|
|
176
176
|
}
|
package/lib/sinrcpro.js
CHANGED
|
@@ -15,7 +15,7 @@ const sdkVersion = require('./../package.json').version;
|
|
|
15
15
|
|
|
16
16
|
class SinricPro extends Websocket {
|
|
17
17
|
constructor(appkey, deviceids, secretKey, restoreStates) {
|
|
18
|
-
super("wss://
|
|
18
|
+
super("wss://testws.sinric.pro", {
|
|
19
19
|
headers: {
|
|
20
20
|
appkey,
|
|
21
21
|
deviceids: deviceids.join(';'),
|