@live-change/dao-vue3
Advanced tools
Comparing version 0.9.15 to 0.9.16
@@ -34,2 +34,10 @@ import { ref, onUnmounted, getCurrentInstance, unref, reactive, isRef, shallowRef, watch, computed } from 'vue' | ||
return null*/ | ||
for(const path of preFetchPaths) { | ||
if(path.error) { | ||
throw new Error('' | ||
+ (path.error.stack ?? path.error.message ?? (typeof path.error === 'object' ? JSON.stringify(path.error) : path.error)) | ||
+ '\n when fetching '+JSON.stringify(path.what) | ||
) | ||
} | ||
} | ||
const preFetchMap = new Map(preFetchPaths.map((res) => [JSON.stringify(res.what), res] )) | ||
@@ -36,0 +44,0 @@ function createObject(what, more) { |
@@ -52,2 +52,3 @@ import live from "./live.js" | ||
const promise = new Promise((r1, r2) => { this.resolve = r1; this.reject = r2 }) | ||
return promise | ||
} | ||
@@ -54,0 +55,0 @@ |
{ | ||
"name": "@live-change/dao-vue3", | ||
"version": "0.9.15", | ||
"version": "0.9.16", | ||
"author": { | ||
@@ -13,3 +13,3 @@ "email": "m8@em8.pl", | ||
"dependencies": { | ||
"@live-change/dao": "^0.9.15" | ||
"@live-change/dao": "^0.9.16" | ||
}, | ||
@@ -36,3 +36,3 @@ "type": "module", | ||
}, | ||
"gitHead": "7b145114b9ca412b99f4c052d5069dd1729ff388" | ||
"gitHead": "226df9fa7eb682f6d7da5e4541eb320e8309facf" | ||
} |
29414
726
Updated@live-change/dao@^0.9.16