@live-change/vue3-ssr 0.2.22 → 0.2.24
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/Api.js +4 -3
- package/clientApi.js +2 -1
- package/package.json +4 -4
- package/serverApi.js +1 -0
package/Api.js
CHANGED
|
@@ -60,6 +60,7 @@ class Api extends DaoProxy {
|
|
|
60
60
|
setupMetadata() {
|
|
61
61
|
const api = ref()
|
|
62
62
|
this.apiObservable = this.observable(['metadata', 'api'])
|
|
63
|
+
console.log("API OBSERVABLE", this.apiObservable)
|
|
63
64
|
this.apiObservable.bindProperty(api, 'value')
|
|
64
65
|
const version = ref()
|
|
65
66
|
this.versionObservable = this.observable(['version', 'version'])
|
|
@@ -77,9 +78,9 @@ class Api extends DaoProxy {
|
|
|
77
78
|
return api?.value?.client
|
|
78
79
|
})
|
|
79
80
|
watch(() => api.value, (api) => {
|
|
80
|
-
console.log("API CHANGE!", api)
|
|
81
|
+
//console.log("API CHANGE!", api)
|
|
81
82
|
if(!api) return
|
|
82
|
-
console.log("API CHANGE!"
|
|
83
|
+
console.log("API CHANGE!"/*, api*/)
|
|
83
84
|
this.generateServicesApi()
|
|
84
85
|
})
|
|
85
86
|
console.log("SETUP API", api.value)
|
|
@@ -109,7 +110,7 @@ class Api extends DaoProxy {
|
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
//console.trace("GENERATE API SERVICES!")
|
|
112
|
-
|
|
113
|
+
console.log("GENERATE SERVICES API", apiInfo)
|
|
113
114
|
const definitions = [...(apiInfo?.services ?? []), ...(this.settings.localDefinitions ?? [])]
|
|
114
115
|
if(JSON.stringify(definitions) == JSON.stringify(api.servicesApiDefinitions)) return
|
|
115
116
|
if(!definitions) throw new Error("API DEFINITIONS NOT FOUND! UNABLE TO GENERATE API!")
|
package/clientApi.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/vue3-ssr",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Live Change Framework - vue components",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
},
|
|
22
22
|
"homepage": "https://github.com/live-change/live-change-framework-vue3",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/dao-vue3": "0.5.
|
|
25
|
-
"@live-change/uid": "0.7.
|
|
24
|
+
"@live-change/dao-vue3": "0.5.15",
|
|
25
|
+
"@live-change/uid": "0.7.19",
|
|
26
26
|
"@vueuse/core": "^9.1.0",
|
|
27
27
|
"debug": "^4.3.4"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "a72f13ad9250c6dceac24c17bb02f6822ca8c456"
|
|
30
30
|
}
|