@lvce-editor/chat-tool-worker 7.3.0 → 7.5.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.
@@ -1375,13 +1375,17 @@ const commandMap = {
1375
1375
  'HandleMessagePort.handleMessagePort': handleMessagePort
1376
1376
  };
1377
1377
 
1378
- const listen = async () => {
1378
+ const initializeRendererWorker = async () => {
1379
1379
  const rpc = await create$1({
1380
1380
  commandMap: commandMap
1381
1381
  });
1382
1382
  set(rpc);
1383
1383
  };
1384
1384
 
1385
+ const listen = async () => {
1386
+ await initializeRendererWorker();
1387
+ };
1388
+
1385
1389
  const main = async () => {
1386
1390
  await listen();
1387
1391
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/chat-tool-worker",
3
- "version": "7.3.0",
3
+ "version": "7.5.0",
4
4
  "description": "Chat Tool Worker",
5
5
  "repository": {
6
6
  "type": "git",