@lvce-editor/shared-process 0.93.21 → 0.93.22

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.
@@ -39,7 +39,6 @@
39
39
  "simpleBrowser.suggestions": false,
40
40
 
41
41
  "terminal.backend": "real",
42
- "terminal.renderer": "xterm",
43
42
  "terminal.separateConnection": false,
44
43
 
45
44
  "window.titleBarStyle": "custom",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.93.21",
3
+ "version": "0.93.22",
4
4
  "main": "index.js",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -19,7 +19,7 @@
19
19
  "dependencies": {
20
20
  "@lvce-editor/assert": "1.7.0",
21
21
  "@lvce-editor/auth-process": "1.10.0",
22
- "@lvce-editor/extension-host-helper-process": "0.93.21",
22
+ "@lvce-editor/extension-host-helper-process": "0.93.22",
23
23
  "@lvce-editor/ipc": "16.4.0",
24
24
  "@lvce-editor/json-rpc": "8.3.0",
25
25
  "@lvce-editor/jsonc-parser": "1.5.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', '733d014', 'extensions')
6
+ const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '15138bb', 'extensions')
7
7
  return builtinExtensionsPath
8
8
  }
@@ -26,6 +26,9 @@ export const signal = (port) => {
26
26
 
27
27
  const getActualData = (event) => {
28
28
  const { data, ports } = event
29
+ if (!data) {
30
+ return data
31
+ }
29
32
  if (ports.length > 0) {
30
33
  return {
31
34
  ...data,
@@ -62,8 +65,12 @@ export const wrap = (port) => {
62
65
  case 'message':
63
66
  // @ts-ignore
64
67
  this.wrappedListener = (event) => {
68
+ const data = getActualData(event)
69
+ if (!data) {
70
+ return
71
+ }
65
72
  const syntheticEvent = {
66
- data: getActualData(event),
73
+ data,
67
74
  target: this,
68
75
  }
69
76
  listener(syntheticEvent)
@@ -61,11 +61,11 @@ export const getSetupName = () => {
61
61
  return 'Lvce-Setup'
62
62
  }
63
63
 
64
- export const version = '0.93.21'
64
+ export const version = '0.93.22'
65
65
 
66
- export const commit = '733d014'
66
+ export const commit = '15138bb'
67
67
 
68
- export const date = '2026-07-25T21:22:43.000Z'
68
+ export const date = '2026-07-25T22:39:45.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', '733d014', 'packages', 'preload', 'dist', 'index.js')
5
+ return join(Root.root, 'static', '15138bb', 'packages', 'preload', 'dist', 'index.js')
6
6
  }