@live-change/framework 0.9.44 → 0.9.46

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,12 +11,12 @@ class ApiServer {
11
11
 
12
12
  this.reactiveServer = new LcDao.ReactiveServer(
13
13
  (credentials, connection) => {
14
- const ip = getIp(connection)
14
+ const ip = getIp(connection)
15
15
  if(!credentials && this.config.fastAuth) {
16
- if(typeof this.config.fastAuth == 'function') {
16
+ if(typeof this.config.fastAuth == 'function') {
17
17
  credentials = this.config.fastAuth(connection)
18
18
  } else {
19
- const cookies = cookie.parse(connection.headers.cookie || '')
19
+ const cookies = cookie.parse(connection.headers.cookie || '')
20
20
  const sessionKey = cookies.sessionKey
21
21
  if(!sessionKey) return null // noFastAuth
22
22
  credentials = { sessionKey }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.9.44",
3
+ "version": "0.9.46",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,8 +22,8 @@
22
22
  },
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.9.44",
26
- "@live-change/uid": "^0.9.44"
25
+ "@live-change/dao": "^0.9.46",
26
+ "@live-change/uid": "^0.9.46"
27
27
  },
28
- "gitHead": "6e9cf980b2ac6e4e7d78955cbf97ae1c2963bcab"
28
+ "gitHead": "9d2fe9cbfb28f6cd389c8cbc5cf051f583f58e9e"
29
29
  }