@live-change/dao-websocket 0.5.19 → 0.5.21
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.
|
@@ -11,11 +11,11 @@ class WebSocketConnection extends Connection {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
initialize() {
|
|
14
|
-
debug("connecting...")
|
|
14
|
+
debug("connecting", this.url, "...")
|
|
15
15
|
this.connection = new WebSocket(this.url, "reactive-observer", this.settings)
|
|
16
16
|
let connection = this.connection
|
|
17
17
|
connection.onopen = (function () {
|
|
18
|
-
debug("connection open")
|
|
18
|
+
debug("connection", this.url, "open")
|
|
19
19
|
if (connection.readyState === WebSocket.CONNECTING) return setTimeout(connection.onopen, 230)
|
|
20
20
|
this.handleConnect()
|
|
21
21
|
}).bind(this)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/dao-websocket",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.21",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "m8@em8.pl",
|
|
6
6
|
"name": "Michał Łaszczewski",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/live-change/live-change-dao/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@live-change/dao": "^0.5.
|
|
13
|
+
"@live-change/dao": "^0.5.21",
|
|
14
14
|
"bufferutil": "^4.0.3",
|
|
15
15
|
"debug": "^4.3.4",
|
|
16
16
|
"supports-color": "^7.2.0",
|
|
@@ -41,5 +41,5 @@
|
|
|
41
41
|
"scripts": {
|
|
42
42
|
"compileTests": "webpack test/*.js tests-bundle.js"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "3f0934fef08dabaf243ba16ac561cfe04ef585a3"
|
|
45
45
|
}
|