@lvce-editor/shared-process 0.34.7 → 0.34.8

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.34.7",
3
+ "version": "0.34.8",
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.34.7",
21
+ "@lvce-editor/extension-host-helper-process": "0.34.8",
22
22
  "@lvce-editor/ipc": "^11.0.1",
23
23
  "@lvce-editor/json-rpc": "^4.0.0",
24
24
  "@lvce-editor/jsonc-parser": "^1.4.0",
@@ -35,7 +35,7 @@
35
35
  "@lvce-editor/typescript-compile-process": "^1.2.0",
36
36
  "@lvce-editor/pty-host": "^2.0.0",
37
37
  "@lvce-editor/embeds-process": "^1.5.0",
38
- "@lvce-editor/preview-process": "^3.2.0",
38
+ "@lvce-editor/preview-process": "^3.4.0",
39
39
  "open": "^10.1.0",
40
40
  "tail": "^2.2.6",
41
41
  "tmp-promise": "^3.0.3",
@@ -41,9 +41,9 @@ export const getAppImageName = () => {
41
41
  export const getSetupName = () => {
42
42
  return 'Lvce-Setup';
43
43
  };
44
- export const version = '0.34.7';
45
- export const commit = '3684d34';
46
- export const date = '2024-09-15T16:40:14.000Z';
44
+ export const version = '0.34.8';
45
+ export const commit = '9c1833e';
46
+ export const date = '2024-09-16T21:51:58.000Z';
47
47
  export const getVersion = () => {
48
48
  return version;
49
49
  };
@@ -1,6 +1,7 @@
1
1
  import * as PreviewProcess from '../PreviewProcess/PreviewProcess.js';
2
2
  import * as ParentIpc from '../ParentIpc/ParentIpc.js';
3
3
  import * as GetPortTuple from '../GetPortTuple/GetPortTuple.js';
4
+ // TODO send port directly to from preview process to renderer worker?
4
5
  export const registerProtocol = async () => {
5
6
  // TODO only do this once
6
7
  // TODO send messageport to proview process
@@ -21,6 +22,6 @@ export const create = async (previewId) => {
21
22
  export const start = async (previewId, port) => {
22
23
  await PreviewProcess.invoke('WebViewServer.start', previewId, port);
23
24
  };
24
- export const setHandler = async (previewId, frameAncestors, webViewRoot) => {
25
- await PreviewProcess.invoke('WebViewServer.setHandler', previewId, frameAncestors, webViewRoot);
25
+ export const setHandler = async (previewId, frameAncestors, webViewRoot, contentSecurityPolicy, iframeContent) => {
26
+ await PreviewProcess.invoke('WebViewServer.setHandler', previewId, frameAncestors, webViewRoot, contentSecurityPolicy, iframeContent);
26
27
  };