@lvce-editor/rpc-registry 9.43.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.
- package/README.md +0 -4
- package/dist/parts/BasicAuthChallenge/BasicAuthChallenge.d.ts +9 -0
- package/dist/parts/BasicAuthChallenge/BasicAuthChallenge.js +1 -0
- package/dist/parts/EmbedsProcessApi/EmbedsProcessApi.d.ts +2 -0
- package/dist/parts/RendererWorker/RendererWorker.js +5 -1
- package/dist/parts/RendererWorkerApi/RendererWorkerApi.d.ts +5 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export interface EmbedsProcessApi {
|
|
2
2
|
readonly 'ElectronWebContents.dispose': (id: any) => Promise<void>;
|
|
3
|
+
readonly 'ElectronWebContentsView.acceptLogin': (requestId: string, username: string, password: string) => Promise<void>;
|
|
3
4
|
readonly 'ElectronWebContentsView.attachEventListeners': (webContentsId: any) => Promise<void>;
|
|
4
5
|
readonly 'ElectronWebContentsView.backward': (id: any) => Promise<void>;
|
|
6
|
+
readonly 'ElectronWebContentsView.cancelLogin': (requestId: string) => Promise<void>;
|
|
5
7
|
readonly 'ElectronWebContentsView.cancelNavigation': (id: any) => Promise<any>;
|
|
6
8
|
readonly 'ElectronWebContentsView.copyImageAt': (id: any, x: number, y: number) => Promise<void>;
|
|
7
9
|
readonly 'ElectronWebContentsView.createWebContentsView': (webContentsId: any) => Promise<any>;
|
|
@@ -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',
|
|
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');
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { BasicAuthChallenge } from '../BasicAuthChallenge/BasicAuthChallenge.ts';
|
|
1
2
|
import type { BulkReplacementEdit } from '../BulkReplacementEdit/BulkReplacementEdit.ts';
|
|
2
3
|
import type { ConfirmPromptOptions } from '../ConfirmPromptOptions/ConfirmPromptOptions.ts';
|
|
3
4
|
import type { SearchResult } from '../SearchResult/SearchResult.ts';
|
|
@@ -80,6 +81,9 @@ export interface RendererWorkerApi {
|
|
|
80
81
|
readonly 'EditorCompletion.selectCurrentIndex': () => Promise<void>;
|
|
81
82
|
readonly 'EditorCompletion.selectIndex': (index: number) => Promise<void>;
|
|
82
83
|
readonly 'EditorSourceActions.selectCurrent': () => Promise<void>;
|
|
84
|
+
readonly 'ElectronBrowserView.acceptLogin': (requestId: string, username: string, password: string) => Promise<void>;
|
|
85
|
+
readonly 'ElectronBrowserView.cancelLogin': (requestId: string) => Promise<void>;
|
|
86
|
+
readonly 'ElectronBrowserView.handleLogin': (webContentsId: string, challenge: BasicAuthChallenge) => Promise<void>;
|
|
83
87
|
readonly 'ElectronDialog.showMessageBox': (options: any) => Promise<any>;
|
|
84
88
|
readonly 'ElectronWindow.close': () => Promise<void>;
|
|
85
89
|
readonly 'ElectronWindow.maximize': () => Promise<void>;
|
|
@@ -200,7 +204,7 @@ export interface RendererWorkerApi {
|
|
|
200
204
|
readonly 'Main.focusNext': () => Promise<void>;
|
|
201
205
|
readonly 'Main.focusPrevious': () => Promise<void>;
|
|
202
206
|
readonly 'Main.openKeyBindings': () => Promise<void>;
|
|
203
|
-
readonly 'Main.openUri': (
|
|
207
|
+
readonly 'Main.openUri': (options: any) => Promise<void>;
|
|
204
208
|
readonly 'Main.splitRight': () => Promise<void>;
|
|
205
209
|
readonly 'Markdown.renderMarkdown': (markdown: string, options: any) => Promise<string>;
|
|
206
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.
|
|
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.
|
|
16
|
+
"@lvce-editor/constants": "^5.24.0",
|
|
17
17
|
"@lvce-editor/rpc": "^6.4.0"
|
|
18
18
|
},
|
|
19
19
|
"exports": "./dist/index.js",
|