@live-change/session-service 0.8.51 → 0.8.53

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.
@@ -8,8 +8,8 @@ definition.processor(function(service, app) {
8
8
  //console.log("VALIDATE LOCAL ID", value, "=>", decodeUid(value), "BY", context.client)
9
9
  const {date, number, at} = decodeUid(value)
10
10
  if (at.length < 16) return "tooShortSessionFingerprint"
11
- if (context.client.session && at == context.client.session.slice(0, at.length)) return
12
- if (context.client.user && at == context.client.user.slice(0, at.length)) return
11
+ if (context.client.session && at === context.client.session.slice(0, at.length)) return
12
+ if (context.client.user && at === context.client.user.slice(0, at.length)) return
13
13
  return "sessionFingerPrintMismatch"
14
14
  }
15
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/session-service",
3
- "version": "0.8.51",
3
+ "version": "0.8.53",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,9 +22,9 @@
22
22
  },
23
23
  "type": "module",
24
24
  "dependencies": {
25
- "@live-change/framework": "^0.8.51",
26
- "@live-change/relations-plugin": "^0.8.51",
25
+ "@live-change/framework": "^0.8.53",
26
+ "@live-change/relations-plugin": "^0.8.53",
27
27
  "pluralize": "^8.0.0"
28
28
  },
29
- "gitHead": "ba8da813894eeb717223aa8d5e364649e4ac0347"
29
+ "gitHead": "39422adadd1863fa396fc4e875936e09428d6cf1"
30
30
  }