Socket
Socket
Sign inDemoInstall

hap-nodejs

Package Overview
Dependencies
88
Maintainers
10
Versions
444
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.3-alpha.0 to 0.11.3-alpha.1

27

dist/lib/Accessory.d.ts

@@ -499,14 +499,17 @@ /// <reference types="node" />

/**
* Publishes this Accessory on the local network for iOS clients to communicate with.
*
* @param {Object} info - Required info for publishing.
* @param allowInsecureRequest - Will allow unencrypted and unauthenticated access to the http server
* @param {string} info.username - The "username" (formatted as a MAC address - like "CC:22:3D:E3:CE:F6") of
* this Accessory. Must be globally unique from all Accessories on your local network.
* @param {string} info.pincode - The 8-digit pincode for clients to use when pairing this Accessory. Must be formatted
* as a string like "031-45-154".
* @param {string} info.category - One of the values of the Accessory.Category enum, like Accessory.Category.SWITCH.
* This is a hint to iOS clients about what "type" of Accessory this represents, so
* that for instance an appropriate icon can be drawn for the user while adding a
* new Accessory.
* Publishes this accessory on the local network for iOS clients to communicate with.
* - `info.username` - formatted as a MAC address, like `CC:22:3D:E3:CE:F6`, of this accessory.
* Must be globally unique from all Accessories on your local network.
* - `info.pincode` - the 8-digit pin code for clients to use when pairing this Accessory.
* Must be formatted as a string like `031-45-154`.
* - `info.category` - one of the values of the `Accessory.Category` enum, like `Accessory.Category.SWITCH`.
* This is a hint to iOS clients about what "type" of Accessory this represents, so
* that for instance an appropriate icon can be drawn for the user while adding a
* new Accessory.
* @param {{
* username: string;
* pincode: string;
* category: Accessory.Categories;
* }} info - Required info for publishing.
* @param {boolean} allowInsecureRequest - Will allow unencrypted and unauthenticated access to the http server
*/

@@ -513,0 +516,0 @@ publish(info: PublishInfo, allowInsecureRequest?: boolean): Promise<void>;

{
"name": "hap-nodejs",
"version": "0.11.3-alpha.0",
"version": "0.11.3-alpha.1",
"description": "HAP-NodeJS is a Node.js implementation of HomeKit Accessory Server.",

@@ -55,3 +55,3 @@ "main": "dist/index.js",

"dependencies": {
"@homebridge/ciao": "^1.1.9-alpha.0",
"@homebridge/ciao": "^1.1.9-alpha.2",
"@homebridge/dbus-native": "^0.5.1",

@@ -58,0 +58,0 @@ "bonjour-hap": "^3.7.2",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc