chayns-api 1.0.67 → 1.0.68

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.
@@ -67,10 +67,10 @@ class AppWrapper {
67
67
  runtimeEnvironment: _IChaynsReact.RuntimeEnviroment.Unknown
68
68
  },
69
69
  language: {
70
- site: AppInfo.Language,
70
+ site: urlParamsLowerCase.get('lang') || AppInfo.Language,
71
71
  translation: null,
72
- device: AppInfo.Language,
73
- active: AppInfo.Language
72
+ device: urlParamsLowerCase.get('lang') || AppInfo.Language,
73
+ active: urlParamsLowerCase.get('lang') || AppInfo.Language
74
74
  },
75
75
  // ToDo: Find better way to detect
76
76
  site: {
@@ -59,10 +59,10 @@ export class AppWrapper {
59
59
  runtimeEnvironment: RuntimeEnviroment.Unknown
60
60
  },
61
61
  language: {
62
- site: AppInfo.Language,
62
+ site: urlParamsLowerCase.get('lang') || AppInfo.Language,
63
63
  translation: null,
64
- device: AppInfo.Language,
65
- active: AppInfo.Language
64
+ device: urlParamsLowerCase.get('lang') || AppInfo.Language,
65
+ active: urlParamsLowerCase.get('lang') || AppInfo.Language
66
66
  },
67
67
  // ToDo: Find better way to detect
68
68
  site: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.67",
3
+ "version": "1.0.68",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",