@live-change/access-control-service 0.9.105 → 0.9.106

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.
Files changed (2) hide show
  1. package/access.js +2 -8
  2. package/package.json +3 -3
package/access.js CHANGED
@@ -206,14 +206,8 @@ export default (definition) => {
206
206
 
207
207
  function accessPath(client, objects) {
208
208
  for(const obj of objects) {
209
- if(!obj.objectType) {
210
- console.error("NO OBJECT TYPE FOR ACCESS CONTROL ACCESS PATH", obj, 'IN', objects)
211
- throw new Error('No objectType for accessControl accessPath')
212
- }
213
- if(!obj.object) {
214
- console.error("NO OBJECT FOR ACCESS CONTROL ACCESS PATH", obj, 'IN', objects)
215
- throw new Error('No object for accessControl accessPath')
216
- }
209
+ if(!obj.objectType) throw new Error('No objectType for accessControl accessPath')
210
+ if(!obj.object) throw new Error('No object for accessControl accessPath')
217
211
  }
218
212
  return ['database', 'queryObject', app.databaseName, `(${
219
213
  async (input, output, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/access-control-service",
3
- "version": "0.9.105",
3
+ "version": "0.9.106",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -21,8 +21,8 @@
21
21
  "url": "https://www.viamage.com/"
22
22
  },
23
23
  "dependencies": {
24
- "@live-change/framework": "^0.9.105"
24
+ "@live-change/framework": "^0.9.106"
25
25
  },
26
- "gitHead": "e96d52126ea0b5af39ecf6d4ea5120c0ec58346d",
26
+ "gitHead": "1afc853b9044a57046dae972df68d89c8c1cd1a6",
27
27
  "type": "module"
28
28
  }