homebridge-http-base
Advanced tools
Comparing version 2.1.12 to 2.1.13
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { Service } from "hap-nodejs"; | ||
@@ -3,0 +4,0 @@ import { CloseCallback, MqttClient, QoS, Packet, IConnackPacket, IClientPublishOptions, PacketCallback, IClientOptions } from "mqtt"; |
@@ -51,3 +51,3 @@ "use strict"; | ||
const hapCharacteristic = index_1.utils.getCharacteristic(this.service, characteristicName); | ||
let isBool = hapCharacteristic.props.format === "bool" /* BOOL */; | ||
let isBool = hapCharacteristic.props.format === "bool" /* Formats.BOOL */; | ||
const internalSubscriptionObject = { | ||
@@ -54,0 +54,0 @@ characteristic: characteristicName, |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "homebridge-http-base", | ||
"version": "2.1.12", | ||
"version": "2.1.13", | ||
"description": "Base and utils for homebridge-http devices", | ||
@@ -30,20 +30,20 @@ "license": "ISC", | ||
"request": "^2.88.2", | ||
"async": "^3.2.1", | ||
"mqtt": "^4.2.8" | ||
"async": "^3.2.4", | ||
"mqtt": "^4.3.7" | ||
}, | ||
"devDependencies": { | ||
"@types/async": "^3.2.8", | ||
"@types/jest": "^27.0.2", | ||
"@types/async": "^3.2.15", | ||
"@types/jest": "^27.5.2", | ||
"@types/node": "^10.17.60", | ||
"@types/request": "^2.48.7", | ||
"@types/ws": "^8.2.0", | ||
"@types/request": "^2.48.8", | ||
"@types/ws": "^8.5.3", | ||
"chalk": "^4.1.2", | ||
"hap-nodejs": "^0.9.5", | ||
"jest": "^27.2.4", | ||
"hap-nodejs": "^0.10.4", | ||
"jest": "^27.5.1", | ||
"nyc": "^15.1.0", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^27.0.5", | ||
"ts-node": "^10.2.1", | ||
"typescript": "^4.4.3" | ||
"ts-jest": "^27.1.5", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^4.8.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
150602
2487
Updatedasync@^3.2.4
Updatedmqtt@^4.3.7