@lvce-editor/embeds-worker 4.11.0 → 4.12.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/embedsWorkerMain.js +5 -0
- package/package.json +1 -1
package/dist/embedsWorkerMain.js
CHANGED
|
@@ -1020,6 +1020,10 @@ const cancelLogin = requestId => {
|
|
|
1020
1020
|
return invokeAny$1('ElectronWebContentsView.cancelLogin', requestId);
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
+
const capturePage = id => {
|
|
1024
|
+
return invokeAny$1('ElectronWebContentsView.capturePage', id);
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1023
1027
|
const ERR_ABORTED = 'ERR_ABORTED';
|
|
1024
1028
|
const ERR_FAILED = 'ERR_FAILED';
|
|
1025
1029
|
|
|
@@ -1187,6 +1191,7 @@ const commandMap = {
|
|
|
1187
1191
|
'ElectronWebContentsView.backward': backward,
|
|
1188
1192
|
'ElectronWebContentsView.cancelLogin': cancelLogin,
|
|
1189
1193
|
'ElectronWebContentsView.cancelNavigation': cancelNavigation,
|
|
1194
|
+
'ElectronWebContentsView.capturePage': capturePage,
|
|
1190
1195
|
'ElectronWebContentsView.copyImageAt': copyImageAt,
|
|
1191
1196
|
'ElectronWebContentsView.createWebContentsView': createWebContentsView,
|
|
1192
1197
|
'ElectronWebContentsView.disposeWebContentsView': disposeWebContentsView,
|