@live-change/frontend-base 0.8.38 → 0.8.40

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/UpdateBanner.vue CHANGED
@@ -28,8 +28,11 @@
28
28
  import { useI18n } from 'vue-i18n'
29
29
  const { t } = useI18n()
30
30
 
31
+ const codeVersion = ref(ENV_VERSION)
32
+
31
33
  const updateAvailable = computed(
32
- () => ENV_VERSION != 'unknown' && api.metadata.version.value && api.metadata.version.value != ENV_VERSION
34
+ () => codeVersion.value !== 'unknown'
35
+ && api.metadata.version.value && api.metadata.version.value !== codeVersion.value
33
36
  )
34
37
  const updateBannerHidden = ref(false)
35
38
  function hideUpdateBanner() {
@@ -39,7 +42,7 @@
39
42
  async function update(ev) {
40
43
  ev.preventDefault()
41
44
  ev.stopPropagation()
42
- if (ENV_MODE == 'pwa' && navigator.serviceWorker) {
45
+ if (ENV_MODE === 'pwa' && navigator.serviceWorker) {
43
46
  if(navigator.serviceWorker.ready) {
44
47
  console.log("TRY UPDATE PWA!")
45
48
  setTimeout(() => {
package/client-entry.js CHANGED
@@ -13,6 +13,7 @@ window.process = { env: {} }
13
13
  export async function clientEntry(App, createRouter, config = {}) {
14
14
  setTime(window.__NOW__)
15
15
 
16
+ window.__CLIENT_VERSION__ = ENV_VERSION
16
17
  const windowId = window.__WINDOW_ID__
17
18
  //console.error("CLIENT WINDOW ID", windowId)
18
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/frontend-base",
3
- "version": "0.8.38",
3
+ "version": "0.8.40",
4
4
  "scripts": {
5
5
  "memDev": "node server/start.js memDev --enableSessions --initScript ./init.js --templatePath ../../base-frontend/index.html",
6
6
  "localDevInit": "rm tmp.db; lcli localDev --enableSessions --initScript ./init.js",
@@ -35,21 +35,21 @@
35
35
  "@lezer/rust": "=1.0.1",
36
36
  "@lezer/sass": "=1.0.3",
37
37
  "@lezer/xml": "=1.0.2",
38
- "@live-change/cli": "^0.8.38",
39
- "@live-change/dao": "^0.8.38",
40
- "@live-change/dao-message": "^0.8.38",
41
- "@live-change/dao-sockjs": "^0.8.38",
42
- "@live-change/dao-vue3": "^0.8.38",
43
- "@live-change/dao-websocket": "^0.8.38",
44
- "@live-change/email-service": "^0.8.38",
45
- "@live-change/password-authentication-service": "^0.8.38",
46
- "@live-change/secret-code-service": "^0.8.38",
47
- "@live-change/secret-link-service": "^0.8.38",
48
- "@live-change/security-frontend": "^0.8.38",
49
- "@live-change/session-service": "^0.8.38",
50
- "@live-change/user-service": "^0.8.38",
51
- "@live-change/vue3-components": "^0.8.38",
52
- "@live-change/vue3-ssr": "^0.8.38",
38
+ "@live-change/cli": "^0.8.40",
39
+ "@live-change/dao": "^0.8.40",
40
+ "@live-change/dao-message": "^0.8.40",
41
+ "@live-change/dao-sockjs": "^0.8.40",
42
+ "@live-change/dao-vue3": "^0.8.40",
43
+ "@live-change/dao-websocket": "^0.8.40",
44
+ "@live-change/email-service": "^0.8.40",
45
+ "@live-change/password-authentication-service": "^0.8.40",
46
+ "@live-change/secret-code-service": "^0.8.40",
47
+ "@live-change/secret-link-service": "^0.8.40",
48
+ "@live-change/security-frontend": "^0.8.40",
49
+ "@live-change/session-service": "^0.8.40",
50
+ "@live-change/user-service": "^0.8.40",
51
+ "@live-change/vue3-components": "^0.8.40",
52
+ "@live-change/vue3-ssr": "^0.8.40",
53
53
  "@unhead/ssr": "^1.6.2",
54
54
  "@vitejs/plugin-vue": "^5.0.5",
55
55
  "@vue/compiler-sfc": "^3.4.29",
@@ -102,7 +102,7 @@
102
102
  "vue3-scroll-border": "0.1.6"
103
103
  },
104
104
  "devDependencies": {
105
- "@live-change/codeceptjs-helper": "^0.8.38",
105
+ "@live-change/codeceptjs-helper": "^0.8.40",
106
106
  "codeceptjs": "^3.5.12",
107
107
  "generate-password": "1.7.1",
108
108
  "playwright": "^1.41.2",
@@ -116,5 +116,5 @@
116
116
  "author": "Michał Łaszczewski <michal@laszczewski.pl>",
117
117
  "license": "BSD-3-Clause",
118
118
  "description": "",
119
- "gitHead": "69b15b8d593c02482e1f36590089a176d72bb4cd"
119
+ "gitHead": "5a12ec795f6fa16f30203aef3ad1534660fa5146"
120
120
  }
package/vite-config.js CHANGED
@@ -189,6 +189,9 @@ export default async ({ command, mode }, options = {
189
189
  '@live-change/user-frontend',
190
190
  '@live-change/wysiwyg-frontend',
191
191
  '@live-change/flow-frontend',
192
+ '@live-change/task-frontend',
193
+ '@live-change/peer-connection-frontend',
194
+ '@live-change/video-call-frontend',
192
195
  '@live-change/frontend-auto-form',
193
196
  '@live-change/db-web',
194
197
  '@live-change/db',