@lvce-editor/extension-management-worker 1.14.0 → 1.15.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.
@@ -1547,10 +1547,14 @@ const getExtensionHostSubWorkerUrl = () => {
1547
1547
  };
1548
1548
  const extensionHostSubWorkerUrl = getExtensionHostSubWorkerUrl();
1549
1549
 
1550
+ // TODO
1551
+
1550
1552
  /**
1551
1553
  * @deprecated use createWebViewWorkerRpc2 which passes the worker url as a parameter
1552
1554
  */
1553
1555
  const createWebViewWorkerRpc = async (rpcInfo, port) => {
1556
+ object(rpcInfo);
1557
+ object(port);
1554
1558
  // TODO this function is called from the iframe worker to create a direct
1555
1559
  // connection between a webview/iframe and it's webworker. For this to work
1556
1560
  // the iframe worker creates a messagechannel and sends one messageport to the webview
@@ -1559,7 +1563,7 @@ const createWebViewWorkerRpc = async (rpcInfo, port) => {
1559
1563
 
1560
1564
  // TODO have a way so that the worker already includes the webview api and the extension
1561
1565
  // host subworker doesn't need to import the other file
1562
- await invokeAndTransfer('IpcParent.create', {
1566
+ await invokeAndTransfer$1('IpcParent.create', {
1563
1567
  method: ModuleWorkerAndWorkaroundForChromeDevtoolsBug,
1564
1568
  name: rpcInfo.name,
1565
1569
  port,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-management-worker",
3
- "version": "1.14.0",
3
+ "version": "1.15.0",
4
4
  "description": "Webworker for the Extension Management functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"