@lvce-editor/main-process 2.12.0 → 2.13.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.
@@ -2138,7 +2138,7 @@ const listen$3 = async () => {
2138
2138
  parentPort
2139
2139
  } = await import('node:worker_threads');
2140
2140
  if (!parentPort) {
2141
- throw new IpcError('parentPort is required');
2141
+ throw new IpcError('parentPort is required for node worker threads ipc');
2142
2142
  }
2143
2143
  return parentPort;
2144
2144
  };
@@ -5577,7 +5577,7 @@ const createPidMap = () => {
5577
5577
  };
5578
5578
 
5579
5579
  const rpcs = Object.create(null);
5580
- const set$d = (id, rpc) => {
5580
+ const set$f = (id, rpc) => {
5581
5581
  rpcs[id] = rpc;
5582
5582
  };
5583
5583
  const get = id => {
@@ -5590,7 +5590,7 @@ const createUtilityProcessRpc = async options => {
5590
5590
  ...options
5591
5591
  });
5592
5592
  const rpcId = options.targetRpcId || options.rpcId || options.ipcId;
5593
- set$d(rpcId, rpc);
5593
+ set$f(rpcId, rpc);
5594
5594
  };
5595
5595
 
5596
5596
  const serializeDeskopCapturerSource = source => {
@@ -7041,7 +7041,7 @@ const handleElectronMessagePort = async (messagePort, rpcId) => {
7041
7041
  requiresSocket: requiresSocket
7042
7042
  });
7043
7043
  if (rpcId) {
7044
- set$d(rpcId, rpc);
7044
+ set$f(rpcId, rpc);
7045
7045
  }
7046
7046
  };
7047
7047
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/main-process",
3
- "version": "2.12.0",
3
+ "version": "2.13.0",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "lvce-editor",
@@ -15,7 +15,7 @@
15
15
  "type": "module",
16
16
  "main": "dist/mainProcessMain.js",
17
17
  "dependencies": {
18
- "electron": "36.5.0"
18
+ "electron": "37.0.0"
19
19
  },
20
20
  "engines": {
21
21
  "node": ">=22"