@lvce-editor/extension-host-worker 5.0.0 → 5.2.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.
@@ -2047,7 +2047,7 @@ const listen$1 = async (module, options) => {
2047
2047
  const ipc = module.wrap(rawIpc);
2048
2048
  return ipc;
2049
2049
  };
2050
- const create$8 = async ({
2050
+ const create$9 = async ({
2051
2051
  commandMap,
2052
2052
  messagePort
2053
2053
  }) => {
@@ -2062,9 +2062,9 @@ const create$8 = async ({
2062
2062
  };
2063
2063
  const MessagePortRpcClient = {
2064
2064
  __proto__: null,
2065
- create: create$8
2065
+ create: create$9
2066
2066
  };
2067
- const create$7 = async ({
2067
+ const create$8 = async ({
2068
2068
  commandMap,
2069
2069
  messagePort,
2070
2070
  isMessagePortOpen
@@ -2082,7 +2082,7 @@ const create$7 = async ({
2082
2082
  };
2083
2083
  const MessagePortRpcParent = {
2084
2084
  __proto__: null,
2085
- create: create$7
2085
+ create: create$8
2086
2086
  };
2087
2087
  const create$1$1 = async ({
2088
2088
  commandMap,
@@ -2102,7 +2102,7 @@ const WebSocketRpcParent = {
2102
2102
  __proto__: null,
2103
2103
  create: create$1$1
2104
2104
  };
2105
- const create$9 = async ({
2105
+ const create$7 = async ({
2106
2106
  commandMap
2107
2107
  }) => {
2108
2108
  // TODO create a commandMap per rpc instance
@@ -2114,7 +2114,7 @@ const create$9 = async ({
2114
2114
  };
2115
2115
  const WebWorkerRpcClient = {
2116
2116
  __proto__: null,
2117
- create: create$9
2117
+ create: create$7
2118
2118
  };
2119
2119
 
2120
2120
  const getPortTuple = () => {
@@ -2191,6 +2191,8 @@ const create$5 = async ({
2191
2191
  type
2192
2192
  }) => {
2193
2193
  const port = await getPort();
2194
+ // TODO rpc module should start port
2195
+ port.start();
2194
2196
  const rpc = await MessagePortRpcParent.create({
2195
2197
  messagePort: port,
2196
2198
  isMessagePortOpen: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/extension-host-worker",
3
- "version": "5.0.0",
3
+ "version": "5.2.0",
4
4
  "description": "Webworker for the extension host functionality in Lvce Editor.",
5
5
  "keywords": [
6
6
  "web-worker"