Skip to content

Commit f495efa

Browse files
committed
locate example before notes
1 parent 6a3b4e8 commit f495efa

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@
88
mqtt.js is a library for the [MQTT](http://mqtt.org/) protocol, written
99
in JavaScript to be used in node.js.
1010

11-
## Important notes for existing users
12-
13-
* v0.3.0 improves connection stability, performance, the reconnection
14-
logic and SSL support. See [#118](https://github.com/adamvr/MQTT.js/pull/118) for
15-
details. A Connection is a Writable stream, so you can run
16-
MQTT.js over any kind of Stream (doc needed). Both the constructors of
17-
MqttClient and MqttConnection changed, but not the factory method
18-
`mqtt.createClient` and `mqtt.createConnection`.
19-
20-
* v0.2.0 has brough some API breaking changes to mqtt.js.
21-
Please consult the [migration guide](http://github.com/adamvr/MQTT.js/wiki/migration) for information
22-
or open an issue if you need any help.
23-
2411
## Example
2512

2613
```
@@ -51,6 +38,19 @@ node index.js
5138
// => Hello mqtt
5239
```
5340

41+
## Important notes for existing users
42+
43+
* v0.3.0 improves connection stability, performance, the reconnection
44+
logic and SSL support. See [#118](https://github.com/adamvr/MQTT.js/pull/118) for
45+
details. A Connection is a Writable stream, so you can run
46+
MQTT.js over any kind of Stream (doc needed). Both the constructors of
47+
MqttClient and MqttConnection changed, but not the factory method
48+
`mqtt.createClient` and `mqtt.createConnection`.
49+
50+
* v0.2.0 has brough some API breaking changes to mqtt.js.
51+
Please consult the [migration guide](http://github.com/adamvr/MQTT.js/wiki/migration) for information
52+
or open an issue if you need any help.
53+
5454
## Installation
5555

5656
npm install mqtt

0 commit comments

Comments
 (0)