@remix_labs/hub-client 2.1845.0-dev → 2.1852.0-dev

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.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,12 +1,15 @@
1
+ /*
1
2
  function workerify(code) {
2
3
  let blob = new Blob([code], {type: 'application/javascript'});
3
4
  return new globalThis.Worker(URL.createObjectURL(blob));
4
5
  }
6
+ */
5
7
 
6
- import HubWorker from './hub-worker.worker.js';
8
+ import HubWorker from './hub-worker.worker.js?worker&inline';
7
9
 
8
10
  function GetHubWorker() {
9
- return workerify(HubWorker);
11
+ return HubWorker;
12
+ //return workerify(HubWorker);
10
13
  }
11
14
 
12
15
  globalThis.GetHubWorker = GetHubWorker;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix_labs/hub-client",
3
- "version": "2.1845.0-dev",
3
+ "version": "2.1852.0-dev",
4
4
  "description": "talk to the Hub web worker",
5
5
  "main": "node.js",
6
6
  "browser": "index.js",