Skip to content

Commit

Permalink
Updated for v32.0.0-alpha.1+wvcus
Browse files Browse the repository at this point in the history
  • Loading branch information
khwaaj committed Jun 13, 2024
1 parent 0037db2 commit 16460a1
Show file tree
Hide file tree
Showing 3 changed files with 108 additions and 33 deletions.
32 changes: 16 additions & 16 deletions checksums.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"electron-api.json": "cfd09ea2e789395bd9e29682053fc424ae500b052ff878608331b15e327114a7",
"electron-v31.0.0+wvcus-darwin-arm64-dsym.zip": "37ba7a8812addd03ecf203be84685a4b7f0ee899a6af949a2a9207611c36ee06",
"electron-v31.0.0+wvcus-darwin-arm64-symbols.zip": "cb0e41d478b4a941ba2b06c67920ac765a8c619173d865c0da880ddb01e713c9",
"electron-v31.0.0+wvcus-darwin-arm64.zip": "0896cb1187be5d185187e1fb3d2a840971282efebf9d3c34e8a6a586cc7f7a25",
"electron-v31.0.0+wvcus-darwin-x64-dsym.zip": "483e6975d8a0232d43e6c5cfd4fb30b44c3761d234bdec08143658cd3c76f996",
"electron-v31.0.0+wvcus-darwin-x64-symbols.zip": "5a5783cbf0e20a1892a15b202c3d07ac7705bc7623f65fea7f54dfc7b47fb83e",
"electron-v31.0.0+wvcus-darwin-x64.zip": "80c0b631f90fed553ee8bb88e95839b8143fbc64d53fe6563f8af4270e7beeeb",
"electron-v31.0.0+wvcus-linux-x64-symbols.zip": "2d45615d36d332d50b876ca014b212b2c3fcc6aafff23157ceb92bffc8702f15",
"electron-v31.0.0+wvcus-linux-x64.zip": "0805214d5990301f8f9a12d7005b0aad265f58374c35711c4d788ee151adbc53",
"electron-v31.0.0+wvcus-win32-ia32-pdb.zip": "e21cabaccbb52171fa5ef1f0970b6e2f99b0d5a65459f8ef7a07a7abb683f7ac",
"electron-v31.0.0+wvcus-win32-ia32-symbols.zip": "ee2a22ac2e1d8c0d1609bfc91dbbd1565763b36407bc2c6c4f740850b7a2f119",
"electron-v31.0.0+wvcus-win32-ia32.zip": "7523676ca91d7a96cb8cef5e2924061cfa74ded4458f9a5aae97d01585d3df57",
"electron-v31.0.0+wvcus-win32-x64-pdb.zip": "9f09288e5a485aa349787c5461dd4602844be1f13a6173a8c18237eeadd86ff0",
"electron-v31.0.0+wvcus-win32-x64-symbols.zip": "3f2c829cff689588bcc48d52d94d19433e98c5de9bae09f2634b9b717d6bfb67",
"electron-v31.0.0+wvcus-win32-x64.zip": "cd15a45ba6464e6eaff9da466d247c6e45333452df9712e0d7eec1e1e49f79c4",
"electron.d.ts": "efd21f6594a6a9efe15a74aa7e91d5bde081597509b85bd1b43e1e3a37a86862"
"electron-api.json": "84a2668c685889ec261ee3807fd2fd9e83437b5fd07ab6b75358bd5f0f51ead3",
"electron-v32.0.0-alpha.1+wvcus-darwin-arm64-dsym.zip": "4cca9ac966e1136e4e227c249fa645d0b97f571b23b5fed236e2bc4695570aae",
"electron-v32.0.0-alpha.1+wvcus-darwin-arm64-symbols.zip": "829da41b5e960934a6e022970bb3f3db0adeb464a09cc21860965605748b0f0c",
"electron-v32.0.0-alpha.1+wvcus-darwin-arm64.zip": "6c1d012376f466c5f8aa0bb62b7bd4e28e6c3688b31ab5c4e020c9d0811aa629",
"electron-v32.0.0-alpha.1+wvcus-darwin-x64-dsym.zip": "9073bc6dfc51faad2e4211d0da31dbeb542c04218a9c5cdd27900567b6e6d61f",
"electron-v32.0.0-alpha.1+wvcus-darwin-x64-symbols.zip": "73b5e46ea46c3e0d00597d49b38fd1940a69fce96bb9529c66543e5e4706b23f",
"electron-v32.0.0-alpha.1+wvcus-darwin-x64.zip": "8df90c57bdea2341069cbdd38073524b89d14aa0901f038be78b04a3af1f11be",
"electron-v32.0.0-alpha.1+wvcus-linux-x64-symbols.zip": "0ca82f80b503b18f4a37dde5c248fad06b3c5760cca39d158fd252e6ef1b86e5",
"electron-v32.0.0-alpha.1+wvcus-linux-x64.zip": "cfbd4b2a192ef4152314e9c7683d42a20e072156c59cb21466e8086909ca2d60",
"electron-v32.0.0-alpha.1+wvcus-win32-ia32-pdb.zip": "5f34d469c14d8e83078c4034878b59ca457b1d3458847a8d6063d56b77d60c3c",
"electron-v32.0.0-alpha.1+wvcus-win32-ia32-symbols.zip": "3bed83edb5a9a85790c8ada3669fb82ff28cd8fa1887ab81ac423e72b94dd9b4",
"electron-v32.0.0-alpha.1+wvcus-win32-ia32.zip": "39d9edf721d17d0a8f462a615c4514144a35190c1af0e0eb23c0c80f4ea003d2",
"electron-v32.0.0-alpha.1+wvcus-win32-x64-pdb.zip": "c4cfa1c5918a4047114f4ece318f80376661555d568ac99b2a8575c1d70d4ce8",
"electron-v32.0.0-alpha.1+wvcus-win32-x64-symbols.zip": "7511225968f016abb992c069a4102bb87c7eb50278c44d749d5f49bce76b095e",
"electron-v32.0.0-alpha.1+wvcus-win32-x64.zip": "f4ebe5d4686d4b83209a4106065d58f755136781df78b9c7d8ed2e2eeb95e80a",
"electron.d.ts": "72e7d2af8c655df20b7a06649a0dd09f852777919af2de50afce5c9b59ffd7cb"
}
107 changes: 91 additions & 16 deletions electron.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for Electron 31.0.0+wcus
// Type definitions for Electron 32.0.0-alpha.1+wcus
// Project: http://electronjs.org/
// Definitions by: The Electron Team <https://github.com/electron/electron>
// Definitions: https://github.com/electron/typescript-definitions
Expand Down Expand Up @@ -6610,7 +6610,7 @@ declare namespace Electron {
id: string;
}

interface Components extends NodeJS.EventEmitter {
interface Components {

// Docs: https://electronjs.org/docs/api/components

Expand Down Expand Up @@ -6928,6 +6928,10 @@ declare namespace Electron {

// Docs: https://electronjs.org/docs/api/structures/cpu-usage

/**
* Total seconds of CPU time used since process startup.
*/
cumulativeCPUUsage?: number;
/**
* The number of average idle CPU wakeups per second since the last call to
* getCPUUsage. First call returns 0. Will always return 0 on Windows.
Expand Down Expand Up @@ -8884,7 +8888,7 @@ declare namespace Electron {
visible: boolean;
}

class MessageChannelMain extends NodeEventEmitter {
class MessageChannelMain {

// Docs: https://electronjs.org/docs/api/message-channel-main

Expand Down Expand Up @@ -9236,10 +9240,26 @@ declare namespace Electron {
themeSource: ('system' | 'light' | 'dark');
}

class NavigationHistory extends NodeEventEmitter {
class NavigationHistory {

// Docs: https://electronjs.org/docs/api/navigation-history

/**
* Whether the browser can go back to previous web page.
*/
canGoBack(): boolean;
/**
* Whether the browser can go forward to next web page.
*/
canGoForward(): boolean;
/**
* Whether the web page can go to the specified `offset` from the current entry.
*/
canGoToOffset(offset: number): boolean;
/**
* Clears the navigation history.
*/
clear(): void;
/**
* The index of the current page, from which we would go back/forward or reload.
*/
Expand All @@ -9252,6 +9272,22 @@ declare namespace Electron {
* will be returned.
*/
getEntryAtIndex(index: number): EntryAtIndex;
/**
* Makes the browser go back a web page.
*/
goBack(): void;
/**
* Makes the browser go forward a web page.
*/
goForward(): void;
/**
* Navigates browser to the specified absolute web page index.
*/
goToIndex(index: number): void;
/**
* Navigates to the specified offset from the current entry.
*/
goToOffset(offset: number): void;
/**
* History length.
*/
Expand Down Expand Up @@ -10713,7 +10749,7 @@ declare namespace Electron {
endpoints: ResolvedEndpoint[];
}

interface SafeStorage extends NodeJS.EventEmitter {
interface SafeStorage {

// Docs: https://electronjs.org/docs/api/safe-storage

Expand Down Expand Up @@ -12023,7 +12059,7 @@ declare namespace Electron {
url: string;
}

class ShareMenu extends NodeEventEmitter {
class ShareMenu {

// Docs: https://electronjs.org/docs/api/share-menu

Expand Down Expand Up @@ -12668,7 +12704,7 @@ declare namespace Electron {
label: string;
}

class TouchBarColorPicker extends NodeEventEmitter {
class TouchBarColorPicker {

// Docs: https://electronjs.org/docs/api/touch-bar-color-picker

Expand All @@ -12688,7 +12724,7 @@ declare namespace Electron {
selectedColor: string;
}

class TouchBarGroup extends NodeEventEmitter {
class TouchBarGroup {

// Docs: https://electronjs.org/docs/api/touch-bar-group

Expand All @@ -12698,7 +12734,7 @@ declare namespace Electron {
constructor(options: TouchBarGroupConstructorOptions);
}

class TouchBarLabel extends NodeEventEmitter {
class TouchBarLabel {

// Docs: https://electronjs.org/docs/api/touch-bar-label

Expand All @@ -12723,7 +12759,7 @@ declare namespace Electron {
textColor: string;
}

class TouchBarOtherItemsProxy extends NodeEventEmitter {
class TouchBarOtherItemsProxy {

// Docs: https://electronjs.org/docs/api/touch-bar-other-items-proxy

Expand All @@ -12733,7 +12769,7 @@ declare namespace Electron {
constructor();
}

class TouchBarPopover extends NodeEventEmitter {
class TouchBarPopover {

// Docs: https://electronjs.org/docs/api/touch-bar-popover

Expand All @@ -12753,7 +12789,7 @@ declare namespace Electron {
label: string;
}

class TouchBarScrubber extends NodeEventEmitter {
class TouchBarScrubber {

// Docs: https://electronjs.org/docs/api/touch-bar-scrubber

Expand Down Expand Up @@ -12809,7 +12845,7 @@ declare namespace Electron {
showArrowButtons: boolean;
}

class TouchBarSegmentedControl extends NodeEventEmitter {
class TouchBarSegmentedControl {

// Docs: https://electronjs.org/docs/api/touch-bar-segmented-control

Expand Down Expand Up @@ -12841,7 +12877,7 @@ declare namespace Electron {
selectedIndex: number;
}

class TouchBarSlider extends NodeEventEmitter {
class TouchBarSlider {

// Docs: https://electronjs.org/docs/api/touch-bar-slider

Expand Down Expand Up @@ -12871,7 +12907,7 @@ declare namespace Electron {
value: number;
}

class TouchBarSpacer extends NodeEventEmitter {
class TouchBarSpacer {

// Docs: https://electronjs.org/docs/api/touch-bar-spacer

Expand Down Expand Up @@ -15885,14 +15921,28 @@ declare namespace Electron {
beginFrameSubscription(callback: (image: NativeImage, dirtyRect: Rectangle) => void): void;
/**
* Whether the browser can go back to previous web page.
*
* **Deprecated:** Should use the new `contents.navigationHistory.canGoBack` API.
*
* @deprecated
*/
canGoBack(): boolean;
/**
* Whether the browser can go forward to next web page.
*
* **Deprecated:** Should use the new `contents.navigationHistory.canGoForward`
* API.
*
* @deprecated
*/
canGoForward(): boolean;
/**
* Whether the web page can go to `offset`.
*
* **Deprecated:** Should use the new `contents.navigationHistory.canGoToOffset`
* API.
*
* @deprecated
*/
canGoToOffset(offset: number): boolean;
/**
Expand All @@ -15910,6 +15960,10 @@ declare namespace Electron {
centerSelection(): void;
/**
* Clears the navigation history.
*
* **Deprecated:** Should use the new `contents.navigationHistory.clear` API.
*
* @deprecated
*/
clearHistory(): void;
/**
Expand Down Expand Up @@ -16080,18 +16134,34 @@ declare namespace Electron {
getZoomLevel(): number;
/**
* Makes the browser go back a web page.
*
* **Deprecated:** Should use the new `contents.navigationHistory.goBack` API.
*
* @deprecated
*/
goBack(): void;
/**
* Makes the browser go forward a web page.
*
* **Deprecated:** Should use the new `contents.navigationHistory.goForward` API.
*
* @deprecated
*/
goForward(): void;
/**
* Navigates browser to the specified absolute web page index.
*
* **Deprecated:** Should use the new `contents.navigationHistory.goToIndex` API.
*
* @deprecated
*/
goToIndex(index: number): void;
/**
* Navigates to the specified offset from the "current entry".
*
* **Deprecated:** Should use the new `contents.navigationHistory.goToOffset` API.
*
* @deprecated
*/
goToOffset(offset: number): void;
/**
Expand Down Expand Up @@ -17373,7 +17443,7 @@ declare namespace Electron {
url?: string;
}

interface WebUtils extends NodeJS.EventEmitter {
interface WebUtils {

// Docs: https://electronjs.org/docs/api/web-utils

Expand Down Expand Up @@ -23505,6 +23575,11 @@ declare namespace NodeJS {
once(event: 'loaded', listener: Function): this;
addListener(event: 'loaded', listener: Function): this;
removeListener(event: 'loaded', listener: Function): this;
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
/**
* Causes the main thread of the current process crash.
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"node": ">= 12.20.55"
},
"name": "electron",
"version": "31.0.0+wvcus",
"version": "32.0.0-alpha.1+wvcus",
"repository": "https://github.com/castlabs/electron-releases",
"description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection",
"license": "MIT",
Expand Down

0 comments on commit 16460a1

Please sign in to comment.