@lvce-editor/rpc-registry 4.8.0 → 5.0.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.
|
@@ -9,6 +9,9 @@ export const searchFileHtml = async (uri) => {
|
|
|
9
9
|
export const getFilePathElectron = async (file) => {
|
|
10
10
|
return invoke('FileSystemHandle.getFilePathElectron', file);
|
|
11
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
12
15
|
export const showContextMenu = async (x, y, id, ...args) => {
|
|
13
16
|
return invoke('ContextMenu.show', x, y, id, ...args);
|
|
14
17
|
};
|
|
@@ -189,7 +192,7 @@ export const sendMessagePortToTextMeasurementWorker = async (port) => {
|
|
|
189
192
|
export const sendMessagePortToSourceControlWorker = async (port) => {
|
|
190
193
|
const command = 'SourceControl.handleMessagePort';
|
|
191
194
|
// @ts-ignore
|
|
192
|
-
await invokeAndTransfer('
|
|
195
|
+
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToSourceControlWorker', port, command, 0);
|
|
193
196
|
};
|
|
194
197
|
export const getPreference = async (key) => {
|
|
195
198
|
return await invoke('Preferences.get', key);
|