@overwolf/ow-electron 42.11.2-beta.0 → 42.11.4

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/checksums.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
- "electron-api.json": "a1b4fcd99c51ae55029ee63db770ba286a56b3fc96847d477dc07b10f6759b1a",
3
- "electron.d.ts": "2cd42e2c8edaf078ead15fc52f743380d7817f4e26517730b655fea84e141c2a",
4
- "ow-electron-v42.11.2-beta.0-darwin-arm64.zip": "d027cd7cf5f0c5e7c188ee8e5ab15af2bf11cab26f622ce3b28732813bc1a3bb",
5
- "ow-electron-v42.11.2-beta.0-darwin-x64.zip": "78e2fcbdfdea51c683a44e6013ed39871b8e7ff6139eff898bb697a778ea098c",
6
- "ow-electron-v42.11.2-beta.0-linux-arm64.zip": "d4119f66049fed022e8039fb3bb99a76e73162bd1ea2414d6b936fe32abadb98",
7
- "ow-electron-v42.11.2-beta.0-linux-armv7l.zip": "8a6524d35e1a1cfc7b59fbfb9bc393085df2b7134337951eb67c2d310127b3af",
8
- "ow-electron-v42.11.2-beta.0-linux-x64.zip": "6096a1d54f0e50e7766e88dccd6b21ea7e94da04a6bc3de33787efe69eb2c146",
9
- "ow-electron-v42.11.2-beta.0-win32-arm64.zip": "2477fd310512cad10f899cb3b732612628afb5078b3b6c822784e8695dee5aad",
10
- "ow-electron-v42.11.2-beta.0-win32-ia32.zip": "7551bc5d56f5dbf5ac7cd714f1043b2b79d8aba45a32ec8bc46b17e8956ffae1",
11
- "ow-electron-v42.11.2-beta.0-win32-x64.zip": "9c0bd45d491ed689b6b103a721baf76bac6c3cfdfd2866ebe3723c1e4f2b72a3"
2
+ "electron-api.json": "46d2fa37e197582dee4600e456583719f38d83820d34191a8a7c69787662cd2e",
3
+ "electron.d.ts": "9c4dbcdd7d61dab1154f21a3ca467efe030525bb7c21be5023da9fcd42f611bf",
4
+ "ow-electron-v42.11.4-darwin-arm64.zip": "726bccdbc0f9623f5b562dc6f3e77a1212511589cd7f7fd2aa75e84ac0f6e4e9",
5
+ "ow-electron-v42.11.4-darwin-x64.zip": "bdf7e79ef7aaee9a218fc6cc62b85431d17962400747732aefad597533866a7c",
6
+ "ow-electron-v42.11.4-linux-arm64.zip": "359fc7233c0b5c5446a23a657706fa8b2a56d61c19e255c890b21b04c485dcd0",
7
+ "ow-electron-v42.11.4-linux-armv7l.zip": "4d0421d19053bdd528207da605755532a04c50cd479d0aa6d83d62c292e63cd6",
8
+ "ow-electron-v42.11.4-linux-x64.zip": "885ae9bf3788b25b30fa42601708a368fdefef093acddcc08f4e97f4645745d7",
9
+ "ow-electron-v42.11.4-win32-arm64.zip": "56b3650e18baf2e3055e185f4f65e99e82d82177dcebbcef30097cd8206ac657",
10
+ "ow-electron-v42.11.4-win32-ia32.zip": "faf24c89915ec55d2c3f30ef9d3b9e49a35a100c74365e47fe8bc35aa6c36e5c",
11
+ "ow-electron-v42.11.4-win32-x64.zip": "f8d849d911b91a12a6ed18f3cf25e88a5fb134334706856807c0874f9f8524f9"
12
12
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 42.11.2
1
+ // Type definitions for Electron 42.11.4
2
2
  // Project: http://electronjs.org/
3
3
  // Definitions by: The Electron Team <https://github.com/electron/electron>
4
4
  // Definitions: https://github.com/electron/typescript-definitions
@@ -13307,8 +13307,12 @@ declare namespace Electron {
13307
13307
  * is available and `useSystemPicker` is set to `true`, the handler will not be
13308
13308
  * invoked.
13309
13309
  *
13310
- * Passing a WebFrameMain object as a video or audio stream will capture the video
13311
- * or audio stream from that frame.
13310
+ * Passing a WebFrameMain object as a video or audio stream captures the whole
13311
+ * `webContents` that contains that frame (the tab), not just the frame:
13312
+ * `request.frame` from an `<iframe>` therefore grants that iframe a capture of the
13313
+ * page that embeds it. Check `request.frame` before using it this way, and note
13314
+ * that the callback throws if the frame has been destroyed by the time it is
13315
+ * called.
13312
13316
  *
13313
13317
  * Passing `null` instead of a function resets the handler to its default state.
13314
13318
  */
@@ -18048,7 +18052,9 @@ declare namespace Electron {
18048
18052
  * The identifier of a WebContents stream. This identifier can be used with
18049
18053
  * `navigator.mediaDevices.getUserMedia` using a `chromeMediaSource` of `tab`. The
18050
18054
  * identifier is restricted to the web contents that it is registered to and is
18051
- * only valid for 10 seconds.
18055
+ * only valid for 10 seconds. The `desktop` source only accepts screen and window
18056
+ * identifiers from `desktopCapturer.getSources`; to capture a WebContents use this
18057
+ * identifier with the `tab` source, or `ses.setDisplayMediaRequestHandler`.
18052
18058
  */
18053
18059
  getMediaSourceId(requestWebContents: WebContents): string;
18054
18060
  /**
@@ -19276,8 +19282,10 @@ declare namespace Electron {
19276
19282
  */
19277
19283
  nodeIntegrationInSubFrames?: boolean;
19278
19284
  /**
19279
- * Whether node integration is enabled in web workers. Default is `false`. More
19280
- * about this can be found in Multithreading.
19285
+ * Whether node integration is enabled in web workers. Default is `false`. Only
19286
+ * workers created by a frame that itself has access to Node.js (the main frame, or
19287
+ * any frame when `nodeIntegrationInSubFrames` is enabled) get it. More about this
19288
+ * can be found in Multithreading.
19281
19289
  */
19282
19290
  nodeIntegrationInWorker?: boolean;
19283
19291
  /**
@@ -19842,6 +19850,10 @@ declare namespace Electron {
19842
19850
  removeEventListener(event: 'close', listener: (event: DOMEvent) => void): this;
19843
19851
  /**
19844
19852
  * Fired when the guest page has sent an asynchronous message to embedder page.
19853
+ * `frameId` does not tell the embedder which document sent the message; when that
19854
+ * matters, have the guest use `ipcRenderer.send()` and handle the guest
19855
+ * `webContents`' `ipc-message` event in the main process, where
19856
+ * `event.senderFrame` identifies the sender.
19845
19857
  *
19846
19858
  * With `sendToHost` method and `ipc-message` event you can communicate between
19847
19859
  * guest page and embedder page:
@@ -20224,7 +20236,9 @@ declare namespace Electron {
20224
20236
  unselect(): void;
20225
20237
  /**
20226
20238
  * A `boolean`. When this attribute is present the guest page will be allowed to
20227
- * open new windows. Popups are disabled by default.
20239
+ * open new windows, whether through `window.open()` or a link opened into a new
20240
+ * window (for example a modifier-clicked or `target="_blank"` link). Popups are
20241
+ * disabled by default.
20228
20242
  */
20229
20243
  allowpopups: boolean;
20230
20244
  /**
@@ -21640,6 +21654,15 @@ declare namespace Electron {
21640
21654
  * The blocked path attempting to be accessed.
21641
21655
  */
21642
21656
  path: string;
21657
+ /**
21658
+ * The frame that initiated access. May be `null` if the frame has since been
21659
+ * destroyed.
21660
+ */
21661
+ frame: (WebFrameMain) | (null);
21662
+ /**
21663
+ * The WebContents that contains `frame`.
21664
+ */
21665
+ webContents: (WebContents) | (null);
21643
21666
  }
21644
21667
 
21645
21668
  interface FindInPageOptions {
@@ -23018,7 +23041,8 @@ declare namespace Electron {
23018
23041
  */
23019
23042
  embeddingOrigin?: string;
23020
23043
  /**
23021
- * The security origin of the `media` check.
23044
+ * The origin of the requesting frame, for `media`, `hid`, `usb` and `serial`
23045
+ * checks.
23022
23046
  */
23023
23047
  securityOrigin?: string;
23024
23048
  /**
@@ -23026,8 +23050,8 @@ declare namespace Electron {
23026
23050
  */
23027
23051
  mediaType?: ('video' | 'audio' | 'unknown');
23028
23052
  /**
23029
- * The last URL the requesting frame loaded. This is not provided for cross-origin
23030
- * sub frames making permission checks.
23053
+ * The last URL the requesting frame loaded. Not provided when the check is not
23054
+ * made on behalf of a document (for example for a service worker).
23031
23055
  */
23032
23056
  requestingUrl?: string;
23033
23057
  /**
@@ -23635,7 +23659,8 @@ declare namespace Electron {
23635
23659
  /**
23636
23660
  * If a string is specified, can be `loopback` or `loopbackWithMute`. Specifying a
23637
23661
  * loopback device will capture system audio, and is currently only supported on
23638
- * Windows. If a WebFrameMain is specified, will capture audio from that frame.
23662
+ * Windows. If a WebFrameMain is specified, will capture audio from the
23663
+ * `webContents` that contains that frame.
23639
23664
  */
23640
23665
  audio?: (('loopback' | 'loopbackWithMute')) | (WebFrameMain);
23641
23666
  /**
@@ -1,4 +1,4 @@
1
- // Shared Overwolf type declarations for ow-electron 42.11.2
1
+ // Shared Overwolf type declarations for ow-electron 42.11.4
2
2
  //
3
3
  // This file *augments* the existing `electron` types instead of bundling a copy
4
4
  // of them. It only adds members to the global `Electron` namespace and to the
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron",
3
- "version": "42.11.2-beta.0",
4
- "owElectronVersion": "42.11.2-beta.0",
5
- "electronVersion": "42.11.2",
3
+ "version": "42.11.4",
4
+ "owElectronVersion": "42.11.4",
5
+ "electronVersion": "42.11.4",
6
6
  "repository": "https://github.com/electron/electron",
7
7
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
8
8
  "license": "MIT",
@@ -44,8 +44,5 @@
44
44
  },
45
45
  "engines": {
46
46
  "node": ">= 22.12.0"
47
- },
48
- "publishConfig": {
49
- "tag": "42-x-y"
50
47
  }
51
48
  }