@live-change/dao-vue3 0.5.5 → 0.5.6

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/lib/live.js +2 -2
  2. package/package.json +3 -3
package/lib/live.js CHANGED
@@ -94,8 +94,8 @@ async function live(api, path, onUnmountedCb) {
94
94
  liveRef.value = newLive
95
95
  onUnmountedCallbacks = newUnmountedCallbacks
96
96
  oldPath = JSON.stringify(newPath)
97
- })()
98
- await updatePromise
97
+ })().then(() => updatePromise = null)
98
+ if(updatePromise) await updatePromise
99
99
  await update()
100
100
  }
101
101
  await update()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/dao-vue3",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "author": {
5
5
  "email": "m8@em8.pl",
6
6
  "name": "Michał Łaszczewski",
@@ -10,7 +10,7 @@
10
10
  "url": "https://github.com/live-change/live-change-dao/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@live-change/dao": "^0.5.5"
13
+ "@live-change/dao": "^0.5.6"
14
14
  },
15
15
  "description": "Vue.js integration for live-change dao",
16
16
  "directories": {},
@@ -32,5 +32,5 @@
32
32
  "scripts": {
33
33
  "compileTests": "webpack test/*.js tests-bundle.js"
34
34
  },
35
- "gitHead": "eae674e3ac5cc7b7fb58c9a3b31bb038dc6538e9"
35
+ "gitHead": "8a0894ea0f57b6e1c5a627258617b8353e70533d"
36
36
  }