@lvce-editor/test-worker 9.3.0 → 9.4.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/dist/api.d.ts CHANGED
@@ -252,6 +252,7 @@ interface ExtensionDetail {
252
252
  readonly handleClickDisable: () => Promise<void>;
253
253
  readonly handleClickEnable: () => Promise<void>;
254
254
  readonly handleClickSetColorTheme: () => Promise<void>;
255
+ readonly handleReadmeContextMenu: (x: number, y: number, nodeName: string, href: string) => Promise<void>;
255
256
  readonly handleScroll: (scrollTop: number) => Promise<void>;
256
257
  readonly open: (extensionId: string) => Promise<void>;
257
258
  readonly openCommands: () => Promise<void>;
@@ -2406,6 +2406,10 @@ const handleClickCategory = async categoryId => {
2406
2406
  // @ts-ignore
2407
2407
  await invoke$1('ExtensionDetail.handleClickCategory', categoryId);
2408
2408
  };
2409
+ const handleReadmeContextMenu = async (x, y, nodeName, href) => {
2410
+ // @ts-ignore
2411
+ await invoke$1('ExtensionDetail.handleReadmeContextMenu', x, y, nodeName, href);
2412
+ };
2409
2413
  const handleClickEnable = async () => {
2410
2414
  // @ts-ignore
2411
2415
  await invoke$1('ExtensionDetail.handleClickEnable');
@@ -2470,6 +2474,7 @@ const ExtensionDetail = {
2470
2474
  handleClickDisable,
2471
2475
  handleClickEnable,
2472
2476
  handleClickSetColorTheme,
2477
+ handleReadmeContextMenu,
2473
2478
  handleScroll: handleScroll$1,
2474
2479
  open: open$5,
2475
2480
  openCommands,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "9.3.0",
3
+ "version": "9.4.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",