@lvce-editor/embeds-worker 4.13.0 → 4.13.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/dist/embedsWorkerMain.js +12 -5
- package/package.json +1 -1
package/dist/embedsWorkerMain.js
CHANGED
|
@@ -1024,6 +1024,15 @@ const capturePage = id => {
|
|
|
1024
1024
|
return invokeAny$1('ElectronWebContentsView.capturePage', id);
|
|
1025
1025
|
};
|
|
1026
1026
|
|
|
1027
|
+
const createWebContentsView$1 = async (restoreId, ipcId) => {
|
|
1028
|
+
return invokeAny$1('ElectronWebContentsView.createWebContentsView', ipcId, restoreId);
|
|
1029
|
+
};
|
|
1030
|
+
|
|
1031
|
+
const CreateWebContentsView = {
|
|
1032
|
+
__proto__: null,
|
|
1033
|
+
createWebContentsView: createWebContentsView$1
|
|
1034
|
+
};
|
|
1035
|
+
|
|
1027
1036
|
const invoke = (method, ...params) => invoke$2(method, ...params);
|
|
1028
1037
|
const invokeAndTransfer = (method, ...params) => invokeAndTransfer$1(method, ...params);
|
|
1029
1038
|
const set = (...args) => set$2(...args);
|
|
@@ -1036,11 +1045,9 @@ const forwardWebContentsViewEvent = (key, includeId = true) => (id, ...args) =>
|
|
|
1036
1045
|
const ERR_ABORTED = 'ERR_ABORTED';
|
|
1037
1046
|
const ERR_FAILED = 'ERR_FAILED';
|
|
1038
1047
|
|
|
1039
|
-
const
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
return id;
|
|
1043
|
-
};
|
|
1048
|
+
const {
|
|
1049
|
+
createWebContentsView
|
|
1050
|
+
} = CreateWebContentsView;
|
|
1044
1051
|
const disposeWebContentsView = id => {
|
|
1045
1052
|
return invoke$1('ElectronWebContentsView.disposeWebContentsView', id);
|
|
1046
1053
|
};
|