@lvce-editor/rpc-registry 9.44.0 → 9.45.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.
@@ -345,7 +345,11 @@ export const handleDebugPaused = async (params) => {
345
345
  await invoke('Run And Debug.handlePaused', params);
346
346
  };
347
347
  export const openUri = async (uri, focus, options) => {
348
- await invoke('Main.openUri', uri, focus, options);
348
+ await invoke('Main.openUri', {
349
+ ...options,
350
+ focus,
351
+ uri,
352
+ });
349
353
  };
350
354
  export const sendMessagePortToSyntaxHighlightingWorker = async (port) => {
351
355
  await invokeAndTransfer('SendMessagePortToSyntaxHighlightingWorker.sendMessagePortToSyntaxHighlightingWorker', port, 'HandleMessagePort.handleMessagePort2');
@@ -204,7 +204,7 @@ export interface RendererWorkerApi {
204
204
  readonly 'Main.focusNext': () => Promise<void>;
205
205
  readonly 'Main.focusPrevious': () => Promise<void>;
206
206
  readonly 'Main.openKeyBindings': () => Promise<void>;
207
- readonly 'Main.openUri': (uri: string, focus?: boolean, props?: any) => Promise<void>;
207
+ readonly 'Main.openUri': (options: any) => Promise<void>;
208
208
  readonly 'Main.splitRight': () => Promise<void>;
209
209
  readonly 'Markdown.renderMarkdown': (markdown: string, options: any) => Promise<string>;
210
210
  readonly 'Menu.selectItem': (text: string) => Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/rpc-registry",
3
- "version": "9.44.0",
3
+ "version": "9.45.0",
4
4
  "description": "Rpc Registry",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,7 +13,7 @@
13
13
  "main": "dist/index.js",
14
14
  "dependencies": {
15
15
  "@lvce-editor/assert": "^1.5.1",
16
- "@lvce-editor/constants": "^5.23.0",
16
+ "@lvce-editor/constants": "^5.24.0",
17
17
  "@lvce-editor/rpc": "^6.4.0"
18
18
  },
19
19
  "exports": "./dist/index.js",