@lvce-editor/extension-management-worker 4.19.0 → 4.21.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.
|
@@ -3148,6 +3148,10 @@ const setPreference = async (key, value) => {
|
|
|
3148
3148
|
});
|
|
3149
3149
|
};
|
|
3150
3150
|
|
|
3151
|
+
const sendMessagePortToElectron = async (port, initialCommand) => {
|
|
3152
|
+
await invokeAndTransfer$1('SendMessagePortToElectron.sendMessagePortToElectron', port, initialCommand);
|
|
3153
|
+
};
|
|
3154
|
+
|
|
3151
3155
|
const sendMessagePortToFileSystemWorker = async port => {
|
|
3152
3156
|
await sendMessagePortToFileSystemWorker$1(port, 0);
|
|
3153
3157
|
};
|
|
@@ -3213,6 +3217,7 @@ const commandMap = {
|
|
|
3213
3217
|
'Extensions.renderViewInstance': renderViewInstance,
|
|
3214
3218
|
'Extensions.requestViewRerender': requestViewRerender,
|
|
3215
3219
|
'Extensions.saveViewInstanceState': saveViewInstanceState,
|
|
3220
|
+
'Extensions.sendMessagePortToElectron': sendMessagePortToElectron,
|
|
3216
3221
|
'Extensions.sendMessagePortToFileSystemWorker': sendMessagePortToFileSystemWorker,
|
|
3217
3222
|
'Extensions.setPreference': setPreference,
|
|
3218
3223
|
'Extensions.showViewContextMenu': showViewContextMenu,
|