diff --git a/README.md b/README.md index 7e407a6..04e1685 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# castLabs Electron v10.0.0-beta.9 for Content Security +# castLabs Electron v10.0.0-beta.10 for Content Security Check out the [Wiki](https://github.com/castlabs/electron-releases/wiki) for general news and other updates. @@ -12,7 +12,7 @@ The provided builds are VMP-signed for development use, i.e. using Widevine UAT The sections below will describe the additions to the Electron APIs, for anything else refer to the regular Electron documentation: -[Electron README](https://github.com/electron/electron/blob/v10.0.0-beta.9/README.md) +[Electron README](https://github.com/electron/electron/blob/v10.0.0-beta.10/README.md) > **NOTE**: The section about Widevine DRM in the regular Electron documentation does not apply to this fork of Electron since the Widevine components are now automatically installed and configured. @@ -30,11 +30,11 @@ becomes: ``` "dependencies": { - "electron": "https://github.com/castlabs/electron-releases#v10.0.0-wvvmp-beta.9" + "electron": "https://github.com/castlabs/electron-releases#v10.0.0-wvvmp-beta.10" } ``` -The `#v10.0.0-wvvmp-beta.9` part of the URL references a specific release tag for Electron for Content Security, if it is left out the master branch will be tracked instead. +The `#v10.0.0-wvvmp-beta.10` part of the URL references a specific release tag for Electron for Content Security, if it is left out the master branch will be tracked instead. ## Migrating from an earlier castLabs Electron for Content Security release @@ -66,7 +66,7 @@ Widevine CDM verification/installation/update is normally automatically triggere ### `app.verifyWidevineCdm([options])` * `options` Object (optional) - * `session` [Session](https://github.com/electron/electron/blob/v10.0.0-beta.9/docs/api/session.md) (optional) + * `session` [Session](https://github.com/electron/electron/blob/v10.0.0-beta.10/docs/api/session.md) (optional) * `disableUpdate` boolean (optional) Initiates asynchronous Widevine CDM verify/install/update procedure and returns no value. Once initiated Widevine related events will be emitted as necessary, namely `widevine-ready`, `widevine-update-pending` & `widevine-error`. Unless the `no-verify-widevine-cdm` command line parameter is set this API is automatically triggered on startup and should not be called manually. If customized options are necessary `no-verify-widevine-cdm` should be set and the API call made once, very early, after the app has received the `ready` event (but before loading any media-related content to avoid potentially requiring a restart). diff --git a/electron.d.ts b/electron.d.ts index 8000ec2..3ee3a07 100644 --- a/electron.d.ts +++ b/electron.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Electron 10.0.0-beta.9 +// Type definitions for Electron 10.0.0-beta.10 // Project: http://electronjs.org/ // Definitions by: The Electron Team // Definitions: https://github.com/electron/electron-typescript-definitions @@ -3794,7 +3794,12 @@ Sets a cookie with `details`. * Event parameters defined by the 'parameters' attribute in the remote debugging * protocol. */ - params: any) => void): this; + params: any, + /** + * Unique identifier of attached debugging session, will match the value sent from + * `debugger.sendCommand`. + */ + sessionId: string) => void): this; once(event: 'message', listener: (event: Event, /** * Method name. @@ -3804,7 +3809,12 @@ Sets a cookie with `details`. * Event parameters defined by the 'parameters' attribute in the remote debugging * protocol. */ - params: any) => void): this; + params: any, + /** + * Unique identifier of attached debugging session, will match the value sent from + * `debugger.sendCommand`. + */ + sessionId: string) => void): this; addListener(event: 'message', listener: (event: Event, /** * Method name. @@ -3814,7 +3824,12 @@ Sets a cookie with `details`. * Event parameters defined by the 'parameters' attribute in the remote debugging * protocol. */ - params: any) => void): this; + params: any, + /** + * Unique identifier of attached debugging session, will match the value sent from + * `debugger.sendCommand`. + */ + sessionId: string) => void): this; removeListener(event: 'message', listener: (event: Event, /** * Method name. @@ -3824,7 +3839,12 @@ Sets a cookie with `details`. * Event parameters defined by the 'parameters' attribute in the remote debugging * protocol. */ - params: any) => void): this; + params: any, + /** + * Unique identifier of attached debugging session, will match the value sent from + * `debugger.sendCommand`. + */ + sessionId: string) => void): this; /** * Attaches the debugger to the `webContents`. */ @@ -3844,7 +3864,7 @@ Sets a cookie with `details`. * Send given command to the debugging target. */ - sendCommand(method: string, commandParams?: any): Promise; + sendCommand(method: string, commandParams?: any, sessionId?: string): Promise; } interface DesktopCapturer { diff --git a/package.json b/package.json index 335e087..a53a652 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "node": ">= 8.6" }, "name": "electron", - "version": "10.0.0-wvvmp-beta.9", + "version": "10.0.0-wvvmp-beta.10", "repository": "https://github.com/castlabs/electron-releases", "description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection", "license": "MIT",