@lynx-js/web-mainthread-apis-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 +19 -9
- package/dist/prepareMainThreadAPIs.js +0 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @lynx-js/web-mainthread-apis
|
|
2
2
|
|
|
3
|
+
## 0.15.8-canary-20250826112003-bb53d9a035f607e7c89952098d4ed77877a2e3c1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: the SystemInfo in bts should be assigned to the globalThis ([#1599](https://github.com/lynx-family/lynx-stack/pull/1599))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`bb53d9a`](https://github.com/lynx-family/lynx-stack/commit/bb53d9a035f607e7c89952098d4ed77877a2e3c1)]:
|
|
10
|
+
- @lynx-js/web-constants@0.15.8-canary-20250826112003-bb53d9a035f607e7c89952098d4ed77877a2e3c1
|
|
11
|
+
- @lynx-js/web-style-transformer@0.15.8-canary-20250826112003-bb53d9a035f607e7c89952098d4ed77877a2e3c1
|
|
12
|
+
|
|
3
13
|
## 0.15.7
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -178,25 +188,25 @@
|
|
|
178
188
|
lynxView.initI18nResources = [
|
|
179
189
|
{
|
|
180
190
|
options: {
|
|
181
|
-
locale:
|
|
182
|
-
channel:
|
|
183
|
-
fallback_url:
|
|
191
|
+
locale: "en",
|
|
192
|
+
channel: "1",
|
|
193
|
+
fallback_url: "",
|
|
184
194
|
},
|
|
185
195
|
resource: {
|
|
186
|
-
hello:
|
|
187
|
-
lynx:
|
|
196
|
+
hello: "hello",
|
|
197
|
+
lynx: "lynx web platform1",
|
|
188
198
|
},
|
|
189
199
|
},
|
|
190
200
|
];
|
|
191
|
-
lynxView.addEventListener(
|
|
201
|
+
lynxView.addEventListener("i18nResourceMissed", (e) => {
|
|
192
202
|
console.log(e);
|
|
193
203
|
});
|
|
194
204
|
|
|
195
205
|
// mts
|
|
196
206
|
_I18nResourceTranslation({
|
|
197
|
-
locale:
|
|
198
|
-
channel:
|
|
199
|
-
fallback_url:
|
|
207
|
+
locale: "en",
|
|
208
|
+
channel: "1",
|
|
209
|
+
fallback_url: "",
|
|
200
210
|
});
|
|
201
211
|
```
|
|
202
212
|
|
|
@@ -80,7 +80,6 @@ export function prepareMainThreadAPIs(backgroundThreadRpc, rootDom, createElemen
|
|
|
80
80
|
customSections: Object.fromEntries(Object.entries(customSections).filter(([, value]) => value.type !== 'lazy').map(([k, v]) => [k, v.content])),
|
|
81
81
|
nativeModulesMap,
|
|
82
82
|
napiModulesMap,
|
|
83
|
-
browserConfig,
|
|
84
83
|
});
|
|
85
84
|
if (!ssrHydrateInfo) {
|
|
86
85
|
mtsGlobalThis.renderPage(initData);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-mainthread-apis-canary",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.8-canary-20250826-bb53d9a0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"**/*.css"
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.
|
|
28
|
-
"@lynx-js/web-style-transformer": "npm:@lynx-js/web-style-transformer-canary@0.15.
|
|
27
|
+
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.15.8-canary-20250826-bb53d9a0",
|
|
28
|
+
"@lynx-js/web-style-transformer": "npm:@lynx-js/web-style-transformer-canary@0.15.8-canary-20250826-bb53d9a0",
|
|
29
29
|
"hyphenate-style-name": "^1.1.0"
|
|
30
30
|
}
|
|
31
31
|
}
|