@live-change/frontend-base 0.2.33 → 0.2.35
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/client-entry.js +4 -1
- package/package.json +21 -19
- package/vite-config.js +2 -0
package/client-entry.js
CHANGED
|
@@ -16,9 +16,12 @@ export async function clientEntry(App, createRouter, config = {}) {
|
|
|
16
16
|
const windowId = window.__WINDOW_ID__
|
|
17
17
|
console.error("CLIENT WINDOW ID", windowId)
|
|
18
18
|
|
|
19
|
+
const clientConfig = (typeof config.client == 'function' ? config.client() : config.client) || {}
|
|
20
|
+
|
|
19
21
|
const api = clientApi({
|
|
20
22
|
use: [],
|
|
21
|
-
windowId
|
|
23
|
+
windowId,
|
|
24
|
+
...clientConfig.api
|
|
22
25
|
})
|
|
23
26
|
window.api = api
|
|
24
27
|
await api.readyPromise
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/frontend-base",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.35",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "lcli memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
|
|
@@ -20,19 +20,21 @@
|
|
|
20
20
|
"debug": "node --inspect-brk server"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@live-change/cli": "0.7.
|
|
24
|
-
"@live-change/dao": "0.5.
|
|
25
|
-
"@live-change/dao-
|
|
26
|
-
"@live-change/dao-
|
|
27
|
-
"@live-change/
|
|
28
|
-
"@live-change/
|
|
29
|
-
"@live-change/
|
|
30
|
-
"@live-change/
|
|
31
|
-
"@live-change/
|
|
32
|
-
"@live-change/
|
|
33
|
-
"@live-change/
|
|
34
|
-
"@live-change/
|
|
35
|
-
"@live-change/
|
|
23
|
+
"@live-change/cli": "0.7.18",
|
|
24
|
+
"@live-change/dao": "0.5.14",
|
|
25
|
+
"@live-change/dao-message": "0.5.14",
|
|
26
|
+
"@live-change/dao-sockjs": "0.5.14",
|
|
27
|
+
"@live-change/dao-vue3": "0.5.14",
|
|
28
|
+
"@live-change/dao-websocket": "0.5.14",
|
|
29
|
+
"@live-change/email-service": "0.3.17",
|
|
30
|
+
"@live-change/password-authentication-service": "0.3.17",
|
|
31
|
+
"@live-change/secret-code-service": "0.3.17",
|
|
32
|
+
"@live-change/secret-link-service": "0.3.17",
|
|
33
|
+
"@live-change/security-frontend": "^0.2.35",
|
|
34
|
+
"@live-change/session-service": "0.3.17",
|
|
35
|
+
"@live-change/user-service": "0.3.17",
|
|
36
|
+
"@live-change/vue3-components": "0.2.21",
|
|
37
|
+
"@live-change/vue3-ssr": "0.2.21",
|
|
36
38
|
"@vitejs/plugin-vue": "^2.3.1",
|
|
37
39
|
"@vitejs/plugin-vue-jsx": "^1.3.10",
|
|
38
40
|
"@vue/compiler-sfc": "^3.2.37",
|
|
@@ -41,9 +43,9 @@
|
|
|
41
43
|
"compression": "^1.7.4",
|
|
42
44
|
"cross-env": "^7.0.3",
|
|
43
45
|
"get-port-sync": "1.0.1",
|
|
44
|
-
"primeflex": "^3.
|
|
46
|
+
"primeflex": "^3.3.0",
|
|
45
47
|
"primeicons": "^6.0.1",
|
|
46
|
-
"primevue": "^3.
|
|
48
|
+
"primevue": "^3.25.0",
|
|
47
49
|
"rollup-plugin-node-builtins": "^2.1.2",
|
|
48
50
|
"rollup-plugin-visualizer": "5.6.0",
|
|
49
51
|
"serialize-javascript": "^6.0.0",
|
|
@@ -55,10 +57,10 @@
|
|
|
55
57
|
"vue-meta": "^3.0.0-alpha.9",
|
|
56
58
|
"vue-router": "^4.1.3",
|
|
57
59
|
"vue3-lazyload": "0.2.5-beta",
|
|
58
|
-
"vue3-scroll-border": "0.1.
|
|
60
|
+
"vue3-scroll-border": "0.1.5"
|
|
59
61
|
},
|
|
60
62
|
"devDependencies": {
|
|
61
|
-
"@live-change/codeceptjs-helper": "0.7.
|
|
63
|
+
"@live-change/codeceptjs-helper": "0.7.18",
|
|
62
64
|
"@wdio/selenium-standalone-service": "^7.20.8",
|
|
63
65
|
"codeceptjs": "^3.3.4",
|
|
64
66
|
"generate-password": "1.7.0",
|
|
@@ -70,5 +72,5 @@
|
|
|
70
72
|
"author": "",
|
|
71
73
|
"license": "BSD-3-Clause",
|
|
72
74
|
"description": "",
|
|
73
|
-
"gitHead": "
|
|
75
|
+
"gitHead": "635f9c321c6ef285a4d1d6ff096d5de3f8115cad"
|
|
74
76
|
}
|
package/vite-config.js
CHANGED
|
@@ -63,6 +63,7 @@ module.exports = async ({ command, mode }) => ({
|
|
|
63
63
|
/live-change-dao\/dao\//,
|
|
64
64
|
/live-change-dao\/dao-sockjs\//,
|
|
65
65
|
/live-change-dao\/dao-websocket\//,
|
|
66
|
+
/live-change-dao\/dao-message\//,
|
|
66
67
|
]
|
|
67
68
|
},
|
|
68
69
|
},
|
|
@@ -105,6 +106,7 @@ module.exports = async ({ command, mode }) => ({
|
|
|
105
106
|
'@live-change/dao',
|
|
106
107
|
'@live-change/dao-sockjs',
|
|
107
108
|
'@live-change/dao-websocket',
|
|
109
|
+
'@live-change/dao-message',
|
|
108
110
|
'@live-change/uid',
|
|
109
111
|
'@live-change/framework',
|
|
110
112
|
'@live-change/framework/lib/utils/validators.js',
|