@todesktop/shared 7.73.0 → 7.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ import { BaseApp } from "./base";
7
7
  */
8
8
  declare type todesktopRoles = "todesktop:launch-at-startup" | "todesktop:check-for-updates" | "todesktop:quit" | "todesktop:new-window" | "todesktop:new-tab" | "todesktop:check-for-updates" | "todesktop:history-home" | "todesktop:history-back" | "todesktop:history-forward" | "todesktop:show-window" | "todesktop:hide-window";
9
9
  export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConstructorOptions, "role" | "submenu"> {
10
- platforms?: NodeJS.Platform;
10
+ platforms?: NodeJS.Platform[];
11
11
  submenu?: DesktopifyMenuItemConstructorOptions[];
12
12
  role?: MenuItemConstructorOptions["role"] | todesktopRoles;
13
13
  }
@@ -39,7 +39,7 @@ export declare type DesktopifyAppTrayAction = DesktopifyAppTrayToggleMenuAction
39
39
  export interface DesktopifyAppTray {
40
40
  id: string;
41
41
  icon: string;
42
- bundledIcon: string;
42
+ bundledIcon?: string;
43
43
  rightClick: DesktopifyAppTrayAction;
44
44
  leftClick: DesktopifyAppTrayAction;
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.73.0",
3
+ "version": "7.74.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -24,7 +24,7 @@ type todesktopRoles =
24
24
 
25
25
  export interface DesktopifyMenuItemConstructorOptions
26
26
  extends Omit<MenuItemConstructorOptions, "role" | "submenu"> {
27
- platforms?: NodeJS.Platform;
27
+ platforms?: NodeJS.Platform[];
28
28
  submenu?: DesktopifyMenuItemConstructorOptions[];
29
29
  role?: MenuItemConstructorOptions["role"] | todesktopRoles;
30
30
  }
@@ -64,7 +64,7 @@ export type DesktopifyAppTrayAction =
64
64
  export interface DesktopifyAppTray {
65
65
  id: string;
66
66
  icon: string;
67
- bundledIcon: string;
67
+ bundledIcon?: string;
68
68
  rightClick: DesktopifyAppTrayAction;
69
69
  leftClick: DesktopifyAppTrayAction;
70
70
  }