bonjour-hap
Advanced tools
Comparing version 3.5.0 to 3.5.1
@@ -51,8 +51,9 @@ 'use strict' | ||
updateTxt: function (txt) { | ||
this._unpublish() | ||
if (this.packet) { this.emit('service-packet-change', this.packet, this.onAnnounceComplete.bind(this)) } | ||
this.packet = null | ||
this.txt = txt | ||
if (!this.published) { return } | ||
this._unpublish() | ||
this.announce() | ||
@@ -59,0 +60,0 @@ }, |
{ | ||
"name": "bonjour-hap", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "A Bonjour/Zeroconf implementation in pure JavaScript (for HAP)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
35176
853