@lvce-editor/rpc-registry 4.6.0 → 4.7.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.
|
@@ -184,7 +184,7 @@ export const sendMessagePortToRendererProcess = async (port) => {
|
|
|
184
184
|
export const sendMessagePortToTextMeasurementWorker = async (port) => {
|
|
185
185
|
const command = 'TextMeasurement.handleMessagePort';
|
|
186
186
|
// @ts-ignore
|
|
187
|
-
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.
|
|
187
|
+
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToTextMeasurementWorker', port, command, 0);
|
|
188
188
|
};
|
|
189
189
|
export const getPreference = async (key) => {
|
|
190
190
|
return await invoke('Preferences.get', key);
|