@overwolf/ow-electron 22.0.1 → 22.0.3

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,8 +1,8 @@
1
1
  {
2
- "electron-api.json": "2029f18ccf1be69963afbafd0c5060e6906fbd123ad03ca6a04f95a48e5f0211",
3
- "ow-electron-v22.0.1-darwin-arm64.zip": "2b639c928251148284752da08c6054d855a34b88283d77b2dd1f04d91bbc414b",
4
- "ow-electron-v22.0.1-darwin-x64.zip": "64018b3a2694139cb8ef9c9b25afa14563955da6456fa719043fad33580f0d3c",
5
- "ow-electron-v22.0.1-linux-x64.zip": "42e7e4ae90c1843a894b8e82672c530ffd48e69954366a28f274fde5e7eec261",
6
- "ow-electron-v22.0.1-win32-x64.zip": "2301b31c5f33e186cfd22c4d9d12ac1b6eafa3e9bf05c40c4960ffc16bb09ab7",
7
- "electron.d.ts": "48c694dd7022ce4cb8d5f172a2570bef8e06e6025469d458098ce1b45f944d74"
2
+ "electron-api.json": "48fc1df5646eb92e202a45c64851e992459e8ae30c67c2813ed6159135398368",
3
+ "ow-electron-v22.0.3-darwin-arm64.zip": "47f735e841271a9396910273c3834f5ce10ced8748c4cea224cb6c85db36d88f",
4
+ "ow-electron-v22.0.3-darwin-x64.zip": "0eb2aee917724b95ae65aab2bc9f4f45501ff3772ecd9f730b8a972d5ac4e946",
5
+ "ow-electron-v22.0.3-linux-x64.zip": "08030f48def226e2cf64bf11701e9aaf434ec8fe13970636f8c19d231699661e",
6
+ "ow-electron-v22.0.3-win32-x64.zip": "ba83cf744cd0289d7ef313146a6d8dd0b0d79902632ffba82be1c92d7ec1a021",
7
+ "electron.d.ts": "950ace2d9b213e9d55dcf9ee2c91abd394dd27782db174dd7194f849c3c01e17"
8
8
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for ow-electron 22.0.1
1
+ // Type definitions for ow-electron 22.0.3
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/electron-typescript-definitions
@@ -4191,11 +4191,10 @@ declare namespace Electron {
4191
4191
  display_id: string;
4192
4192
  /**
4193
4193
  * The identifier of a window or screen that can be used as a `chromeMediaSourceId`
4194
- * constraint when calling [`navigator.webkitGetUserMedia`]. The format of the
4195
- * identifier will be `window:XX:YY` or `screen:ZZ:0`. XX is the windowID/handle.
4196
- * YY is 1 for the current process, and 0 for all others. ZZ is a sequential number
4197
- * that represents the screen, and it does not equal to the index in the source's
4198
- * name.
4194
+ * constraint when calling `navigator.getUserMedia`. The format of the identifier
4195
+ * will be `window:XX:YY` or `screen:ZZ:0`. XX is the windowID/handle. YY is 1 for
4196
+ * the current process, and 0 for all others. ZZ is a sequential number that
4197
+ * represents the screen, and it does not equal to the index in the source's name.
4199
4198
  */
4200
4199
  id: string;
4201
4200
  /**
@@ -4565,7 +4564,7 @@ declare namespace Electron {
4565
4564
  */
4566
4565
  getBadge(): string;
4567
4566
  /**
4568
- * The application's [dock menu][dock-menu].
4567
+ * The application's dock menu.
4569
4568
  *
4570
4569
  * @platform darwin
4571
4570
  */
@@ -4595,7 +4594,7 @@ declare namespace Electron {
4595
4594
  */
4596
4595
  setIcon(image: (NativeImage) | (string)): void;
4597
4596
  /**
4598
- * Sets the application's [dock menu][dock-menu].
4597
+ * Sets the application's dock menu.
4599
4598
  *
4600
4599
  * @platform darwin
4601
4600
  */
@@ -8227,7 +8226,7 @@ declare namespace Electron {
8227
8226
  * `setPermissionCheckHandler` to get complete permission handling. Most web APIs
8228
8227
  * do a permission check and then make a permission request if the check is denied.
8229
8228
  */
8230
- setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'media' | 'display-capture' | 'mediaKeySystem' | 'geolocation' | 'notifications' | 'midi' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'unknown', callback: (permissionGranted: boolean) => void, details: PermissionRequestHandlerHandlerDetails) => void) | (null)): void;
8229
+ setPermissionRequestHandler(handler: ((webContents: WebContents, permission: 'clipboard-read' | 'media' | 'display-capture' | 'mediaKeySystem' | 'geolocation' | 'notifications' | 'midi' | 'midiSysex' | 'pointerLock' | 'fullscreen' | 'openExternal' | 'window-placement' | 'unknown', callback: (permissionGranted: boolean) => void, details: PermissionRequestHandlerHandlerDetails) => void) | (null)): void;
8231
8230
  /**
8232
8231
  * Adds scripts that will be executed on ALL web contents that are associated with
8233
8232
  * this session just before normal `preload` scripts run.
@@ -10025,7 +10024,7 @@ declare namespace Electron {
10025
10024
  kill(): boolean;
10026
10025
  /**
10027
10026
  * Send a message to the child process, optionally transferring ownership of zero
10028
- * or more [`MessagePortMain`][] objects.
10027
+ * or more `MessagePortMain` objects.
10029
10028
  *
10030
10029
  * For example:
10031
10030
  */
@@ -11623,7 +11622,7 @@ declare namespace Electron {
11623
11622
  pasteAndMatchStyle(): void;
11624
11623
  /**
11625
11624
  * Send a message to the renderer process, optionally transferring ownership of
11626
- * zero or more [`MessagePortMain`][] objects.
11625
+ * zero or more `MessagePortMain` objects.
11627
11626
  *
11628
11627
  * The transferred `MessagePortMain` objects will be available in the renderer
11629
11628
  * process by accessing the `ports` property of the emitted event. When they arrive
@@ -11807,7 +11806,7 @@ declare namespace Electron {
11807
11806
  * submitting a form with `<form target="_blank">`. See `window.open()` for more
11808
11807
  * details and how to use this in conjunction with `did-create-window`.
11809
11808
  */
11810
- setWindowOpenHandler(handler: (details: HandlerDetails) => ({action: 'deny'}) | ({action: 'allow', overrideBrowserWindowOptions?: BrowserWindowConstructorOptions})): void;
11809
+ setWindowOpenHandler(handler: (details: HandlerDetails) => ({action: 'deny'}) | ({action: 'allow', outlivesOpener?: boolean, overrideBrowserWindowOptions?: BrowserWindowConstructorOptions})): void;
11811
11810
  /**
11812
11811
  * Changes the zoom factor to the specified factor. Zoom factor is zoom percent
11813
11812
  * divided by 100, so 300% = 3.0.
@@ -12205,7 +12204,7 @@ declare namespace Electron {
12205
12204
  executeJavaScript(code: string, userGesture?: boolean): Promise<unknown>;
12206
12205
  /**
12207
12206
  * Send a message to the renderer process, optionally transferring ownership of
12208
- * zero or more [`MessagePortMain`][] objects.
12207
+ * zero or more `MessagePortMain` objects.
12209
12208
  *
12210
12209
  * The transferred `MessagePortMain` objects will be available in the renderer
12211
12210
  * process by accessing the `ports` property of the emitted event. When they arrive
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron",
3
- "version": "22.0.1",
4
- "owElectronVersion": "22.0.1",
3
+ "version": "22.0.3",
4
+ "owElectronVersion": "22.0.3",
5
5
  "repository": "https://github.com/electron/electron",
6
6
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
7
7
  "license": "MIT",