@live-change/framework 0.9.79 → 0.9.80

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.
@@ -1,11 +1,11 @@
1
1
  function getValidator(validation, context) {
2
2
  if(typeof validation == 'string') {
3
3
  let validator = context.service.validators[validation]
4
- if(!validator) throw new Error(`Validator ${validation} not found`)
4
+ if(!validator) throw new Error(`Validator ${validation} not found in service ${context.service.name}`)
5
5
  return validator({}, context)
6
6
  } else {
7
7
  let validator = context.service.validators[validation.name]
8
- if(!validator) throw new Error(`Validator ${validation.name} not found`)
8
+ if(!validator) throw new Error(`Validator ${validation.name} not found in service ${context.service.name}`)
9
9
  return validator(validation, context)
10
10
  }
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.9.79",
3
+ "version": "0.9.80",
4
4
  "description": "Live Change Framework - ultimate solution for real time mobile/web apps",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,11 +22,11 @@
22
22
  },
23
23
  "homepage": "https://github.com/live-change/live-change-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.9.79",
26
- "@live-change/uid": "^0.9.79",
25
+ "@live-change/dao": "^0.9.80",
26
+ "@live-change/uid": "^0.9.80",
27
27
  "typedoc": "0.28.3",
28
28
  "typedoc-plugin-markdown": "^4.6.3",
29
29
  "typedoc-plugin-rename-defaults": "^0.7.3"
30
30
  },
31
- "gitHead": "68d2965e5a3b780063a5d0f9ce71d911fd1fb6be"
31
+ "gitHead": "8c4e9d0d1415c8805f0a56dbef07d7b8333632a4"
32
32
  }