devicelink 0.1.1 → 0.1.2
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 +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -50,7 +50,7 @@ const Devicelink = require("devicelink");
|
|
|
50
50
|
const dl = new Devicelink(4000, "Master-Server");
|
|
51
51
|
dl.start();
|
|
52
52
|
|
|
53
|
-
(async () {
|
|
53
|
+
(async function () {
|
|
54
54
|
console.log("Scanning local network...");
|
|
55
55
|
|
|
56
56
|
// Search for devicelink instances running on port 3000
|
|
@@ -73,7 +73,7 @@ dl.start();
|
|
|
73
73
|
|
|
74
74
|
// Send a JSON payload
|
|
75
75
|
await dl.message({ task: "ping", timestamp: Date.now() });
|
|
76
|
-
})()
|
|
76
|
+
})();
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
## API Reference:
|