@lynx-js/web-worker-runtime 0.16.1 → 0.17.1

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,23 @@
1
1
  # @lynx-js/web-worker-runtime
2
2
 
3
+ ## 0.17.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @lynx-js/web-constants@0.17.1
9
+ - @lynx-js/web-mainthread-apis@0.17.1
10
+ - @lynx-js/web-worker-rpc@0.17.1
11
+
12
+ ## 0.17.0
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [[`721635d`](https://github.com/lynx-family/lynx-stack/commit/721635de6c1d2d617c7cbaa86e7d816c42d62930), [`93d707b`](https://github.com/lynx-family/lynx-stack/commit/93d707b82a59f7256952e21da6dcad2999f8233d), [`d150ed4`](https://github.com/lynx-family/lynx-stack/commit/d150ed440a4f1e9d9a3a2911adf6e6fa39a0c589)]:
17
+ - @lynx-js/web-mainthread-apis@0.17.0
18
+ - @lynx-js/web-constants@0.17.0
19
+ - @lynx-js/web-worker-rpc@0.17.0
20
+
3
21
  ## 0.16.1
4
22
 
5
23
  ### Patch Changes
@@ -48,6 +48,8 @@ export async function createNativeApp(config) {
48
48
  ?.manifest[`/${sourceURL}`];
49
49
  if (manifestUrl)
50
50
  sourceURL = manifestUrl;
51
+ else
52
+ throw Error(`Cannot find ${sourceURL} in manifest`);
51
53
  globalThis.module.exports = null;
52
54
  globalThis.__bundle__holder = null;
53
55
  import(
@@ -62,6 +64,8 @@ export async function createNativeApp(config) {
62
64
  ?.manifest[`/${sourceURL}`];
63
65
  if (manifestUrl)
64
66
  sourceURL = manifestUrl;
67
+ else
68
+ throw Error(`Cannot find ${sourceURL} in manifest`);
65
69
  globalThis.module.exports = null;
66
70
  globalThis.__bundle__holder = null;
67
71
  importScripts(sourceURL);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-worker-runtime",
3
- "version": "0.16.1",
3
+ "version": "0.17.1",
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": "0.1.4",
26
- "@lynx-js/web-constants": "0.16.1",
27
- "@lynx-js/web-mainthread-apis": "0.16.1",
28
- "@lynx-js/web-worker-rpc": "0.16.1"
26
+ "@lynx-js/web-constants": "0.17.1",
27
+ "@lynx-js/web-mainthread-apis": "0.17.1",
28
+ "@lynx-js/web-worker-rpc": "0.17.1"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@lynx-js/lynx-core": "0.1.3"