@live-change/vue3-components 0.9.8 → 0.9.10

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/logic/locale.js +2 -1
  2. package/package.json +3 -3
package/logic/locale.js CHANGED
@@ -96,7 +96,8 @@ export class Locale {
96
96
  }
97
97
 
98
98
  async captureLocale() {
99
- if(typeof navigator === 'undefined') return
99
+ if(typeof window === 'undefined') return // capture only on client
100
+ if(typeof navigator === 'undefined') return // capture only on client
100
101
  return (async () => {
101
102
  const localeSettings = await this.getLocale()
102
103
  //console.log("LOCALE SETTINGS", JSON.stringify(localeSettings, null, ' '))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/vue3-components",
3
- "version": "0.9.8",
3
+ "version": "0.9.10",
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-stack",
23
23
  "dependencies": {
24
- "@live-change/vue3-ssr": "^0.9.8",
24
+ "@live-change/vue3-ssr": "^0.9.10",
25
25
  "debug": "^4.3.4",
26
26
  "mitt": "3.0.1",
27
27
  "vue": "^3.4.29"
28
28
  },
29
- "gitHead": "bb09550504f28df5f4fdd73273de45dc91a857b5"
29
+ "gitHead": "d41e404c1933e9ed6e3927d85a5dadf66da0f951"
30
30
  }