Skip to content

Commit deb143f

Browse files
committed
Updated for v11.4.3-wvvmp
1 parent 3123115 commit deb143f

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

electron.d.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for Electron 11.4.2
1+
// Type definitions for Electron 11.4.3
22
// Project: http://electronjs.org/
33
// Definitions by: The Electron Team <https://github.com/electron/electron>
44
// Definitions: https://github.com/electron/electron-typescript-definitions
@@ -1439,6 +1439,10 @@ By default this API will return `false`.
14391439
* removed item to a custom category earlier than that will result in the entire
14401440
* custom category being omitted from the Jump List. The list of removed items can
14411441
* be obtained using `app.getJumpListSettings()`.
1442+
*
1443+
* **Note:** The maximum length of a Jump List item's `description` property is 260
1444+
* characters. Beyond this limit, the item will not be added to the Jump List, nor
1445+
* will it be displayed.
14421446
*
14431447
Here's a very simple example of creating a custom Jump List:
14441448
*
@@ -5269,7 +5273,7 @@ Retrieves the product descriptions.
52695273
args?: string;
52705274
/**
52715275
* Description of the task (displayed in a tooltip). Should only be set if `type`
5272-
* is `task`.
5276+
* is `task`. Maximum length 260 characters.
52735277
*/
52745278
description?: string;
52755279
/**
@@ -7792,13 +7796,15 @@ Some popular `key` and `type`s are:
77927796
*/
77937797
subscribeNotification(event: string, callback: (event: string, userInfo: Record<string, unknown>, object: string) => void): number;
77947798
/**
7799+
* The ID of this subscription
7800+
*
77957801
* Same as `subscribeNotification`, but uses
77967802
* `NSWorkspace.sharedWorkspace.notificationCenter`. This is necessary for events
77977803
* such as `NSWorkspaceDidActivateApplicationNotification`.
77987804
*
77997805
* @platform darwin
78007806
*/
7801-
subscribeWorkspaceNotification(event: string, callback: (event: string, userInfo: Record<string, unknown>, object: string) => void): void;
7807+
subscribeWorkspaceNotification(event: string, callback: (event: string, userInfo: Record<string, unknown>, object: string) => void): number;
78027808
/**
78037809
* Same as `unsubscribeNotification`, but removes the subscriber from
78047810
* `NSNotificationCenter`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"node": ">= 8.6"
1717
},
1818
"name": "electron",
19-
"version": "11.4.2-wvvmp",
19+
"version": "11.4.3-wvvmp",
2020
"repository": "https://github.com/castlabs/electron-releases",
2121
"description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection",
2222
"license": "MIT",

0 commit comments

Comments
 (0)