mqtt 5.3.5 → 5.3.6
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/README.md +5 -5
- package/build/lib/client.js +1 -0
- package/build/lib/client.js.map +1 -1
- package/build/tsconfig.build.tsbuildinfo +1 -1
- package/dist/mqtt.esm.js +4 -4
- package/dist/mqtt.js +122 -112
- package/dist/mqtt.min.js +4 -4
- package/package.json +1 -1
- package/src/lib/client.ts +1 -0
package/package.json
CHANGED
package/src/lib/client.ts
CHANGED
|
@@ -850,6 +850,7 @@ export default class MqttClient extends TypedEventEmitter<MqttClientEventCallbac
|
|
|
850
850
|
this.log(
|
|
851
851
|
'!!connectTimeout hit!! Calling _cleanUp with force `true`',
|
|
852
852
|
)
|
|
853
|
+
this.emit('error', new Error('connack timeout'))
|
|
853
854
|
this._cleanUp(true)
|
|
854
855
|
}, this.options.connectTimeout)
|
|
855
856
|
|