mqtt 5.3.3 → 5.3.4
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.js +1 -1
- package/build/lib/client.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/dist/mqtt.esm.js +1 -1
- package/dist/mqtt.js +1 -1
- package/dist/mqtt.min.js +1 -1
- package/package.json +1 -1
- package/src/lib/client.ts +2 -2
package/package.json
CHANGED
package/src/lib/client.ts
CHANGED
|
@@ -248,7 +248,7 @@ export interface IClientOptions extends ISecureClientOptions {
|
|
|
248
248
|
*/
|
|
249
249
|
clean?: boolean
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* 60 seconds, set to 0 to disable
|
|
252
252
|
*/
|
|
253
253
|
keepalive?: number
|
|
254
254
|
/**
|
|
@@ -2260,9 +2260,9 @@ export default class MqttClient extends TypedEventEmitter<MqttClientEventCallbac
|
|
|
2260
2260
|
break
|
|
2261
2261
|
}
|
|
2262
2262
|
}
|
|
2263
|
+
this.removeListener('close', remove)
|
|
2263
2264
|
if (allProcessed) {
|
|
2264
2265
|
clearStoreProcessing()
|
|
2265
|
-
this.removeListener('close', remove)
|
|
2266
2266
|
this._invokeAllStoreProcessingQueue()
|
|
2267
2267
|
this.emit('connect', packet)
|
|
2268
2268
|
} else {
|