mqtt 4.2.2 → 4.2.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/dist/mqtt.js +7383 -6369
- package/dist/mqtt.min.js +1 -1
- package/lib/connect/index.js +10 -16
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -102,12 +102,12 @@ Hello mqtt
|
|
|
102
102
|
|
|
103
103
|
If you want to run your own MQTT broker, you can use
|
|
104
104
|
[Mosquitto](http://mosquitto.org) or
|
|
105
|
-
[
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
[Aedes-cli](https://github.com/moscajs/aedes-cli), and launch it.
|
|
106
|
+
|
|
107
|
+
You can also use a test instance: test.mosquitto.org.
|
|
108
108
|
|
|
109
109
|
If you do not want to install a separate broker, you can try using the
|
|
110
|
-
[
|
|
110
|
+
[Aedes](https://github.com/moscajs/aedes).
|
|
111
111
|
|
|
112
112
|
to use MQTT.js in the browser see the [browserify](#browserify) section
|
|
113
113
|
|
|
@@ -734,7 +734,7 @@ export default () => {
|
|
|
734
734
|
}
|
|
735
735
|
```
|
|
736
736
|
|
|
737
|
-
Your broker should accept websocket connection (see [MQTT over Websockets](https://github.com/
|
|
737
|
+
Your broker should accept websocket connection (see [MQTT over Websockets](https://github.com/moscajs/aedes/blob/master/docs/Examples.md#mqtt-server-over-websocket-using-server-factory) to setup [Aedes](https://github.com/moscajs/aedes)).
|
|
738
738
|
|
|
739
739
|
<a name="qos"></a>
|
|
740
740
|
## About QoS
|