@live-change/framework 0.8.10 → 0.8.12

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.
@@ -162,8 +162,9 @@ class ServiceDefinition {
162
162
  this.endpoints.push(endpoint)
163
163
  }
164
164
 
165
- validator(validator) {
166
- this.validators.push(validator)
165
+ validator(name, validator) {
166
+ this.validators[name] = validator
167
+ console.log("VALIDATOR DEFINED", name, validator)
167
168
  }
168
169
 
169
170
  clientSideFilter(filter) {
@@ -213,7 +214,6 @@ class ServiceDefinition {
213
214
  "Model", "model", { }))
214
215
  return changes
215
216
  }
216
-
217
217
  }
218
218
 
219
219
  export default ServiceDefinition
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.8.10",
3
+ "version": "0.8.12",
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-framework",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.8.10",
26
- "@live-change/uid": "^0.8.10"
25
+ "@live-change/dao": "^0.8.12",
26
+ "@live-change/uid": "^0.8.12"
27
27
  },
28
- "gitHead": "b6d6d60903abd25c8da4a55f653aafafb6cf04f7"
28
+ "gitHead": "5c93162184742550bf6a5e7b37a5537c69f8a3c4"
29
29
  }