mqtt 5.9.1 → 5.10.0
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/build/lib/client.d.ts +8 -5
- package/build/lib/client.js +1 -1
- package/build/lib/client.js.map +1 -1
- package/build/lib/handlers/ack.js +1 -1
- package/build/lib/handlers/ack.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/dist/mqtt.esm.js +3 -3
- package/dist/mqtt.js +3 -3
- package/dist/mqtt.min.js +3 -3
- package/package.json +1 -2
- package/src/lib/client.ts +15 -7
- package/src/lib/handlers/ack.ts +1 -1
package/dist/mqtt.js
CHANGED
|
@@ -12625,7 +12625,7 @@ var mqtt = (() => {
|
|
|
12625
12625
|
// package-json:../../package.json
|
|
12626
12626
|
var require_package = __commonJS({
|
|
12627
12627
|
"package-json:../../package.json"(exports5, module) {
|
|
12628
|
-
module.exports = { version: "5.
|
|
12628
|
+
module.exports = { version: "5.10.0" };
|
|
12629
12629
|
}
|
|
12630
12630
|
});
|
|
12631
12631
|
|
|
@@ -12798,7 +12798,7 @@ var mqtt = (() => {
|
|
|
12798
12798
|
delete client.outgoing[messageId];
|
|
12799
12799
|
client.messageIdProvider.deallocate(messageId);
|
|
12800
12800
|
client["_invokeStoreProcessingQueue"]();
|
|
12801
|
-
cb(null);
|
|
12801
|
+
cb(null, packet);
|
|
12802
12802
|
break;
|
|
12803
12803
|
}
|
|
12804
12804
|
default:
|
|
@@ -18194,7 +18194,7 @@ var mqtt = (() => {
|
|
|
18194
18194
|
subs[i6].qos = granted[i6];
|
|
18195
18195
|
}
|
|
18196
18196
|
}
|
|
18197
|
-
callback(err, subs);
|
|
18197
|
+
callback(err, subs, packet2);
|
|
18198
18198
|
}
|
|
18199
18199
|
};
|
|
18200
18200
|
this.log("subscribe :: call _sendPacket");
|