@lynx-js/web-core-server-canary 0.18.0-canary-20251012-dd7c14a8 → 0.18.0
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 +10 -10
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/web-core-server
|
|
2
2
|
|
|
3
|
-
## 0.18.0
|
|
3
|
+
## 0.18.0
|
|
4
4
|
|
|
5
5
|
## 0.17.2
|
|
6
6
|
|
|
@@ -111,25 +111,25 @@
|
|
|
111
111
|
lynxView.initI18nResources = [
|
|
112
112
|
{
|
|
113
113
|
options: {
|
|
114
|
-
locale:
|
|
115
|
-
channel:
|
|
116
|
-
fallback_url:
|
|
114
|
+
locale: 'en',
|
|
115
|
+
channel: '1',
|
|
116
|
+
fallback_url: '',
|
|
117
117
|
},
|
|
118
118
|
resource: {
|
|
119
|
-
hello:
|
|
120
|
-
lynx:
|
|
119
|
+
hello: 'hello',
|
|
120
|
+
lynx: 'lynx web platform1',
|
|
121
121
|
},
|
|
122
122
|
},
|
|
123
123
|
];
|
|
124
|
-
lynxView.addEventListener(
|
|
124
|
+
lynxView.addEventListener('i18nResourceMissed', (e) => {
|
|
125
125
|
console.log(e);
|
|
126
126
|
});
|
|
127
127
|
|
|
128
128
|
// mts
|
|
129
129
|
_I18nResourceTranslation({
|
|
130
|
-
locale:
|
|
131
|
-
channel:
|
|
132
|
-
fallback_url:
|
|
130
|
+
locale: 'en',
|
|
131
|
+
channel: '1',
|
|
132
|
+
fallback_url: '',
|
|
133
133
|
});
|
|
134
134
|
```
|
|
135
135
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-core-server-canary",
|
|
3
|
-
"version": "0.18.0
|
|
3
|
+
"version": "0.18.0",
|
|
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.4",
|
|
29
|
-
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.0
|
|
30
|
-
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.0
|
|
31
|
-
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.0
|
|
32
|
-
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.8
|
|
29
|
+
"@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.0",
|
|
30
|
+
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.0",
|
|
31
|
+
"@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.0",
|
|
32
|
+
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.8"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "rslib build",
|