@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.
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/embeds-worker",
3
- "version": "4.11.0",
3
+ "version": "4.12.0",
4
4
  "description": "Web Worker to manage electron webcontent views in Lvce Editor",
5
5
  "repository": {
6
6
  "type": "git",