electron 12.1.2 → 12.2.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.
Files changed (2) hide show
  1. package/electron.d.ts +9 -1
  2. package/package.json +1 -1
package/electron.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Type definitions for Electron 12.1.2
1
+ // Type definitions for Electron 12.2.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
@@ -8903,6 +8903,14 @@ This value is set to false by default.
8903
8903
 
8904
8904
  // Docs: https://electronjs.org/docs/api/web-contents
8905
8905
 
8906
+ /**
8907
+ * | undefined - A WebContents instance with the given TargetID, or `undefined` if
8908
+ * there is no WebContents associated with the given TargetID.
8909
+ *
8910
+ * When communicating with the Chrome DevTools Protocol, it can be useful to lookup
8911
+ * a WebContents instance based on its assigned TargetID.
8912
+ */
8913
+ static fromDevToolsTargetId(targetId: string): WebContents;
8906
8914
  /**
8907
8915
  * | undefined - A WebContents instance with the given ID, or `undefined` if there
8908
8916
  * is no WebContents associated with the given ID.
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "node": ">= 8.6"
17
17
  },
18
18
  "name": "electron",
19
- "version": "12.1.2",
19
+ "version": "12.2.3",
20
20
  "repository": "https://github.com/electron/electron",
21
21
  "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
22
22
  "license": "MIT",