@live-change/framework 0.8.49 → 0.8.50

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.
@@ -83,11 +83,11 @@ async function update(changes, service, app, force) {
83
83
  if(obj && oldObj) {
84
84
  let pointers = obj && new Set(keys(obj))
85
85
  let oldPointers = oldObj && new Set(keys(oldObj))
86
- for(let pointer of pointers) {
87
- if(!!oldPointers.has(pointer)) output.change({ id: pointer+'_'+obj.id, to: obj.id }, null)
86
+ for(let pointer of pointers) if(!oldPointers.has(pointer)) {
87
+ output.change({ id: pointer+'_'+obj.id, to: obj.id }, null)
88
88
  }
89
- for(let pointer of oldPointers) {
90
- if(!!pointers.has(pointer)) output.change(null, { id: pointer+'_'+obj.id, to: obj.id })
89
+ for(let pointer of oldPointers) if(!pointers.has(pointer)) {
90
+ output.change(null, { id: pointer+'_'+obj.id, to: obj.id })
91
91
  }
92
92
  } else if(obj) {
93
93
  keys(obj).forEach(k => output.change({ id: k+'_'+obj.id, to: obj.id }, null))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/framework",
3
- "version": "0.8.49",
3
+ "version": "0.8.50",
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-stack",
24
24
  "devDependencies": {
25
- "@live-change/dao": "^0.8.49",
26
- "@live-change/uid": "^0.8.49"
25
+ "@live-change/dao": "^0.8.50",
26
+ "@live-change/uid": "^0.8.50"
27
27
  },
28
- "gitHead": "568f730f1c8a6ce0247d1d8e49fcea110604800c"
28
+ "gitHead": "c967d5304bdac5150a6272c8d7cbe8974d7c25e6"
29
29
  }