@pryv/socket.io 2.3.7 → 2.3.8
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
|
@@ -55,7 +55,7 @@ Once the add-on is loaded, `pryv.Connection` instances expose the `socket` prope
|
|
|
55
55
|
const pryv = require('pryv');
|
|
56
56
|
require('@pryv/socket.io')(pryv);
|
|
57
57
|
|
|
58
|
-
const apiEndpoint = 'https://{token}@my-computer.
|
|
58
|
+
const apiEndpoint = 'https://{token}@my-computer.backloop.dev:4443/{username}/';
|
|
59
59
|
(async () => {
|
|
60
60
|
const conn = new pryv.Connection(apiEndpoint);
|
|
61
61
|
try {
|
|
@@ -77,7 +77,7 @@ const apiEndpoint = 'https://{token}@my-computer.rec.la:4443/{username}/';
|
|
|
77
77
|
<script src="https://api.pryv.com/lib-js-socket.io/pryv-socket.io.js"></script>
|
|
78
78
|
|
|
79
79
|
<script>
|
|
80
|
-
const apiEndpoint = 'https://{token}@my-computer.
|
|
80
|
+
const apiEndpoint = 'https://{token}@my-computer.backloop.dev:4443/{username}/';
|
|
81
81
|
(async function () {
|
|
82
82
|
try {
|
|
83
83
|
await conn.socket.open();
|