@lvce-editor/renderer-process 30.41.2 → 30.42.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/rendererProcessMain.js +10 -3
- package/package.json +1 -1
|
@@ -3295,9 +3295,16 @@ const hydrate$4 = async () => {
|
|
|
3295
3295
|
};
|
|
3296
3296
|
const handleMessagePort$1 = async port => {
|
|
3297
3297
|
if (!state$b.rpc) {
|
|
3298
|
-
|
|
3298
|
+
const result = await hydrate$4();
|
|
3299
|
+
if (isError(result)) {
|
|
3300
|
+
throw result.error;
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
const rpc = state$b.rpc;
|
|
3304
|
+
if (!rpc) {
|
|
3305
|
+
throw new Error('Drag And Drop Worker failed to initialize');
|
|
3299
3306
|
}
|
|
3300
|
-
await
|
|
3307
|
+
await rpc.invokeAndTransfer('DragAndDrop.handleMessagePort', port);
|
|
3301
3308
|
};
|
|
3302
3309
|
|
|
3303
3310
|
const downloadFile = (fileName, url) => {
|
|
@@ -10658,7 +10665,7 @@ const hydrate = async () => {
|
|
|
10658
10665
|
return success(undefined);
|
|
10659
10666
|
};
|
|
10660
10667
|
|
|
10661
|
-
const requiredWorkerFns = [hydrate$3
|
|
10668
|
+
const requiredWorkerFns = [hydrate$3];
|
|
10662
10669
|
const additionalWorkerFns = [hydrate$1, hydrate];
|
|
10663
10670
|
const call = fn => {
|
|
10664
10671
|
return fn();
|