@lvce-editor/renderer-process 30.69.0 → 30.69.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.
@@ -10881,10 +10881,12 @@ const createForPreview = async (canvasId, objectId, portId, width, height) => {
10881
10881
  canvas.dataset.id = String(canvasId);
10882
10882
  const offscreen = new OffscreenCanvas(width, height);
10883
10883
  const presentation = createCanvasPresentation(canvas, () => set$c(canvasId, undefined));
10884
+ // Keep the receiving port reachable until the sandbox disposes this canvas.
10884
10885
  set$c(canvasId, {
10885
10886
  factory: {},
10886
10887
  state: {
10887
- $Viewlet: canvas
10888
+ $Viewlet: canvas,
10889
+ canvasPresentation: presentation
10888
10890
  }
10889
10891
  });
10890
10892
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.69.0",
3
+ "version": "30.69.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"