@live-change/session-service 0.8.23 → 0.8.25

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.8.23",
3
+ "version": "0.8.25",
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.23",
26
- "@live-change/relations-plugin": "^0.8.23",
25
+ "@live-change/framework": "^0.8.25",
26
+ "@live-change/relations-plugin": "^0.8.25",
27
27
  "pluralize": "^8.0.0"
28
28
  },
29
- "gitHead": "581260523149a1e596f08e878b5f4fabeaba26ea"
29
+ "gitHead": "1aa24b8ec3bfaa3576b72b514b2a97b061cb57fc"
30
30
  }
package/sessionItem.js CHANGED
@@ -115,7 +115,7 @@ definition.processor(function(service, app) {
115
115
  }
116
116
  }
117
117
  const merged = App.utils.mergeDeep({}, entity, updateObject)
118
- await App.validation.validate(merged, validators, { source: action, action, service, app, client })
118
+ await App.validation.validate(merged, validators, validationContext)
119
119
  emit({
120
120
  type: eventName,
121
121
  [modelPropertyName]: entity.id,
@@ -75,7 +75,7 @@ definition.processor(function(service, app) {
75
75
  }
76
76
  const data = App.utils.mergeDeep({},
77
77
  App.computeDefaults(model, properties, { client, service } ), newObject)
78
- await App.validation.validate(data, validators, { source: action, action, service, app, client })
78
+ await App.validation.validate(data, validators, validationContext)
79
79
  emit({
80
80
  type: eventName,
81
81
  identifiers: {
@@ -111,7 +111,7 @@ definition.processor(function(service, app) {
111
111
  }
112
112
  }
113
113
  const merged = App.utils.mergeDeep({}, entity, updateObject)
114
- await App.validation.validate(merged, validators, { source: action, action, service, app, client })
114
+ await App.validation.validate(merged, validators, validationContext)
115
115
  emit({
116
116
  type: eventName,
117
117
  identifiers: {