@overwolf/ow-electron 44.9.0 → 44.10.1-beta.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.
package/checksums.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
- "electron-api.json": "47f60eb00dfceaf3672df6c45d08d5f466630fc4aeb11a44f6bff4f3685e1228",
3
- "electron.d.ts": "91100bcedd4312b90e6e8acf7fe1c03a670b16e31e06ba74d287337419ec3b07",
4
- "ow-electron-v44.9.0-darwin-arm64.zip": "d9d25ff6d9ad577c043eb84dd83b6fb44da8650bb8d716d390ccf6efb6637faf",
5
- "ow-electron-v44.9.0-darwin-x64.zip": "bacc5a9ec0096d5e63e3838ac737d4fc9369c75cb824814997aebbd0929edaf4",
6
- "ow-electron-v44.9.0-linux-arm64.zip": "71a25f13646d287d70a78a435d17191d0b96ab2007fc0c09a0ebf03d676728c6",
7
- "ow-electron-v44.9.0-linux-x64.zip": "aa3d2f7dd1df351b4744d22c6c8dd35ad5a4f133181db626e67d8f432a2a753d",
8
- "ow-electron-v44.9.0-win32-arm64.zip": "4156e90faf61e2534f1c1cb10c8f05d38d199db8f788cc0c19f671a6ef881dce",
9
- "ow-electron-v44.9.0-win32-x64.zip": "2c53bb73f53d2e216ee28800e35215618e3f2baea370679961e14bff13d70313"
2
+ "electron-api.json": "87f34c48c90a3227f08d7952d8b51e327e9af84268c2ae2fa32bcd8a32d7963d",
3
+ "electron.d.ts": "41d9b5a40abcb3a30895240a41e3269519edadeb75ae583408e092b636ce9b75",
4
+ "ow-electron-v44.10.1-beta.0-darwin-arm64.zip": "cb9406d7e4908c7d3bfb4f0effffe9575d7be0f6bfc531931005fb21e85ba5d7",
5
+ "ow-electron-v44.10.1-beta.0-darwin-x64.zip": "510437d846ae825ebb96dcd440df49c1892ae992f19627f5bfa52f35d0120012",
6
+ "ow-electron-v44.10.1-beta.0-linux-arm64.zip": "8fab8c55d7c54b2e252f82f19db99c08fe141a45e903fbbeecb3861d941da918",
7
+ "ow-electron-v44.10.1-beta.0-linux-x64.zip": "0964cb378b656a246da6164fc45a890913ca0ec5df1d7f6e8ae005d3615a9f0e",
8
+ "ow-electron-v44.10.1-beta.0-win32-arm64.zip": "220b9496d7128880f85bba62dde7a4120c54b2b3f8c3e3851fb6f1f762db2940",
9
+ "ow-electron-v44.10.1-beta.0-win32-x64.zip": "6c876e44043d110ef1638d7712b3dabc74263b37e3f7661dae30a86838240a43"
10
10
  }
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 44.9.0
1
+ // Type definitions for Electron 44.10.1
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
@@ -3724,6 +3724,16 @@ declare namespace Electron {
3724
3724
  * Linux this is supported on both X11 and Wayland. On X11 the X server has applied
3725
3725
  * the window's new input shape when the call returns; on Wayland the new input
3726
3726
  * region is applied with the window's next frame.
3727
+ *
3728
+ * > [!NOTE] On Windows, `forward: true` stops working temporarily when the active
3729
+ * window is running at a higher integrity level (e.g., elevated/Administrator)
3730
+ * than your Electron app. Since Electron typically runs at standard user
3731
+ * privilege, this occurs when an elevated window—such as Task Manager or an
3732
+ * installer—takes focus. This is due to User Interface Privacy Isolation (UIPI).
3733
+ *
3734
+ * To work around it, your app must be run with Administrator privileges or
3735
+ * configured with UIAccess privileges (see the Background section under the
3736
+ * Reference section of this page).
3727
3737
  */
3728
3738
  setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
3729
3739
  /**
@@ -6574,6 +6584,16 @@ declare namespace Electron {
6574
6584
  * Linux this is supported on both X11 and Wayland. On X11 the X server has applied
6575
6585
  * the window's new input shape when the call returns; on Wayland the new input
6576
6586
  * region is applied with the window's next frame.
6587
+ *
6588
+ * > [!NOTE] On Windows, `forward: true` stops working temporarily when the active
6589
+ * window is running at a higher integrity level (e.g., elevated/Administrator)
6590
+ * than your Electron app. Since Electron typically runs at standard user
6591
+ * privilege, this occurs when an elevated window—such as Task Manager or an
6592
+ * installer—takes focus. This is due to User Interface Privacy Isolation (UIPI).
6593
+ *
6594
+ * To work around it, your app must be run with Administrator privileges or
6595
+ * configured with UIAccess privileges (see the Background section under the
6596
+ * Reference section of this page).
6577
6597
  */
6578
6598
  setIgnoreMouseEvents(ignore: boolean, options?: IgnoreMouseEventsOptions): void;
6579
6599
  /**
@@ -11621,6 +11641,14 @@ declare namespace Electron {
11621
11641
 
11622
11642
  // Docs: https://electronjs.org/docs/api/structures/preload-script
11623
11643
 
11644
+ /**
11645
+ * Glob patterns for URLs the script will not run in.
11646
+ */
11647
+ excludeGlobs?: string[];
11648
+ /**
11649
+ * Match patterns for URLs the script will not run in.
11650
+ */
11651
+ excludeMatches?: string[];
11624
11652
  /**
11625
11653
  * Path of the script file. Must be an absolute path.
11626
11654
  */
@@ -11629,6 +11657,29 @@ declare namespace Electron {
11629
11657
  * Unique ID of preload script.
11630
11658
  */
11631
11659
  id: string;
11660
+ /**
11661
+ * Glob patterns applied after `matches`. A URL must also match one of these globs.
11662
+ * `*` matches any sequence of characters and `?` matches any single character.
11663
+ */
11664
+ includeGlobs?: string[];
11665
+ /**
11666
+ * Match patterns for URLs the script runs in. A custom protocol can be used if its
11667
+ * scheme is registered as `standard` with `protocol.registerSchemesAsPrivileged`.
11668
+ * To filter documents served from a non-standard scheme, use `includeGlobs` or
11669
+ * `excludeGlobs`, which match against the whole URL. If omitted, the script runs
11670
+ * for all URLs not excluded by other filters.
11671
+ */
11672
+ matches?: string[];
11673
+ /**
11674
+ * Whether a document whose URL has no origin of its own (`about:`, `blob:`,
11675
+ * `data:` or `filesystem:`) is matched by the origin of the frame that created it
11676
+ * instead of by its URL. This includes documents with an opaque origin, such as a
11677
+ * `data:` frame or a sandboxed `<iframe srcdoc>`. For example, an `about:blank`
11678
+ * popup opened by `https://example.com/page` is matched as `https://example.com/`.
11679
+ * When set, every pattern in `matches` must have a path of `/*`. Only applies to
11680
+ * `frame` contexts. Default is `false`.
11681
+ */
11682
+ matchOriginAsFallback?: boolean;
11632
11683
  /**
11633
11684
  * Context type where the preload script will be executed. Possible values include
11634
11685
  * `frame` or `service-worker`.
@@ -11640,6 +11691,14 @@ declare namespace Electron {
11640
11691
 
11641
11692
  // Docs: https://electronjs.org/docs/api/structures/preload-script-registration
11642
11693
 
11694
+ /**
11695
+ * Glob patterns for URLs the script will not run in.
11696
+ */
11697
+ excludeGlobs?: string[];
11698
+ /**
11699
+ * Match patterns for URLs the script will not run in.
11700
+ */
11701
+ excludeMatches?: string[];
11643
11702
  /**
11644
11703
  * Path of the script file. Must be an absolute path.
11645
11704
  */
@@ -11648,6 +11707,30 @@ declare namespace Electron {
11648
11707
  * Unique ID of preload script. Defaults to a random UUID.
11649
11708
  */
11650
11709
  id?: string;
11710
+ /**
11711
+ * Glob patterns applied after `matches`. A URL must also match one of these globs.
11712
+ * `*` matches any sequence of characters and `?` matches zero or one character.
11713
+ * Must not be empty.
11714
+ */
11715
+ includeGlobs?: string[];
11716
+ /**
11717
+ * Match patterns for URLs the script runs in. A custom protocol can be used if its
11718
+ * scheme is registered as `standard` with `protocol.registerSchemesAsPrivileged`.
11719
+ * To filter documents served from a non-standard scheme, use `includeGlobs` or
11720
+ * `excludeGlobs`, which match against the whole URL. If omitted, the script runs
11721
+ * for all URLs not excluded by other filters. Must not be empty.
11722
+ */
11723
+ matches?: string[];
11724
+ /**
11725
+ * Whether a document whose URL has no origin of its own (`about:`, `blob:`,
11726
+ * `data:` or `filesystem:`) is matched by the origin of the frame that created it
11727
+ * instead of by its URL. This includes documents with an opaque origin, such as a
11728
+ * `data:` frame or a sandboxed `<iframe srcdoc>`. For example, an `about:blank`
11729
+ * popup opened by `https://example.com/page` is matched as `https://example.com/`.
11730
+ * When set, every pattern in `matches` must have a path of `/*`. Only applies to
11731
+ * `frame` contexts. Default is `false`.
11732
+ */
11733
+ matchOriginAsFallback?: boolean;
11651
11734
  /**
11652
11735
  * Context type where the preload script will be executed. Possible values include
11653
11736
  * `frame` or `service-worker`.
@@ -13812,7 +13895,33 @@ declare namespace Electron {
13812
13895
  /**
13813
13896
  * Registers preload script that will be executed in its associated context type in
13814
13897
  * this session. For `frame` contexts, this will run prior to any preload defined
13815
- * in the web preferences of a WebContents.
13898
+ * in the web preferences of a WebContents. In-page navigations do not rerun the
13899
+ * preload script.
13900
+ *
13901
+ * URL filters can limit which documents or service workers a script runs in. They
13902
+ * behave like content script URL matching. A script runs for a URL that meets all
13903
+ * of these conditions:
13904
+ *
13905
+ * * It matches at least one pattern in `matches`, if set.
13906
+ * * It matches at least one glob in `includeGlobs`, if set.
13907
+ * * It does not match any pattern in `excludeMatches`.
13908
+ * * It does not match any glob in `excludeGlobs`.
13909
+ *
13910
+ * The URL that the filters are matched against depends on the context type:
13911
+ *
13912
+ * * For `service-worker` contexts, it is the service worker's scope.
13913
+ * * For `frame` contexts, it is the URL of the document being loaded, with these
13914
+ * special cases:
13915
+ * * The initial empty document of a frame or popup is matched as `about:blank`.
13916
+ * Set `matchOriginAsFallback` to match such documents by the origin of the frame
13917
+ * that created them instead, for example to keep a script out of the `about:blank`
13918
+ * popups of an excluded site.
13919
+ * * A `data:` URL loaded with `baseURLForDataURL` is matched by its base URL.
13920
+ * * The error page of a failed navigation is matched by the URL that failed to
13921
+ * load.
13922
+ *
13923
+ * Throws an error if any of the URL patterns are invalid, or if `matches` or
13924
+ * `includeGlobs` is an empty array.
13816
13925
  *
13817
13926
  * The ID of the registered preload script.
13818
13927
  */
@@ -20609,6 +20718,10 @@ declare namespace Electron {
20609
20718
  */
20610
20719
  addEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void, useCapture?: boolean): this;
20611
20720
  removeEventListener(event: 'update-target-url', listener: (event: UpdateTargetUrlEvent) => void): this;
20721
+ /**
20722
+ * Emitted when a link is clicked in DevTools or 'Open in new tab' is selected for
20723
+ * a link in its context menu.
20724
+ */
20612
20725
  addEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void, useCapture?: boolean): this;
20613
20726
  removeEventListener(event: 'devtools-open-url', listener: (event: DevtoolsOpenUrlEvent) => void): this;
20614
20727
  /**
@@ -1,4 +1,4 @@
1
- // Shared Overwolf type declarations for ow-electron 44.9.0
1
+ // Shared Overwolf type declarations for ow-electron 44.10.1
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": "44.9.0",
4
- "owElectronVersion": "44.9.0",
5
- "electronVersion": "44.9.0",
3
+ "version": "44.10.1-beta.0",
4
+ "owElectronVersion": "44.10.1-beta.0",
5
+ "electronVersion": "44.10.1",
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",
@@ -45,5 +45,8 @@
45
45
  },
46
46
  "engines": {
47
47
  "node": ">= 22.12.0"
48
+ },
49
+ "publishConfig": {
50
+ "tag": "44-x-y"
48
51
  }
49
52
  }