@live-change/dao-vue3 0.9.15 → 0.9.17
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.
- package/lib/RangeBuckets.js +1 -0
- package/lib/live.js +8 -0
- package/package.json +3 -3
package/lib/RangeBuckets.js
CHANGED
package/lib/live.js
CHANGED
|
@@ -31,6 +31,14 @@ async function fetch(api, path) {
|
|
|
31
31
|
debug("PRE FETCH DATA", preFetchPaths)
|
|
32
32
|
/*console.log("PATHS", paths)
|
|
33
33
|
return null*/
|
|
34
|
+
for(const path of preFetchPaths) {
|
|
35
|
+
if(path.error) {
|
|
36
|
+
throw new Error(''
|
|
37
|
+
+ (path.error.stack ?? path.error.message ?? (typeof path.error === 'object' ? JSON.stringify(path.error) : path.error))
|
|
38
|
+
+ '\n when fetching '+JSON.stringify(path.what)
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
}
|
|
34
42
|
const preFetchMap = new Map(preFetchPaths.map((res) => [JSON.stringify(res.what), res] ))
|
|
35
43
|
function createObject(what, more) {
|
|
36
44
|
const res = preFetchMap.get(JSON.stringify(what))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/dao-vue3",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.17",
|
|
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-stack/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@live-change/dao": "^0.9.
|
|
13
|
+
"@live-change/dao": "^0.9.17"
|
|
14
14
|
},
|
|
15
15
|
"type": "module",
|
|
16
16
|
"description": "Vue.js integration for live-change dao",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"scripts": {
|
|
33
33
|
"compileTests": "webpack test/*.js tests-bundle.js"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "b3a9709d000e1a55a5c6e6bf2ad3f0ac5f5956dd"
|
|
36
36
|
}
|