@lvce-editor/shared-process 0.28.2 → 0.28.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.28.2",
3
+ "version": "0.28.4",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  },
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "^1.2.0",
21
- "@lvce-editor/extension-host-helper-process": "0.28.2",
22
- "@lvce-editor/ipc": "^8.2.0",
21
+ "@lvce-editor/extension-host-helper-process": "0.28.4",
22
+ "@lvce-editor/ipc": "^8.2.1",
23
23
  "@lvce-editor/json-rpc": "^1.3.0",
24
24
  "@lvce-editor/jsonc-parser": "^1.2.0",
25
25
  "@lvce-editor/pretty-error": "^1.5.0",
26
- "@lvce-editor/pty-host": "0.28.2",
26
+ "@lvce-editor/pty-host": "0.28.4",
27
27
  "@lvce-editor/verror": "^1.2.0",
28
28
  "debug": "^4.3.4",
29
29
  "exit-hook": "^4.0.0",
@@ -35,8 +35,8 @@
35
35
  "tail": "^2.2.6",
36
36
  "tmp-promise": "^3.0.3",
37
37
  "trash": "^8.1.1",
38
- "@lvce-editor/network-process": "0.28.2",
39
- "@lvce-editor/search-process": "0.28.2",
40
- "@lvce-editor/typescript-compile-process": "0.28.2"
38
+ "@lvce-editor/network-process": "0.28.4",
39
+ "@lvce-editor/search-process": "0.28.4",
40
+ "@lvce-editor/typescript-compile-process": "0.28.4"
41
41
  }
42
42
  }
@@ -1,6 +1,7 @@
1
1
  import * as Assert from '../Assert/Assert.js';
2
2
  import * as ExtensionHostHelperProcessIpc from '../ExtensionHostHelperProcessIpc/ExtensionHostHelperProcessIpc.js';
3
3
  import * as HandleIpc from '../HandleIpc/HandleIpc.js';
4
+ import * as IpcId from '../IpcId/IpcId.js';
4
5
  import * as IpcParentType from '../IpcParentType/IpcParentType.js';
5
6
  import * as JsonRpc from '../JsonRpc/JsonRpc.js';
6
7
  // TODO connect this ipc to the renderer worker ipc
@@ -14,7 +15,7 @@ export const handleMessagePortForExtensionHostHelperProcess = async (rendererWor
14
15
  method: IpcParentType.ElectronUtilityProcess,
15
16
  });
16
17
  HandleIpc.handleIpc(ipc);
17
- await JsonRpc.invokeAndTransfer(ipc, [port], 'HandleElectronMessagePort.handleElectronMessagePort');
18
+ await JsonRpc.invokeAndTransfer(ipc, [port], 'HandleElectronMessagePort.handleElectronMessagePort', IpcId.ExtensionHostWorker);
18
19
  // const cleanup = () => {
19
20
  // ipc.dispose()
20
21
  // rendererWorkerIpc.off('close', cleanup)
@@ -8,3 +8,4 @@ export const SharedProcess = 1;
8
8
  export const TerminalProcess = 7;
9
9
  export const Unknown = 0;
10
10
  export const ProcessExplorerRenderer = 33;
11
+ export const ExtensionHostWorker = 218;
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
41
41
  export const getSetupName = () => {
42
42
  return 'Lvce-Setup';
43
43
  };
44
- export const version = '0.28.2';
45
- export const commit = 'fe693ea';
46
- export const date = '2024-05-04T08:29:08.000Z';
44
+ export const version = '0.28.4';
45
+ export const commit = '00ff408';
46
+ export const date = '2024-05-05T09:02:33.000Z';
47
47
  export const getVersion = () => {
48
48
  return version;
49
49
  };