mqtt 5.6.1 → 5.6.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/dist/mqtt.js
CHANGED
|
@@ -12634,7 +12634,7 @@ var mqtt = (() => {
|
|
|
12634
12634
|
// package-json:../../package.json
|
|
12635
12635
|
var require_package = __commonJS({
|
|
12636
12636
|
"package-json:../../package.json"(exports5, module) {
|
|
12637
|
-
module.exports = { version: "5.6.
|
|
12637
|
+
module.exports = { version: "5.6.2" };
|
|
12638
12638
|
}
|
|
12639
12639
|
});
|
|
12640
12640
|
|
|
@@ -21406,7 +21406,13 @@ var mqtt = (() => {
|
|
|
21406
21406
|
if (parsed.port != null) {
|
|
21407
21407
|
parsed.port = Number(parsed.port);
|
|
21408
21408
|
}
|
|
21409
|
-
opts = Object.assign(
|
|
21409
|
+
opts = Object.assign({
|
|
21410
|
+
port: parsed.port,
|
|
21411
|
+
host: parsed.hostname,
|
|
21412
|
+
protocol: parsed.protocol,
|
|
21413
|
+
query: parsed.query,
|
|
21414
|
+
auth: parsed.auth
|
|
21415
|
+
}, opts);
|
|
21410
21416
|
if (opts.protocol === null) {
|
|
21411
21417
|
throw new Error("Missing protocol");
|
|
21412
21418
|
}
|