@lynx-js/web-core-server-canary 0.15.7 → 0.15.8-canary-20250826-bb53d9a0
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/CHANGELOG.md +11 -9
- package/dist/index.js +2 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @lynx-js/web-core-server
|
|
2
2
|
|
|
3
|
+
## 0.15.8-canary-20250826112003-bb53d9a035f607e7c89952098d4ed77877a2e3c1
|
|
4
|
+
|
|
3
5
|
## 0.15.7
|
|
4
6
|
|
|
5
7
|
## 0.15.6
|
|
@@ -81,25 +83,25 @@
|
|
|
81
83
|
lynxView.initI18nResources = [
|
|
82
84
|
{
|
|
83
85
|
options: {
|
|
84
|
-
locale:
|
|
85
|
-
channel:
|
|
86
|
-
fallback_url:
|
|
86
|
+
locale: "en",
|
|
87
|
+
channel: "1",
|
|
88
|
+
fallback_url: "",
|
|
87
89
|
},
|
|
88
90
|
resource: {
|
|
89
|
-
hello:
|
|
90
|
-
lynx:
|
|
91
|
+
hello: "hello",
|
|
92
|
+
lynx: "lynx web platform1",
|
|
91
93
|
},
|
|
92
94
|
},
|
|
93
95
|
];
|
|
94
|
-
lynxView.addEventListener(
|
|
96
|
+
lynxView.addEventListener("i18nResourceMissed", (e) => {
|
|
95
97
|
console.log(e);
|
|
96
98
|
});
|
|
97
99
|
|
|
98
100
|
// mts
|
|
99
101
|
_I18nResourceTranslation({
|
|
100
|
-
locale:
|
|
101
|
-
channel:
|
|
102
|
-
fallback_url:
|
|
102
|
+
locale: "en",
|
|
103
|
+
channel: "1",
|
|
104
|
+
fallback_url: "",
|
|
103
105
|
});
|
|
104
106
|
```
|
|
105
107
|
|
package/dist/index.js
CHANGED
|
@@ -813,8 +813,7 @@ const backgroundInjectVars = [
|
|
|
813
813
|
'NativeModules',
|
|
814
814
|
'globalThis',
|
|
815
815
|
'lynx',
|
|
816
|
-
'lynxCoreInject'
|
|
817
|
-
'SystemInfo'
|
|
816
|
+
'lynxCoreInject'
|
|
818
817
|
];
|
|
819
818
|
const backgroundInjectWithBind = [
|
|
820
819
|
'Card',
|
|
@@ -2041,8 +2040,7 @@ function prepareMainThreadAPIs(backgroundThreadRpc, rootDom, createElement, comm
|
|
|
2041
2040
|
v.content
|
|
2042
2041
|
])),
|
|
2043
2042
|
nativeModulesMap,
|
|
2044
|
-
napiModulesMap
|
|
2045
|
-
browserConfig
|
|
2043
|
+
napiModulesMap
|
|
2046
2044
|
});
|
|
2047
2045
|
if (ssrHydrateInfo) {
|
|
2048
2046
|
for (const event of ssrHydrateInfo.events){
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-core-server-canary",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.8-canary-20250826-bb53d9a0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"rsbuild-plugin-arethetypeswrong": "0.1.1",
|
|
27
27
|
"rsbuild-plugin-publint": "0.3.3",
|
|
28
28
|
"@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.3",
|
|
29
|
-
"@lynx-js/web-
|
|
30
|
-
"@lynx-js/web-
|
|
31
|
-
"@lynx-js/web-
|
|
32
|
-
"@lynx-js/web-
|
|
29
|
+
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.4",
|
|
30
|
+
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.8-canary-20250826-bb53d9a0",
|
|
31
|
+
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.15.8-canary-20250826-bb53d9a0",
|
|
32
|
+
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.15.8-canary-20250826-bb53d9a0"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rslib build",
|