@lvce-editor/renderer-process 30.34.1 → 30.34.2
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.
|
@@ -9572,9 +9572,13 @@ const getFilePathElectron = async file => {
|
|
|
9572
9572
|
return filePath;
|
|
9573
9573
|
};
|
|
9574
9574
|
|
|
9575
|
+
const forwardRendererWorkerCommand = (method, ...params) => {
|
|
9576
|
+
send$1(method, ...params);
|
|
9577
|
+
};
|
|
9575
9578
|
const handleMessagePort = async (port, rpcId) => {
|
|
9576
9579
|
const rpc = await create$x({
|
|
9577
9580
|
commandMap: {
|
|
9581
|
+
'Viewlet.forwardRendererWorkerCommand': forwardRendererWorkerCommand,
|
|
9578
9582
|
'Viewlet.queueCommands': queueCommands
|
|
9579
9583
|
},
|
|
9580
9584
|
messagePort: port
|