@live-change/dao-vue3 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.
- package/lib/live.js +4 -1
- package/package.json +3 -3
package/lib/live.js
CHANGED
|
@@ -36,7 +36,10 @@ async function fetch(api, path) {
|
|
|
36
36
|
const res = preFetchMap.get(JSON.stringify(what))
|
|
37
37
|
debug("PREFETCH", what, "RES", res, "MORE", more, "ERR", res?.error)
|
|
38
38
|
if(res.error) {
|
|
39
|
-
throw new Error(
|
|
39
|
+
throw new Error(''
|
|
40
|
+
+ (res.error.stack ?? res.error.message ?? (typeof res.error === 'object' ? JSON.stringify(res.error) : res.error))
|
|
41
|
+
+ '\n when fetching '+JSON.stringify(what) + ' with more=('+JSON.stringify(more)+')'
|
|
42
|
+
)
|
|
40
43
|
}
|
|
41
44
|
const data = res.data
|
|
42
45
|
if(data && more) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/dao-vue3",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.50",
|
|
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.8.
|
|
13
|
+
"@live-change/dao": "^0.8.50"
|
|
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": "c967d5304bdac5150a6272c8d7cbe8974d7c25e6"
|
|
36
36
|
}
|