@live-change/dao-vue3 0.5.7 → 0.5.8

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 +3 -3
  2. package/package.json +3 -3
package/lib/live.js CHANGED
@@ -32,7 +32,7 @@ async function fetch(api, path) {
32
32
  const preFetchMap = new Map(preFetchPaths.map((res) => [JSON.stringify(res.what), res] ))
33
33
  function createObject(what, more) {
34
34
  const res = preFetchMap.get(JSON.stringify(what))
35
- console.log("PREFETCH", what, "RES", res, "MORE", more)
35
+ debug("PREFETCH", what, "RES", res, "MORE", more)
36
36
  if(res.error) throw new Error(res.error)
37
37
  const data = res.data
38
38
  if(data && more) {
@@ -78,9 +78,9 @@ async function fetch(api, path) {
78
78
  async function live(api, path, onUnmountedCb) {
79
79
  if(isRef(path)) {
80
80
  if(typeof window == 'undefined') {
81
- console.log("FETCH", path.value)
81
+ debug("FETCH", path.value)
82
82
  const data = await fetch(api, path.value)
83
- console.log("FETCHED", data)
83
+ debug("FETCHED", data)
84
84
  return data
85
85
  }
86
86
  let liveRef = shallowRef()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/dao-vue3",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
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.7"
13
+ "@live-change/dao": "^0.5.8"
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": "53cd3536a135bdfd31edc75538a3ea5a426d307e"
35
+ "gitHead": "645fab4e2e100b75403f362145d0edf3583bca5d"
36
36
  }