@lvce-editor/embeds-worker 4.15.1 → 4.15.2

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.
@@ -1194,6 +1194,14 @@ const setFallthroughKeyBindings = (id, fallthroughKeybindings) => {
1194
1194
  return invokeAny$1('ElectronWebContentsView.setFallthroughKeyBindings', id, fallthroughKeybindings);
1195
1195
  };
1196
1196
 
1197
+ const setZoomLevel = (id, zoomLevel) => {
1198
+ return invokeAny$1('ElectronWebContentsView.setZoomLevel', id, zoomLevel);
1199
+ };
1200
+
1201
+ const toggleDevTools = id => {
1202
+ return invokeAny$1('ElectronWebContentsView.toggleDevTools', id);
1203
+ };
1204
+
1197
1205
  const commandMap = {
1198
1206
  'ElectronWebContentsView.acceptLogin': acceptLogin,
1199
1207
  'ElectronWebContentsView.backward': backward,
@@ -1226,7 +1234,9 @@ const commandMap = {
1226
1234
  'ElectronWebContentsView.setAudioMuted': setAudioMuted,
1227
1235
  'ElectronWebContentsView.setFallthroughKeyBindings': setFallthroughKeyBindings,
1228
1236
  'ElectronWebContentsView.setIframeSrc': setIframeSrc,
1237
+ 'ElectronWebContentsView.setZoomLevel': setZoomLevel,
1229
1238
  'ElectronWebContentsView.show': show,
1239
+ 'ElectronWebContentsView.toggleDevTools': toggleDevTools,
1230
1240
  'Exit.exit': exit,
1231
1241
  'Initialize.initialize': initialize
1232
1242
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/embeds-worker",
3
- "version": "4.15.1",
3
+ "version": "4.15.2",
4
4
  "description": "Web Worker to manage electron webcontent views in Lvce Editor",
5
5
  "repository": {
6
6
  "type": "git",