Socket
Socket
Sign inDemoInstall

homebridge-syntex-dynamic-platform

Package Overview
Dependencies
Maintainers
1
Versions
345
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-syntex-dynamic-platform - npm Package Compare versions

Comparing version 1.0.1-b1 to 1.0.1-b2

accessories/light.js

7

accessories/base.js

@@ -20,2 +20,9 @@ module.exports = class BaseService

this.options = {};
if(serviceConfig.requests != null)
{
this.options.requests = serviceConfig.requests;
}
var service = homebridgeAccessory.getServiceById(serviceType, serviceConfig.subtype);

@@ -22,0 +29,0 @@

@@ -8,2 +8,3 @@ const AccessoryInformationService = require('./info');

const ContactService = require('./contact');
const LightService = require('./light');

@@ -146,2 +147,6 @@ let PlatformAccessory;

}
else if(type == 'light')
{
service = new LightService(this.homebridgeAccessory, this.deviceConfig, serviceConfig, this.manager);
}

@@ -148,0 +153,0 @@ if(service != null)

3

main.js

@@ -9,2 +9,3 @@ const UniversalAccessory = require('./accessories/universal');

const ContactService = require('./accessories/contact');
const LightService = require('./accessories/light');

@@ -136,2 +137,2 @@ var pluginID = 'homebridge-syntex-dynamic-platform';

module.exports = { DynamicPlatform, UniversalAccessory, AccessoryInformationService, OutletService, SwitchService, LightBulbService, DimmedBulbService, ColoredBulbService, ContactService };
module.exports = { DynamicPlatform, UniversalAccessory, AccessoryInformationService, OutletService, SwitchService, LightBulbService, DimmedBulbService, ColoredBulbService, ContactService, LightService };
{
"name": "homebridge-syntex-dynamic-platform",
"version": "1.0.1-b1",
"version": "1.0.1-b2",
"description": "A Dynamic Platform Accessory",

@@ -5,0 +5,0 @@ "main": "main.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc