diff --git a/checksums.json b/checksums.json index 1e5b0cd..f663217 100644 --- a/checksums.json +++ b/checksums.json @@ -1,18 +1,18 @@ { - "electron-api.json": "8003e51a9b715901734d5f1a8415623522565aeb300e95f43f4e2fda5293ab15", - "electron-v35.0.0-beta.6+wvcus-darwin-arm64-dsym.zip": "d82eb012b5fc15aba2b0db202d74225251bd4856ad11a9e5a639e0ca0f971fc2", - "electron-v35.0.0-beta.6+wvcus-darwin-arm64-symbols.zip": "dbd63cec6c807806b24fdefcb395ed6aed08dd13671b0dfe6512b8b744fcaf8b", - "electron-v35.0.0-beta.6+wvcus-darwin-arm64.zip": "6dfc4cc1bbdd0d021c211cc6503e5045406ef026357af35b774e437acce1ea38", - "electron-v35.0.0-beta.6+wvcus-darwin-x64-dsym.zip": "92dadf5f0e819c70bc5690c92c283d065fecf437243064517a703f5e6d4753f2", - "electron-v35.0.0-beta.6+wvcus-darwin-x64-symbols.zip": "7cc8431ae81a8c1894346c9ae0ce30326d552a690fe4c88f23c58d11be483800", - "electron-v35.0.0-beta.6+wvcus-darwin-x64.zip": "12beed2f79b0b5bec05e4672dd206f30d98b5f3d1e3cb154b808394dc5e0f49f", - "electron-v35.0.0-beta.6+wvcus-linux-x64-symbols.zip": "b4f38f6a7528450268d90c97fe129a702adcd8703d134879d1d0c4419551d9c0", - "electron-v35.0.0-beta.6+wvcus-linux-x64.zip": "7bf370e40dcd03c8c1f82bb651591e36171e72ae5f3ac472f387560973e8dff0", - "electron-v35.0.0-beta.6+wvcus-win32-ia32-pdb.zip": "6bf41bf46460458cb806a6fc18bf4048b468039f037f6799c31e745a1c5fcb88", - "electron-v35.0.0-beta.6+wvcus-win32-ia32-symbols.zip": "866794c3fd5ce32722f84dbacd2f0339a6ab874726702499c6e7c6434f9afc0c", - "electron-v35.0.0-beta.6+wvcus-win32-ia32.zip": "e3aa9ca4d94bfcb2db1f3eecc0eef369b7499c73bfe68f0336a8e81ef5451936", - "electron-v35.0.0-beta.6+wvcus-win32-x64-pdb.zip": "ce3eb533bd1b9b8f73de7456d6b4b5f967f1513a5186d7551b7ec675bc706d15", - "electron-v35.0.0-beta.6+wvcus-win32-x64-symbols.zip": "f5236729602c60bd31072afc4b59f0bb5bf5e3e9132dbe80fd1b10ae0767a3a3", - "electron-v35.0.0-beta.6+wvcus-win32-x64.zip": "ec8f708f8c9aa3b6df488cd342f5b62190d23b24fcab0a5a6032d97e65108f92", - "electron.d.ts": "ccd092347b724b20b02857db703596d482d555bfd4bd4be17a0a84a80a74b617" + "electron-api.json": "4b00ea4198022d47df50c12d2379e28d42b6732f41cf1111cde5f20a9dd32e67", + "electron-v35.0.0-beta.7+wvcus-darwin-arm64-dsym.zip": "3a4dd0637b77cc132041daa6ccb2034c7a6ed5b974717613c73b960a1ff1dbf1", + "electron-v35.0.0-beta.7+wvcus-darwin-arm64-symbols.zip": "733fb13a93010d69b533fc8cf4d03fbe3707dfc2b581a200d0bda5f0a0bcb326", + "electron-v35.0.0-beta.7+wvcus-darwin-arm64.zip": "a0f70510b3ebd8a595a351af5602a15f45c0d73ef9dc74b0a6f078ef174516b2", + "electron-v35.0.0-beta.7+wvcus-darwin-x64-dsym.zip": "a2ca1dff01dbe3ed38f40f1a7a7d85345b9b5d3e30c8aafd39c09484a3e26a8a", + "electron-v35.0.0-beta.7+wvcus-darwin-x64-symbols.zip": "0fc9cb6a38fe010db2e48ebc9339d74f736623281d7e4d5e2e0394eeb51f47b1", + "electron-v35.0.0-beta.7+wvcus-darwin-x64.zip": "751f045a213c97ee27fcaa912ebff4414b8b4ac9b815fda3a3da9af48ec34d62", + "electron-v35.0.0-beta.7+wvcus-linux-x64-symbols.zip": "b25e82e7bdbd869fd6975c0d6cbe75953a1be92ab1978f45a9b4b653ad07a2b7", + "electron-v35.0.0-beta.7+wvcus-linux-x64.zip": "72bef4a87217c4ea6325a8d64afb893bfd7a3a0783471e0dd433cb828dc70552", + "electron-v35.0.0-beta.7+wvcus-win32-ia32-pdb.zip": "c7c7102f62335c81e01fafeacb8f54a3f5723b157d8a7038df62b3de6ec05064", + "electron-v35.0.0-beta.7+wvcus-win32-ia32-symbols.zip": "485c46dc383a1f855aacf1a3f34475a2c2bd79d7060b3ec2f287b1816b78f9bd", + "electron-v35.0.0-beta.7+wvcus-win32-ia32.zip": "d5a2a3982c32b5a5ca48679c545634576134eadce9f7996d842abcf4ccd9615c", + "electron-v35.0.0-beta.7+wvcus-win32-x64-pdb.zip": "38a7b16b864a2b56696a6a446744335f4e63f801c7557687e055956e0a3437e0", + "electron-v35.0.0-beta.7+wvcus-win32-x64-symbols.zip": "8edd44612d1d48b29ef6af92c1c2d88dc9b55b43d8136fb87dfb49d9a7c7f7d4", + "electron-v35.0.0-beta.7+wvcus-win32-x64.zip": "066fe2c072ef4c07a3e85d0a079594e0c0b81e9573f13d3c5a357a1d2eb1c307", + "electron.d.ts": "993c97b2eb67e48aa8de68d1321aaacf17b3cc2f5643ba78ca8f5fc7da9700f6" } diff --git a/electron.d.ts b/electron.d.ts index 670c407..66e8adf 100644 --- a/electron.d.ts +++ b/electron.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Electron 35.0.0-beta.6+wvcus +// Type definitions for Electron 35.0.0-beta.7+wvcus // Project: http://electronjs.org/ // Definitions by: The Electron Team // Definitions: https://github.com/electron/typescript-definitions @@ -9545,6 +9545,12 @@ declare namespace Electron { // Docs: https://electronjs.org/docs/api/structures/navigation-entry + /** + * A base64 encoded data string containing Chromium page state including + * information like the current scroll position or form values. It is committed by + * Chromium before a navigation event and on a regular interval. + */ + pageState?: string; title: string; url: string; } @@ -9611,6 +9617,13 @@ declare namespace Electron { * Whether the navigation entry was removed from the webContents history. */ removeEntryAtIndex(index: number): boolean; + /** + * the promise will resolve when the page has finished loading the selected + * navigation entry (see `did-finish-load`), and rejects if the page fails to load + * (see `did-fail-load`). A noop rejection handler is already attached, which + * avoids unhandled rejection errors. + */ + restore(options: RestoreOptions): Promise; } interface Net { @@ -21668,6 +21681,19 @@ declare namespace Electron { pin?: (string) | (null); } + interface RestoreOptions { + /** + * Result of a prior `getAllEntries()` call + */ + entries: NavigationEntry[]; + /** + * Index of the stack that should be loaded. If you set it to `0`, the webContents + * will load the first (oldest) entry. If you leave it undefined, Electron will + * automatically load the last (newest) entry. + */ + index?: number; + } + interface Result { requestId: number; /** @@ -23238,6 +23264,7 @@ declare namespace Electron { type ResolveHostOptions = Electron.ResolveHostOptions; type ResourceUsage = Electron.ResourceUsage; type Response = Electron.Response; + type RestoreOptions = Electron.RestoreOptions; type Result = Electron.Result; type SaveDialogOptions = Electron.SaveDialogOptions; type SaveDialogReturnValue = Electron.SaveDialogReturnValue; @@ -23613,6 +23640,7 @@ declare namespace Electron { type ResolveHostOptions = Electron.ResolveHostOptions; type ResourceUsage = Electron.ResourceUsage; type Response = Electron.Response; + type RestoreOptions = Electron.RestoreOptions; type Result = Electron.Result; type SaveDialogOptions = Electron.SaveDialogOptions; type SaveDialogReturnValue = Electron.SaveDialogReturnValue; @@ -23916,6 +23944,7 @@ declare namespace Electron { type ResolveHostOptions = Electron.ResolveHostOptions; type ResourceUsage = Electron.ResourceUsage; type Response = Electron.Response; + type RestoreOptions = Electron.RestoreOptions; type Result = Electron.Result; type SaveDialogOptions = Electron.SaveDialogOptions; type SaveDialogReturnValue = Electron.SaveDialogReturnValue; @@ -24216,6 +24245,7 @@ declare namespace Electron { type ResolveHostOptions = Electron.ResolveHostOptions; type ResourceUsage = Electron.ResourceUsage; type Response = Electron.Response; + type RestoreOptions = Electron.RestoreOptions; type Result = Electron.Result; type SaveDialogOptions = Electron.SaveDialogOptions; type SaveDialogReturnValue = Electron.SaveDialogReturnValue; @@ -24608,6 +24638,7 @@ declare namespace Electron { type ResolveHostOptions = Electron.ResolveHostOptions; type ResourceUsage = Electron.ResourceUsage; type Response = Electron.Response; + type RestoreOptions = Electron.RestoreOptions; type Result = Electron.Result; type SaveDialogOptions = Electron.SaveDialogOptions; type SaveDialogReturnValue = Electron.SaveDialogReturnValue; diff --git a/package.json b/package.json index 1731689..d5d91f8 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "node": ">= 12.20.55" }, "name": "electron", - "version": "35.0.0-beta.6+wvcus", + "version": "35.0.0-beta.7+wvcus", "repository": "https://github.com/castlabs/electron-releases", "description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection", "license": "MIT",