@live-change/dao-sockjs 0.5.22 → 0.6.0
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/index.js +6 -7
- package/package.json +5 -4
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const debug =
|
|
1
|
+
import SockJS from "sockjs-client"
|
|
2
|
+
import { ReactiveConnection } from "@live-change/dao"
|
|
3
|
+
import Debug from "debug"
|
|
4
|
+
const debug = Debug('dao:sockjs')
|
|
5
5
|
|
|
6
|
-
class SockJsConnection extends
|
|
6
|
+
class SockJsConnection extends ReactiveConnection {
|
|
7
7
|
constructor(credentials, url, settings) {
|
|
8
8
|
super(credentials, settings)
|
|
9
9
|
this.url = url
|
|
@@ -61,5 +61,4 @@ class SockJsConnection extends Connection {
|
|
|
61
61
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
|
|
65
|
-
module.exports.SockJsConnection = SockJsConnection
|
|
64
|
+
export default SockJsConnection
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/dao-sockjs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"author": {
|
|
5
5
|
"email": "m8@em8.pl",
|
|
6
6
|
"name": "Michał Łaszczewski",
|
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
"url": "https://github.com/live-change/live-change-dao/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@live-change/dao": "^0.
|
|
13
|
+
"@live-change/dao": "^0.6.0",
|
|
14
14
|
"debug": "^4.3.4",
|
|
15
15
|
"sockjs-client": "git+https://github.com/sockjs/sockjs-client.git",
|
|
16
|
-
"supports-color": "^
|
|
16
|
+
"supports-color": "^9.4.0"
|
|
17
17
|
},
|
|
18
|
+
"type": "module",
|
|
18
19
|
"devDependencies": {
|
|
19
20
|
"babel-loader": "^6.2.5",
|
|
20
21
|
"babel-plugin-transform-react-jsx": "*",
|
|
@@ -42,5 +43,5 @@
|
|
|
42
43
|
"scripts": {
|
|
43
44
|
"compileTests": "webpack test/*.js tests-bundle.js"
|
|
44
45
|
},
|
|
45
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "a74891e96d33fc1f70f49423f3e560517890f067"
|
|
46
47
|
}
|