chayns-api 3.0.0-beta.4 → 3.0.1

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/README.md CHANGED
@@ -39,23 +39,16 @@ const FirstName = () => {
39
39
  }
40
40
  ```
41
41
 
42
- ## Migrate v1 to v2
43
-
44
- When updating to chayns-api@2 you should also update chayns-toolkit to 3.0.1 or higher (check migration guide [here](https://github.com/TobitSoftware/chayns-toolkit/tree/main?tab=readme-ov-file#-migration-v2-to-v3)).
45
-
46
- Check urls referencing **remoteEntry.js**. The filename has been changed to **v2.remoteEntry.js**.
47
-
48
- When your application uses ChaynsHost with module-type you might have to add a call of **initModuleFederationSharing** as early as possible in your application (e.g. index/bootstrap). Unless your application is already embedded as module somewhere else (e.g. in a dialog).
49
-
50
- ```
51
- initModuleFederationSharing({ name: 'project_name' });
52
- ```
42
+ ## Migration
53
43
 
44
+ For migration guides between major versions, please refer to the [migration documentation](https://tobitsoftware.github.io/chayns-api/docs/migration).
54
45
 
55
46
  ## Getting started
56
47
 
57
48
  More information to setup chayns-api can be found in the [documentation](https://tobitsoftware.github.io/chayns-api/docs).
58
49
 
50
+ For advanced use cases like Module Federation, refer to the [Module Federation Guide](https://tobitsoftware.github.io/chayns-api/docs/module-federation).
51
+
59
52
  ## Troubleshooting
60
53
 
61
54
  ```
@@ -93,7 +93,7 @@ class AppWrapper {
93
93
  runtimeEnvironment: _IChaynsReact.RuntimeEnviroment.App
94
94
  },
95
95
  language: {
96
- site: language,
96
+ site: AppInfo.Language || 'de',
97
97
  translation: null,
98
98
  device: language,
99
99
  active: language
@@ -83,7 +83,7 @@ export class AppWrapper {
83
83
  runtimeEnvironment: RuntimeEnviroment.App
84
84
  },
85
85
  language: {
86
- site: language,
86
+ site: AppInfo.Language || 'de',
87
87
  translation: null,
88
88
  device: language,
89
89
  active: language
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "3.0.0-beta.4",
3
+ "version": "3.0.1",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",