6.0.1 (2018-05-06)
- ngx-mqtt@^6.0.0 is compatible to angular@^6.0.0
1.10.0 (2017-05-19)
- Previously, observing and then subscribing to a topic, which causes the actual MQTT subscription, wouldn't throw an error, if the subscription got rejected. Now, an Error will be thrown, which must be caught.
this.mqtt
.observe('forbidden/filter')
.subscribe((msg: MqttMessage) => {
// handle message
}, (e) => {
// error callback
})