@live-change/session-service 0.9.216 → 0.9.220

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/session-service",
3
- "version": "0.9.216",
3
+ "version": "0.9.220",
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.9.216",
26
- "@live-change/relations-plugin": "^0.9.216",
25
+ "@live-change/framework": "^0.9.220",
26
+ "@live-change/relations-plugin": "^0.9.220",
27
27
  "pluralize": "^8.0.0"
28
28
  },
29
- "gitHead": "a4aab0fed8f73ef914870c83477488559b2ec3cd"
29
+ "gitHead": "e56ae1ce4b963f85cb0864ebfcc412b77461e4e9"
30
30
  }
package/sessionItem.js CHANGED
@@ -24,7 +24,7 @@ definition.processor(function(service, app) {
24
24
  }
25
25
 
26
26
  const config = model.sessionItem
27
- const writeableProperties = modelProperties || config.writableProperties
27
+ const writeableProperties = config.writableProperties ?? modelProperties
28
28
  const objectType = service.name + '_' + modelName
29
29
 
30
30
  console.log("SESSION ITEM", model)
@@ -21,7 +21,7 @@ definition.processor(function(service, app) {
21
21
  }
22
22
 
23
23
  const config = model.sessionProperty
24
- const writeableProperties = modelProperties || config.writableProperties
24
+ const writeableProperties = config.writableProperties ?? modelProperties
25
25
  const objectType = service.name + '_' + modelName
26
26
 
27
27
  if(model.propertyOf) throw new Error("model " + modelName + " already have owner")