chayns-api 2.6.14 → 2.7.0-beta.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.
@@ -29,8 +29,7 @@ const loadModule = (scope, module, url, preventSingleton = false) => {
29
29
  registerRemotes([{
30
30
  shareScope: url.endsWith('v2.remoteEntry.js') || url.endsWith('mf-manifest.json') ? 'chayns-api' : 'default',
31
31
  name: scope,
32
- entry: url,
33
- alias: scope
32
+ entry: url
34
33
  }], {
35
34
  force: scope in registeredScopes || preventSingleton
36
35
  });
@@ -22,8 +22,7 @@ export const loadModule = (scope, module, url, preventSingleton = false) => {
22
22
  registerRemotes([{
23
23
  shareScope: url.endsWith('v2.remoteEntry.js') || url.endsWith('mf-manifest.json') ? 'chayns-api' : 'default',
24
24
  name: scope,
25
- entry: url,
26
- alias: scope
25
+ entry: url
27
26
  }], {
28
27
  force: scope in registeredScopes || preventSingleton
29
28
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.6.14",
3
+ "version": "2.7.0-beta.1",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -49,7 +49,6 @@
49
49
  "extends": "@chayns-toolkit"
50
50
  },
51
51
  "dependencies": {
52
- "@module-federation/enhanced": "^0.21.6",
53
52
  "comlink": "4.3.1",
54
53
  "htmlescape": "^1.1.1",
55
54
  "lodash.throttle": "^4.1.1",
@@ -63,6 +62,7 @@
63
62
  "@babel/preset-react": "^7.28.5",
64
63
  "@babel/preset-typescript": "^7.28.5",
65
64
  "@chayns-toolkit/eslint-config": "^3.0.2",
65
+ "@module-federation/enhanced": "^2.4.0",
66
66
  "@rsbuild/plugin-umd": "^1.0.5",
67
67
  "@types/htmlescape": "^1.1.3",
68
68
  "@types/lodash.throttle": "^4.1.9",
@@ -71,7 +71,7 @@
71
71
  "@types/react-dom": "^18.3.7",
72
72
  "@types/ua-parser-js": "^0.7.39",
73
73
  "@types/use-sync-external-store": "^1.5.0",
74
- "chayns-toolkit": "^3.3.6",
74
+ "chayns-toolkit": "^4.0.0-beta.0",
75
75
  "concurrently": "^9.2.1",
76
76
  "cross-env": "^10.1.0",
77
77
  "prettier": "^3.7.4",
@@ -81,12 +81,8 @@
81
81
  "typescript": "^5.9.3"
82
82
  },
83
83
  "peerDependencies": {
84
+ "@module-federation/enhanced": "^2.4.0",
84
85
  "react": "^16.8 || ^17.0.1 || ^18.0.0 || ^19.0.0",
85
86
  "react-dom": "^16.8 || ^17.0.1 || ^18.0.0 || ^19.0.0"
86
- },
87
- "overrides": {
88
- "chayns-toolkit": {
89
- "@module-federation/enhanced": "^0.21.6"
90
- }
91
87
  }
92
88
  }