@lvce-editor/embeds-process 3.1.0 → 3.2.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.
@@ -204,6 +204,14 @@ const setFallthroughKeyBindings = async (id, ...args) => {
204
204
  const getStats = async (id, ...args) => {
205
205
  return invoke$1('ElectronWebContentsViewFunctions.getStats', id, ...args);
206
206
  };
207
+ const getDomTree = async id => {
208
+ // @ts-ignore
209
+ return invoke$1('ElectronWebContentsViewFunctions.getDomTree', id);
210
+ };
211
+ const insertCss = async (id, css) => {
212
+ // @ts-ignore
213
+ return invoke$1('ElectronWebContentsViewFunctions.insertCss', id, css);
214
+ };
207
215
  const show = async (id, ...args) => {
208
216
  return invoke$1('ElectronWebContentsViewFunctions.show', id, ...args);
209
217
  };
@@ -1548,26 +1556,28 @@ const handleElectronMessagePort = async (messagePort, ipcId) => {
1548
1556
  };
1549
1557
 
1550
1558
  const commandMap = {
1559
+ 'ElectronWebContents.handleBrowserViewDestroyed': handleBrowserViewDestroyed,
1560
+ 'ElectronWebContents.handleContextMenu': handleContextMenu,
1561
+ 'ElectronWebContents.handleDidNavigate': handleDidNavigate,
1562
+ 'ElectronWebContents.handleTitleUpdated': handleTitleUpdated,
1563
+ 'ElectronWebContents.handleWillNavigate': handleWillNavigate,
1551
1564
  'ElectronWebContentsView.backward': backward,
1552
1565
  'ElectronWebContentsView.createWebContentsView': createWebContentsView,
1553
1566
  'ElectronWebContentsView.disposeWebContentsView': disposeWebContentsView,
1554
1567
  'ElectronWebContentsView.focus': focus,
1555
1568
  'ElectronWebContentsView.forward': forward,
1569
+ 'ElectronWebContentsView.getDomTree': getDomTree,
1556
1570
  'ElectronWebContentsView.getStats': getStats,
1571
+ 'ElectronWebContentsView.handleKeyBinding': handleKeyBinding,
1572
+ 'ElectronWebContentsView.insertCss': insertCss,
1557
1573
  'ElectronWebContentsView.inspectElement': inspectElement,
1558
1574
  'ElectronWebContentsView.openDevtools': openDevtools,
1559
1575
  'ElectronWebContentsView.reload': reload,
1560
1576
  'ElectronWebContentsView.resizeBrowserView': resizeWebContentsView,
1577
+ 'ElectronWebContentsView.setFallthroughKeyBindings': setFallthroughKeyBindings,
1561
1578
  'ElectronWebContentsView.setIframeSrc': setIframeSrc,
1562
1579
  'ElectronWebContentsView.setIframeSrcFallback': setIframeSrcFallback,
1563
- 'ElectronWebContentsView.setFallthroughKeyBindings': setFallthroughKeyBindings,
1564
- 'ElectronWebContentsView.handleKeyBinding': handleKeyBinding,
1565
1580
  'ElectronWebContentsView.show': show,
1566
- 'ElectronWebContents.handleDidNavigate': handleDidNavigate,
1567
- 'ElectronWebContents.handleTitleUpdated': handleTitleUpdated,
1568
- 'ElectronWebContents.handleBrowserViewDestroyed': handleBrowserViewDestroyed,
1569
- 'ElectronWebContents.handleWillNavigate': handleWillNavigate,
1570
- 'ElectronWebContents.handleContextMenu': handleContextMenu,
1571
1581
  'HandleElectronMessagePort.handleElectronMessagePort': handleElectronMessagePort
1572
1582
  };
1573
1583
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/embeds-process",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "Embeds Process",
5
5
  "keywords": [
6
6
  "Lvce Editor"