@lvce-editor/shared-process 0.41.8 → 0.42.1
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/package.json +3 -3
- package/src/parts/BuiltinExtensionsPath/BuiltinExtensionsPath.js +1 -1
- package/src/parts/ModuleMap/ModuleMap.js +1 -0
- package/src/parts/Platform/Platform.js +3 -3
- package/src/parts/WebViewServer/WebViewServer.ipc.js +1 -0
- package/src/parts/WebViewServer/WebViewServer.js +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lvce-editor/shared-process",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.42.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@lvce-editor/assert": "^1.3.0",
|
|
21
|
-
"@lvce-editor/extension-host-helper-process": "0.
|
|
21
|
+
"@lvce-editor/extension-host-helper-process": "0.42.1",
|
|
22
22
|
"@lvce-editor/ipc": "^12.2.0",
|
|
23
23
|
"@lvce-editor/json-rpc": "^5.4.0",
|
|
24
24
|
"@lvce-editor/jsonc-parser": "^1.5.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@lvce-editor/embeds-process": "^1.6.0",
|
|
33
33
|
"@lvce-editor/network-process": "^2.1.0",
|
|
34
34
|
"@lvce-editor/preload": "^1.4.0",
|
|
35
|
-
"@lvce-editor/preview-process": "^
|
|
35
|
+
"@lvce-editor/preview-process": "^7.2.0",
|
|
36
36
|
"@lvce-editor/pty-host": "^3.0.0",
|
|
37
37
|
"@lvce-editor/search-process": "^4.0.1",
|
|
38
38
|
"@lvce-editor/typescript-compile-process": "^2.1.0",
|
|
@@ -2,6 +2,6 @@ import { join } from 'path';
|
|
|
2
2
|
import { fileURLToPath } from 'url';
|
|
3
3
|
export const getBuiltinExtensionsPath = () => {
|
|
4
4
|
const staticServerPath = fileURLToPath(import.meta.resolve('@lvce-editor/static-server'));
|
|
5
|
-
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '
|
|
5
|
+
const builtinExtensionsPath = join(staticServerPath, '..', '..', 'static', '9cda6b3', 'extensions');
|
|
6
6
|
return builtinExtensionsPath;
|
|
7
7
|
};
|
|
@@ -286,6 +286,7 @@ export const getModuleId = (commandId) => {
|
|
|
286
286
|
case 'WebViewServer.start':
|
|
287
287
|
case 'WebViewServer.setHandler':
|
|
288
288
|
case 'WebViewServer.registerProtocol':
|
|
289
|
+
case 'WebViewServer.setInfo':
|
|
289
290
|
return ModuleId.WebViewServer;
|
|
290
291
|
case 'GetExtensions.getExtensions':
|
|
291
292
|
return ModuleId.GetExtensions;
|
|
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
|
|
|
41
41
|
export const getSetupName = () => {
|
|
42
42
|
return 'Lvce-Setup';
|
|
43
43
|
};
|
|
44
|
-
export const version = '0.
|
|
45
|
-
export const commit = '
|
|
46
|
-
export const date = '2024-12-
|
|
44
|
+
export const version = '0.42.1';
|
|
45
|
+
export const commit = '9cda6b3';
|
|
46
|
+
export const date = '2024-12-24T12:57:10.000Z';
|
|
47
47
|
export const getVersion = () => {
|
|
48
48
|
return version;
|
|
49
49
|
};
|
|
@@ -10,3 +10,6 @@ export const start = async (previewId, port) => {
|
|
|
10
10
|
export const setHandler = async (previewId, frameAncestors, webViewRoot, contentSecurityPolicy, iframeContent) => {
|
|
11
11
|
await PreviewProcess.invoke('WebViewServer.setHandler', previewId, frameAncestors, webViewRoot, contentSecurityPolicy, iframeContent);
|
|
12
12
|
};
|
|
13
|
+
export const setInfo = async (...args) => {
|
|
14
|
+
await PreviewProcess.invoke('WebViewServer.setInfo', ...args);
|
|
15
|
+
};
|