@live-change/dao-sockjs 0.1.20 → 0.4.1

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +7 -6
package/index.js CHANGED
@@ -4,8 +4,8 @@ const Connection = rd.ReactiveConnection
4
4
  const debug = require('debug')('dao:sockjs')
5
5
 
6
6
  class SockJsConnection extends Connection {
7
- constructor(sessionId, url, settings) {
8
- super(sessionId, settings)
7
+ constructor(credentials, url, settings) {
8
+ super(credentials, settings)
9
9
  this.url = url
10
10
  this.initialize()
11
11
  }
@@ -50,7 +50,7 @@ class SockJsConnection extends Connection {
50
50
  }
51
51
 
52
52
  dispose() {
53
- this.finished = true
53
+ super.dispose()
54
54
  this.connection.close()
55
55
  }
56
56
 
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@live-change/dao-sockjs",
3
- "version": "0.1.20",
3
+ "version": "0.4.1",
4
4
  "author": {
5
5
  "email": "m8@em8.pl",
6
6
  "name": "Michał Łaszczewski",
7
7
  "url": "http://www.viamage.com/"
8
8
  },
9
9
  "bugs": {
10
- "url": "https://github.com/live-change/dao-sockjs/issues"
10
+ "url": "https://github.com/live-change/live-change-dao/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@live-change/dao": "^0.2.45",
13
+ "@live-change/dao": "^0.4.1",
14
14
  "debug": "^4.3.1",
15
15
  "sockjs-client": "git+https://github.com/sockjs/sockjs-client.git",
16
16
  "supports-color": "^7.2.0"
@@ -20,11 +20,11 @@
20
20
  "babel-plugin-transform-react-jsx": "*",
21
21
  "babel-preset-es2015": "*",
22
22
  "better-assert": "github:devinrhode2/better-assert-browser",
23
- "mocha": "^3.1.0"
23
+ "mocha": "^9.0.0"
24
24
  },
25
25
  "description": "live-change dao sockjs transport",
26
26
  "directories": {},
27
- "homepage": "",
27
+ "homepage": "https://github.com/live-change/live-change-dao",
28
28
  "license": "MIT",
29
29
  "main": "index.js",
30
30
  "module": "index.js",
@@ -41,5 +41,6 @@
41
41
  },
42
42
  "scripts": {
43
43
  "compileTests": "webpack test/*.js tests-bundle.js"
44
- }
44
+ },
45
+ "gitHead": "ea2d38a0401c1405bb3ca011a43a50dc7ada6cf6"
45
46
  }