@lvce-editor/shared-process 0.88.0 → 0.89.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.88.0",
3
+ "version": "0.89.1",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -19,19 +19,19 @@
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "1.7.0",
21
21
  "@lvce-editor/auth-process": "1.8.0",
22
- "@lvce-editor/extension-host-helper-process": "0.88.0",
22
+ "@lvce-editor/extension-host-helper-process": "0.89.1",
23
23
  "@lvce-editor/ipc": "16.3.0",
24
24
  "@lvce-editor/json-rpc": "8.2.0",
25
25
  "@lvce-editor/jsonc-parser": "1.5.0",
26
26
  "@lvce-editor/pretty-error": "2.0.0",
27
- "@lvce-editor/process-explorer": "3.8.0",
27
+ "@lvce-editor/process-explorer": "3.10.0",
28
28
  "@lvce-editor/rpc-registry": "9.33.0",
29
29
  "@lvce-editor/verror": "1.7.0",
30
30
  "is-object": "^1.0.2",
31
31
  "xdg-basedir": "^5.1.0"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@lvce-editor/embeds-process": "4.9.0",
34
+ "@lvce-editor/embeds-process": "4.9.1",
35
35
  "@lvce-editor/file-system-process": "5.3.0",
36
36
  "@lvce-editor/file-watcher-process": "4.2.0",
37
37
  "@lvce-editor/network-process": "5.2.0",
@@ -3,6 +3,6 @@ import { fileURLToPath } from 'url'
3
3
 
4
4
  export const getBuiltinExtensionsPath = () => {
5
5
  const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'))
6
- const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '684b9f1', 'extensions')
6
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', 'd7a85a3', 'extensions')
7
7
  return builtinExtensionsPath
8
8
  }
@@ -26,13 +26,20 @@ const getIpcAndResponse = (module, handle, message) => {
26
26
  if (IsSocket.isSocket(handle)) {
27
27
  return HandleIncomingIpcWebSocket.handleIncomingIpcWebSocket(module, handle, message)
28
28
  }
29
+ if (handle?.constructor === Object && Object.keys(handle).length === 0) {
30
+ return undefined
31
+ }
29
32
  throw new Error(`Unexpected ipc handle: ${strinfyHandle(handle)}`)
30
33
  }
31
34
 
32
35
  export const handleIncomingIpc = async (ipcId, handle, message) => {
33
36
  Assert.number(ipcId)
34
37
  const module = HandleIpcModule.getModule(ipcId)
35
- const { response, target } = await getIpcAndResponse(module, handle, message)
38
+ const ipcAndResponse = await getIpcAndResponse(module, handle, message)
39
+ if (!ipcAndResponse) {
40
+ return
41
+ }
42
+ const { response, target } = ipcAndResponse
36
43
  const error = await ApplyIncomingIpcResponse.applyIncomingIpcResponse(target, response, ipcId)
37
44
  if (!error) {
38
45
  return
@@ -61,11 +61,11 @@ export const getSetupName = () => {
61
61
  return 'Lvce-Setup'
62
62
  }
63
63
 
64
- export const version = '0.88.0'
64
+ export const version = '0.89.1'
65
65
 
66
- export const commit = '684b9f1'
66
+ export const commit = 'd7a85a3'
67
67
 
68
- export const date = '2026-07-13T14:15:52.000Z'
68
+ export const date = '2026-07-14T10:09:23.000Z'
69
69
 
70
70
  export const getVersion = () => {
71
71
  return version
@@ -2,5 +2,5 @@ import { join } from 'node:path'
2
2
  import * as Root from '../Root/Root.js'
3
3
 
4
4
  export const getPreloadUrl = () => {
5
- return join(Root.root, 'static', '684b9f1', 'packages', 'preload', 'dist', 'index.js')
5
+ return join(Root.root, 'static', 'd7a85a3', 'packages', 'preload', 'dist', 'index.js')
6
6
  }