@lynx-js/web-worker-runtime-canary 0.18.3-canary-20251106-ffd193b4 → 0.18.3-canary-20251106-ebc1a606

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 CHANGED
@@ -1,13 +1,17 @@
1
1
  # @lynx-js/web-worker-runtime
2
2
 
3
- ## 0.18.3-canary-20251106062141-ffd193b454439603b403c0395dbcd4b89b6f6107
3
+ ## 0.18.3-canary-20251106095636-ebc1a606318e9809e8a07457e18536b59be12a18
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - Updated dependencies [[`fece7d0`](https://github.com/lynx-family/lynx-stack/commit/fece7d0a92fa76948488373757a27dff52a90437)]:
8
- - @lynx-js/web-mainthread-apis@0.18.3-canary-20251106062141-ffd193b454439603b403c0395dbcd4b89b6f6107
9
- - @lynx-js/web-constants@0.18.3-canary-20251106062141-ffd193b454439603b403c0395dbcd4b89b6f6107
10
- - @lynx-js/web-worker-rpc@0.18.3-canary-20251106062141-ffd193b454439603b403c0395dbcd4b89b6f6107
7
+ - fix: `this` may be undefined in Card(). ([#1922](https://github.com/lynx-family/lynx-stack/pull/1922))
8
+
9
+ - feat: add \_\_GetSourceMapRelease API for nativeApp. ([#1923](https://github.com/lynx-family/lynx-stack/pull/1923))
10
+
11
+ - Updated dependencies [[`fece7d0`](https://github.com/lynx-family/lynx-stack/commit/fece7d0a92fa76948488373757a27dff52a90437), [`ebc1a60`](https://github.com/lynx-family/lynx-stack/commit/ebc1a606318e9809e8a07457e18536b59be12a18)]:
12
+ - @lynx-js/web-mainthread-apis@0.18.3-canary-20251106095636-ebc1a606318e9809e8a07457e18536b59be12a18
13
+ - @lynx-js/web-constants@0.18.3-canary-20251106095636-ebc1a606318e9809e8a07457e18536b59be12a18
14
+ - @lynx-js/web-worker-rpc@0.18.3-canary-20251106095636-ebc1a606318e9809e8a07457e18536b59be12a18
11
15
 
12
16
  ## 0.18.2
13
17
 
@@ -49,7 +49,7 @@ export function createChunkLoading(initialTemplate) {
49
49
  init(lynxCoreInject) {
50
50
  const module = { exports: {} };
51
51
  const tt = lynxCoreInject.tt;
52
- foo(undefined, module, module.exports, lynxCoreInject, tt.Card, tt.setTimeout, tt.setInterval, tt.clearInterval, tt.clearTimeout, tt.NativeModules, tt.Component, tt.ReactLynx, tt.nativeAppId, tt.Behavior, tt.LynxJSBI, tt.lynx,
52
+ foo(undefined, module, module.exports, lynxCoreInject, tt.Card.bind(tt), tt.setTimeout, tt.setInterval, tt.clearInterval, tt.clearTimeout, tt.NativeModules, tt.Component.bind(tt), tt.ReactLynx, tt.nativeAppId, tt.Behavior, tt.LynxJSBI, tt.lynx,
53
53
  // BOM API
54
54
  tt.window, tt.document, tt.frames, tt.location, tt.navigator, tt.localStorage, tt.history, tt.Caches, tt.screen, tt.alert, tt.confirm, tt.prompt, tt.fetch, tt.XMLHttpRequest, tt.webkit, tt.Reporter, tt.print, tt.global, tt.requestAnimationFrame, tt.cancelAnimationFrame);
55
55
  return module.exports;
@@ -75,6 +75,7 @@ export async function createNativeApp(config) {
75
75
  i18nResource,
76
76
  reportException: (err, _) => reportError(err, _, release),
77
77
  __SetSourceMapRelease: (err) => release = err.message,
78
+ __GetSourceMapRelease: (_url) => release,
78
79
  queryComponent: (source, callback) => {
79
80
  if (templateCache.has(source)) {
80
81
  callback({ __hasReady: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-worker-runtime-canary",
3
- "version": "0.18.3-canary-20251106-ffd193b4",
3
+ "version": "0.18.3-canary-20251106-ebc1a606",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "keywords": [],
@@ -23,9 +23,9 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4",
26
- "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.3-canary-20251106-ffd193b4",
27
- "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.3-canary-20251106-ffd193b4",
28
- "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.3-canary-20251106-ffd193b4"
26
+ "@lynx-js/web-constants": "npm:@lynx-js/web-constants-canary@0.18.3-canary-20251106-ebc1a606",
27
+ "@lynx-js/web-mainthread-apis": "npm:@lynx-js/web-mainthread-apis-canary@0.18.3-canary-20251106-ebc1a606",
28
+ "@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.18.3-canary-20251106-ebc1a606"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@lynx-js/lynx-core": "0.1.3"