From bc93dece77d68013485bfb3b97cfb907cddabdcc Mon Sep 17 00:00:00 2001 From: Emil Pettersson Date: Fri, 28 Feb 2025 06:02:33 +0100 Subject: [PATCH] Updated for v34.3.0+wvcus --- checksums.json | 32 ++++++++++++++++---------------- electron.d.ts | 39 +++++++++++++++++++++++++++------------ package.json | 2 +- 3 files changed, 44 insertions(+), 29 deletions(-) diff --git a/checksums.json b/checksums.json index 6b07044..5ecb50c 100644 --- a/checksums.json +++ b/checksums.json @@ -1,18 +1,18 @@ { - "electron-api.json": "3d9896543e3c55a5c51a6635e8a4f4e0ce4dcd5ba3e0a8cd7ac42684662ed93d", - "electron-v34.2.0+wvcus-darwin-arm64-dsym.zip": "855b23a0953aa7659c6521010f5244e8a3dcd7333a198836e282c1f2e05a6da7", - "electron-v34.2.0+wvcus-darwin-arm64-symbols.zip": "02f4d6e5cf73ec21ea837691ea3d6ac55eae144010255b239640aca096d5cb73", - "electron-v34.2.0+wvcus-darwin-arm64.zip": "baf7bf1f99bd819cd38a7fd22c4e20ffae257555919b7233618535d8a71207c7", - "electron-v34.2.0+wvcus-darwin-x64-dsym.zip": "a63e83953972720fce529e439943f2179a8400f67daeaddd34efe262987a53de", - "electron-v34.2.0+wvcus-darwin-x64-symbols.zip": "4e8e177484af46cab74fb8014d34f1dc789e52bc7fd19dccb14aed5865757899", - "electron-v34.2.0+wvcus-darwin-x64.zip": "3f9e25dda5cb52583a7dba8ba6d7a60feabe7606da9aafb34ff46f6239d1f6b9", - "electron-v34.2.0+wvcus-linux-x64-symbols.zip": "68350208ca2e1a4475b3c98b39e67c843ce1dfc497674ca7161e2ddbbcd8e588", - "electron-v34.2.0+wvcus-linux-x64.zip": "c2e098c1ac965108f948071faccba7c1d8d3b0f65db3d99d7e1da75c72b40837", - "electron-v34.2.0+wvcus-win32-ia32-pdb.zip": "a39e319c1963f0076a927d00ce9b442c0a7ad84d670efa1a3aff653bd0b0f0a6", - "electron-v34.2.0+wvcus-win32-ia32-symbols.zip": "a4a4ee70464cfddaafce7389304d33c8e815998680fc24719781c6655db25357", - "electron-v34.2.0+wvcus-win32-ia32.zip": "ee204913c540312aa5930ac8fb5b2641af79459969829e28b8d83b5351a4bb79", - "electron-v34.2.0+wvcus-win32-x64-pdb.zip": "c81c60703800a425b2d100543d41baa2d6e204ced3fd638bd1d4ecc74fbdcc56", - "electron-v34.2.0+wvcus-win32-x64-symbols.zip": "d4a386ee92392eda3a437333d025cecba776946e8731e65d5c652765f8aab361", - "electron-v34.2.0+wvcus-win32-x64.zip": "273931c825143584622b833aa46d68c97deeb3649f394654677f074bc6ab1f98", - "electron.d.ts": "2185cf4a617c00e4413a5605c11ca6c2c9f0c50196ef3434f7c18b9a6feba4dd" + "electron-api.json": "355cf3c641d743249ab7e3e9d308a3d617e02e816e9f976999fa40a42c471177", + "electron-v34.3.0+wvcus-darwin-arm64-dsym.zip": "11cf5022ac5873c5a0294aab35e6f3c677bcaddb19c0577b0c6114f948a5f632", + "electron-v34.3.0+wvcus-darwin-arm64-symbols.zip": "3f18970dc1915cd68468d598d9a5b232ef4455dbac1557fbf55d64f317108e27", + "electron-v34.3.0+wvcus-darwin-arm64.zip": "b02f42a9b542e78aded9d0808f118e5ecb73b5646dae3647ac9d35994f85cb8e", + "electron-v34.3.0+wvcus-darwin-x64-dsym.zip": "16c9466d211a1e58acf550ce296924c0231bf9d34b8dbcd088eb2ca9143b1f11", + "electron-v34.3.0+wvcus-darwin-x64-symbols.zip": "4ba4e346fce2c3cf0cb5860d0733e36c71442a893ff22343cc5a1410753b9ee0", + "electron-v34.3.0+wvcus-darwin-x64.zip": "b6091f9fa8d5a581c7a86596b30e74e330e9d870cbbeb3849a0c74c2484b5dcc", + "electron-v34.3.0+wvcus-linux-x64-symbols.zip": "ea598a5774f32db2894c0c096e5933183bb34bedb2284d9777d56e2fe3a645e1", + "electron-v34.3.0+wvcus-linux-x64.zip": "e57d3f0355854477fb6f23c9a85f29b18a71123b5227ccd81214d9284672e9bc", + "electron-v34.3.0+wvcus-win32-ia32-pdb.zip": "8b3f51d98a5b3b3364d37cd02fd01b8616bcb6587b0547eeac84eec22381c325", + "electron-v34.3.0+wvcus-win32-ia32-symbols.zip": "f9324ace332f25c8600f26b1ea426fedd50f85933f44fc06607268e1c7481d94", + "electron-v34.3.0+wvcus-win32-ia32.zip": "5d52a3f35a183ef68f69629d309a9ccdf349e606e8e756aa07b8a4dad5cb7999", + "electron-v34.3.0+wvcus-win32-x64-pdb.zip": "4bfb45568932bc49b0b09d75755c14df5c913ecd5f3ce781ed268d4143bdc1ba", + "electron-v34.3.0+wvcus-win32-x64-symbols.zip": "43ca2d820d4a6b2ac843b10034bb37415801ab241800604a5785112288648461", + "electron-v34.3.0+wvcus-win32-x64.zip": "0eaaf8aaf4ca3774c7270894ab30f2ce521edf7c885f326ef6536e805ab65f45", + "electron.d.ts": "a8af45dec60a3530cff79138a5428c9a1d364a7a2528c49334556f27c3c9d975" } diff --git a/electron.d.ts b/electron.d.ts index 487caae..5f39825 100644 --- a/electron.d.ts +++ b/electron.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Electron 34.2.0+wvcus +// Type definitions for Electron 34.3.0+wvcus // Project: http://electronjs.org/ // Definitions by: The Electron Team // Definitions: https://github.com/electron/typescript-definitions @@ -3657,11 +3657,12 @@ declare namespace Electron { */ resizable?: boolean; /** - * Whether frameless window should have rounded corners on macOS. Default is - * `true`. Setting this property to `false` will prevent the window from being - * fullscreenable. + * Whether frameless window should have rounded corners. Default is `true`. Setting + * this property to `false` will prevent the window from being fullscreenable on + * macOS. On Windows versions older than Windows 11 Build 22000 this property has + * no effect, and frameless windows will not have rounded corners. * - * @platform darwin + * @platform darwin,win32 */ roundedCorners?: boolean; /** @@ -9350,7 +9351,8 @@ declare namespace Electron { */ canGoForward(): boolean; /** - * Whether the web page can go to the specified `offset` from the current entry. + * Whether the web page can go to the specified relative `offset` from the current + * entry. */ canGoToOffset(offset: number): boolean; /** @@ -9385,7 +9387,7 @@ declare namespace Electron { */ goToIndex(index: number): void; /** - * Navigates to the specified offset from the current entry. + * Navigates to the specified relative offset from the current entry. */ goToOffset(offset: number): void; /** @@ -10067,23 +10069,23 @@ declare namespace Electron { * * @platform darwin */ - on(event: 'thermal-state-change', listener: () => void): this; + on(event: 'thermal-state-change', listener: (details: Event) => void): this; /** * @platform darwin */ - off(event: 'thermal-state-change', listener: () => void): this; + off(event: 'thermal-state-change', listener: (details: Event) => void): this; /** * @platform darwin */ - once(event: 'thermal-state-change', listener: () => void): this; + once(event: 'thermal-state-change', listener: (details: Event) => void): this; /** * @platform darwin */ - addListener(event: 'thermal-state-change', listener: () => void): this; + addListener(event: 'thermal-state-change', listener: (details: Event) => void): this; /** * @platform darwin */ - removeListener(event: 'thermal-state-change', listener: () => void): this; + removeListener(event: 'thermal-state-change', listener: (details: Event) => void): this; /** * Emitted as soon as the systems screen is unlocked. * @@ -20961,6 +20963,14 @@ declare namespace Electron { callback?: () => void; } + interface PowerMonitorThermalStateChangeEventParams { + /** + * The system's new thermal state. Can be `unknown`, `nominal`, `fair`, `serious`, + * `critical`. + */ + state: ('unknown' | 'nominal' | 'fair' | 'serious' | 'critical'); + } + interface PreconnectOptions { /** * URL for preconnect. Only the origin is relevant for opening the socket. @@ -22723,6 +22733,7 @@ declare namespace Electron { type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails; type PluginCrashedEvent = Electron.PluginCrashedEvent; type PopupOptions = Electron.PopupOptions; + type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams; type PreconnectOptions = Electron.PreconnectOptions; type PrintToPDFOptions = Electron.PrintToPDFOptions; type Privileges = Electron.Privileges; @@ -23085,6 +23096,7 @@ declare namespace Electron { type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails; type PluginCrashedEvent = Electron.PluginCrashedEvent; type PopupOptions = Electron.PopupOptions; + type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams; type PreconnectOptions = Electron.PreconnectOptions; type PrintToPDFOptions = Electron.PrintToPDFOptions; type Privileges = Electron.Privileges; @@ -23377,6 +23389,7 @@ declare namespace Electron { type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails; type PluginCrashedEvent = Electron.PluginCrashedEvent; type PopupOptions = Electron.PopupOptions; + type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams; type PreconnectOptions = Electron.PreconnectOptions; type PrintToPDFOptions = Electron.PrintToPDFOptions; type Privileges = Electron.Privileges; @@ -23666,6 +23679,7 @@ declare namespace Electron { type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails; type PluginCrashedEvent = Electron.PluginCrashedEvent; type PopupOptions = Electron.PopupOptions; + type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams; type PreconnectOptions = Electron.PreconnectOptions; type PrintToPDFOptions = Electron.PrintToPDFOptions; type Privileges = Electron.Privileges; @@ -24045,6 +24059,7 @@ declare namespace Electron { type PermissionCheckHandlerHandlerDetails = Electron.PermissionCheckHandlerHandlerDetails; type PluginCrashedEvent = Electron.PluginCrashedEvent; type PopupOptions = Electron.PopupOptions; + type PowerMonitorThermalStateChangeEventParams = Electron.PowerMonitorThermalStateChangeEventParams; type PreconnectOptions = Electron.PreconnectOptions; type PrintToPDFOptions = Electron.PrintToPDFOptions; type Privileges = Electron.Privileges; diff --git a/package.json b/package.json index f5b52a1..f192d7f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "node": ">= 12.20.55" }, "name": "electron", - "version": "34.2.0+wvcus", + "version": "34.3.0+wvcus", "repository": "https://github.com/castlabs/electron-releases", "description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection", "license": "MIT",