@live-change/frontend-base 0.2.33 → 0.2.34

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/client-entry.js +4 -1
  2. package/package.json +13 -13
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.33",
3
+ "version": "0.2.34",
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,19 @@
20
20
  "debug": "node --inspect-brk server"
21
21
  },
22
22
  "dependencies": {
23
- "@live-change/cli": "0.7.16",
23
+ "@live-change/cli": "0.7.18",
24
24
  "@live-change/dao": "0.5.10",
25
25
  "@live-change/dao-vue3": "0.5.10",
26
26
  "@live-change/dao-websocket": "0.5.10",
27
- "@live-change/email-service": "0.3.16",
28
- "@live-change/password-authentication-service": "0.3.16",
29
- "@live-change/secret-code-service": "0.3.16",
30
- "@live-change/secret-link-service": "0.3.16",
31
- "@live-change/security-frontend": "^0.2.33",
32
- "@live-change/session-service": "0.3.16",
33
- "@live-change/user-service": "0.3.16",
34
- "@live-change/vue3-components": "0.2.17",
35
- "@live-change/vue3-ssr": "0.2.17",
27
+ "@live-change/email-service": "0.3.17",
28
+ "@live-change/password-authentication-service": "0.3.17",
29
+ "@live-change/secret-code-service": "0.3.17",
30
+ "@live-change/secret-link-service": "0.3.17",
31
+ "@live-change/security-frontend": "^0.2.34",
32
+ "@live-change/session-service": "0.3.17",
33
+ "@live-change/user-service": "0.3.17",
34
+ "@live-change/vue3-components": "0.2.19",
35
+ "@live-change/vue3-ssr": "0.2.19",
36
36
  "@vitejs/plugin-vue": "^2.3.1",
37
37
  "@vitejs/plugin-vue-jsx": "^1.3.10",
38
38
  "@vue/compiler-sfc": "^3.2.37",
@@ -58,7 +58,7 @@
58
58
  "vue3-scroll-border": "0.1.4"
59
59
  },
60
60
  "devDependencies": {
61
- "@live-change/codeceptjs-helper": "0.7.16",
61
+ "@live-change/codeceptjs-helper": "0.7.18",
62
62
  "@wdio/selenium-standalone-service": "^7.20.8",
63
63
  "codeceptjs": "^3.3.4",
64
64
  "generate-password": "1.7.0",
@@ -70,5 +70,5 @@
70
70
  "author": "",
71
71
  "license": "BSD-3-Clause",
72
72
  "description": "",
73
- "gitHead": "c1ea795ed6c33c4bd7cc56a13323eee5ae464cfe"
73
+ "gitHead": "d00c2c64979ab7ba35b039a88a7da86e6e638f5e"
74
74
  }