@lynx-js/web-worker-runtime 0.13.4 → 0.13.5
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,5 +1,17 @@
|
|
|
1
1
|
# @lynx-js/web-worker-runtime
|
|
2
2
|
|
|
3
|
+
## 0.13.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- refactor: implement mts apis in closure pattern ([#1004](https://github.com/lynx-family/lynx-stack/pull/1004))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`70b82d2`](https://github.com/lynx-family/lynx-stack/commit/70b82d23744d6b6ec945dff9f8895ab3488ba4c8), [`5651e24`](https://github.com/lynx-family/lynx-stack/commit/5651e24827358963c3261252bcc53c2ad981c13e), [`9499ea9`](https://github.com/lynx-family/lynx-stack/commit/9499ea91debdf73b2d31af0b31bcbc216135543b), [`50f0193`](https://github.com/lynx-family/lynx-stack/commit/50f01933942268b697bf5abe790da86c932f1dfc), [`57bf0ef`](https://github.com/lynx-family/lynx-stack/commit/57bf0ef19f1d79bc52ab6a4f0cd2939e7901d98b), [`5651e24`](https://github.com/lynx-family/lynx-stack/commit/5651e24827358963c3261252bcc53c2ad981c13e), [`0525fbf`](https://github.com/lynx-family/lynx-stack/commit/0525fbf38baa7a977a7a8c66e8a4d8bf34cc3b68), [`b6b87fd`](https://github.com/lynx-family/lynx-stack/commit/b6b87fd11dbc76c28f3b5022aa8c6afeb773d90f), [`c014327`](https://github.com/lynx-family/lynx-stack/commit/c014327ad0cf599b32d4182d95116b46c35f5fa5)]:
|
|
10
|
+
- @lynx-js/web-mainthread-apis@0.13.5
|
|
11
|
+
- @lynx-js/web-constants@0.13.5
|
|
12
|
+
- @lynx-js/offscreen-document@0.1.1
|
|
13
|
+
- @lynx-js/web-worker-rpc@0.13.5
|
|
14
|
+
|
|
3
15
|
## 0.13.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type MainThreadGlobalThis } from '@lynx-js/web-constants';
|
|
2
2
|
import type { Rpc } from '@lynx-js/web-worker-rpc';
|
|
3
|
-
export declare function registerUpdateDataHandler(rpc: Rpc, runtime:
|
|
3
|
+
export declare function registerUpdateDataHandler(rpc: Rpc, runtime: MainThreadGlobalThis): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Copyright 2023 The Lynx Authors. All rights reserved.
|
|
2
2
|
// Licensed under the Apache License Version 2.0 that can be found in the
|
|
3
3
|
// LICENSE file in the root directory of this source tree.
|
|
4
|
-
import { updateDataEndpoint } from '@lynx-js/web-constants';
|
|
4
|
+
import { updateDataEndpoint, } from '@lynx-js/web-constants';
|
|
5
5
|
export function registerUpdateDataHandler(rpc, runtime) {
|
|
6
6
|
rpc.registerHandler(updateDataEndpoint, (...args) => {
|
|
7
7
|
runtime.updatePage?.(...args);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-worker-runtime",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@lynx-js/offscreen-document": "0.1.
|
|
26
|
-
"@lynx-js/web-constants": "0.13.
|
|
27
|
-
"@lynx-js/web-mainthread-apis": "0.13.
|
|
28
|
-
"@lynx-js/web-worker-rpc": "0.13.
|
|
25
|
+
"@lynx-js/offscreen-document": "0.1.1",
|
|
26
|
+
"@lynx-js/web-constants": "0.13.5",
|
|
27
|
+
"@lynx-js/web-mainthread-apis": "0.13.5",
|
|
28
|
+
"@lynx-js/web-worker-rpc": "0.13.5"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@lynx-js/lynx-core": "0.1.2"
|