@lvce-editor/rpc-registry 9.42.0 → 9.44.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 CHANGED
@@ -10,7 +10,3 @@ cd rpc-registry &&
10
10
  npm ci &&
11
11
  npm test
12
12
  ```
13
-
14
- ## Gitpod
15
-
16
- [![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/lvce-editor/rpc-registry)
@@ -0,0 +1,9 @@
1
+ export interface BasicAuthChallenge {
2
+ readonly host: string;
3
+ readonly isProxy: boolean;
4
+ readonly port: number;
5
+ readonly realm: string;
6
+ readonly requestId: string;
7
+ readonly scheme: string;
8
+ readonly url: string;
9
+ }
@@ -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>;
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/rpc-registry",
3
- "version": "9.42.0",
3
+ "version": "9.44.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.22.0",
16
+ "@lvce-editor/constants": "^5.23.0",
17
17
  "@lvce-editor/rpc": "^6.4.0"
18
18
  },
19
19
  "exports": "./dist/index.js",