Skip to content

Commit

Permalink
chore: bump [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Nov 5, 2019
1 parent 5816992 commit a764ec4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
disturl "https://atom.io/download/electron"
target "7.0.1"
target "7.1.0"
runtime "electron"
8 changes: 4 additions & 4 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "chromium",
"repositoryUrl": "https://chromium.googlesource.com/chromium/src",
"commitHash": "c13d37bfa9939629d901da9026877a958a79aa57"
"commitHash": "77fb41f60d131fff1978df4998ad39d6d0b2119b"
}
},
"licenseDetail": [
Expand Down Expand Up @@ -40,7 +40,7 @@
"SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
],
"isOnlyProductionDependency": true,
"version": "78.0.3904.92"
"version": "78.0.3904.94"
},
{
"component": {
Expand All @@ -60,12 +60,12 @@
"git": {
"name": "electron",
"repositoryUrl": "https://github.com/electron/electron",
"commitHash": "cac0a4fe3c68edde85623a8411b9ec7cca20f9c4"
"commitHash": "b27a34eb91feb19a8f1959f69c6ff96c14bba40a"
}
},
"isOnlyProductionDependency": true,
"license": "MIT",
"version": "7.0.1"
"version": "7.1.0"
},
{
"component": {
Expand Down
11 changes: 10 additions & 1 deletion src/typings/electron.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Electron 7.0.1
// Type definitions for Electron 7.1.0
// Project: http://electronjs.org/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/electron-typescript-definitions
Expand All @@ -22,6 +22,7 @@ declare namespace Electron {
clipboard: Clipboard;
CommandLine: typeof CommandLine;
contentTracing: ContentTracing;
contextBridge: ContextBridge;
Cookies: typeof Cookies;
crashReporter: CrashReporter;
Debugger: typeof Debugger;
Expand Down Expand Up @@ -78,6 +79,7 @@ declare namespace Electron {
const autoUpdater: AutoUpdater;
const clipboard: Clipboard;
const contentTracing: ContentTracing;
const contextBridge: ContextBridge;
const crashReporter: CrashReporter;
const desktopCapturer: DesktopCapturer;
const dialog: Dialog;
Expand Down Expand Up @@ -3386,6 +3388,13 @@ declare namespace Electron {
stopRecording(resultFilePath?: string): Promise<string>;
}

interface ContextBridge extends NodeJS.EventEmitter {

// Docs: http://electronjs.org/docs/api/context-bridge

exposeInMainWorld(apiKey: string, api: Record<string, any>): void;
}

interface Cookie {

// Docs: http://electronjs.org/docs/api/structures/cookie
Expand Down

0 comments on commit a764ec4

Please sign in to comment.