@lvce-editor/test-worker 9.4.0 → 9.6.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
@@ -270,6 +270,7 @@ interface ExtensionDetail {
270
270
  }
271
271
 
272
272
  interface ExtensionSearch {
273
+ readonly clearSearchResults: () => Promise<void>;
273
274
  readonly copyExtensionId: () => Promise<void>;
274
275
  readonly copyExtensionInfo: () => Promise<void>;
275
276
  readonly handleContextMenu: (button: number, x: number, y: number) => Promise<void>;
@@ -1113,6 +1113,10 @@ const createLazyRpc = rpcId => {
1113
1113
  };
1114
1114
  };
1115
1115
 
1116
+ const handleFileWatcherEvent = async event => {
1117
+ // console.log('event')
1118
+ };
1119
+
1116
1120
  // @ts-nocheck
1117
1121
 
1118
1122
  const getPlatform = () => {
@@ -3935,7 +3939,8 @@ const execute = async (href, platform, assetDir) => {
3935
3939
 
3936
3940
  const commandMap = {
3937
3941
  'Test.execute': execute,
3938
- 'Test.executeMock': executeMock
3942
+ 'Test.executeMock': executeMock,
3943
+ 'FileWatcher.handleEvent': handleFileWatcherEvent
3939
3944
  };
3940
3945
 
3941
3946
  const send = async port => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/test-worker",
3
- "version": "9.4.0",
3
+ "version": "9.6.0",
4
4
  "description": "Test Worker",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,7 +11,7 @@
11
11
  "type": "module",
12
12
  "main": "dist/testWorkerMain.js",
13
13
  "dependencies": {
14
- "@lvce-editor/constants": "^1.28.0"
14
+ "@lvce-editor/constants": "^1.30.0"
15
15
  },
16
16
  "types": "dist/api.d.ts"
17
17
  }