@lvce-editor/rpc-registry 9.18.0 → 9.19.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.
@@ -93,6 +93,7 @@ export declare const handleDebugPaused: (params: any) => Promise<void>;
93
93
  export declare const openUri: (uri: string, focus?: boolean, options?: any) => Promise<void>;
94
94
  export declare const sendMessagePortToSyntaxHighlightingWorker: (port: MessagePort) => Promise<void>;
95
95
  export declare const sendMessagePortToBlobWorker: (port: MessagePort, rpcId?: number) => Promise<void>;
96
+ export declare const sendMessagePortToDiffWorker: (port: MessagePort, rpcId?: number) => Promise<void>;
96
97
  export declare const handleDebugScriptParsed: (script: any) => Promise<void>;
97
98
  export declare const getWindowId: () => Promise<number>;
98
99
  export declare const getBlob: (uri: string) => Promise<Blob>;
@@ -314,6 +314,10 @@ export const sendMessagePortToBlobWorker = async (port, rpcId = 0) => {
314
314
  const command = 'Blob.handleMessagePort';
315
315
  await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToBlobWorker', port, command, rpcId);
316
316
  };
317
+ export const sendMessagePortToDiffWorker = async (port, rpcId = 0) => {
318
+ const command = 'Diff.handleMessagePort';
319
+ await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToDiffWorker', port, command, rpcId);
320
+ };
317
321
  export const handleDebugScriptParsed = async (script) => {
318
322
  await invoke('Run And Debug.handleScriptParsed', script);
319
323
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/rpc-registry",
3
- "version": "9.18.0",
3
+ "version": "9.19.0",
4
4
  "description": "Rpc Registry",
5
5
  "repository": {
6
6
  "type": "git",