@todesktop/shared 7.186.12 → 7.186.14

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.
@@ -44,7 +44,7 @@ export interface DesktopifyMenuItemConstructorOptions extends Omit<MenuItemConst
44
44
  bundledIcon?: string;
45
45
  iconAssetDetails?: MenuIconAssetDetails;
46
46
  useTemplateImage?: boolean;
47
- acceleratorBehaviour?: 'none' | 'default' | 'custom';
47
+ acceleratorBehaviour?: 'none' | 'explicit-none' | 'default' | 'custom';
48
48
  }
49
49
  /**
50
50
  * Toggle Window Tray Action
@@ -236,7 +236,7 @@ export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
236
236
  /**
237
237
  * Configure auto updates
238
238
  */
239
- autoUpdates?: AutoUpdateConfiguration;
239
+ autoUpdates: AutoUpdateConfiguration;
240
240
  /**
241
241
  * App identifier
242
242
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.186.12",
3
+ "version": "7.186.14",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -80,7 +80,8 @@ export interface DesktopifyMenuItemConstructorOptions
80
80
  bundledIcon?: string;
81
81
  iconAssetDetails?: MenuIconAssetDetails;
82
82
  useTemplateImage?: boolean;
83
- acceleratorBehaviour?: 'none' | 'default' | 'custom';
83
+ // 'none' is kept for legacy reasons
84
+ acceleratorBehaviour?: 'none' | 'explicit-none' | 'default' | 'custom';
84
85
  }
85
86
 
86
87
  /**
@@ -367,7 +368,7 @@ export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
367
368
  /**
368
369
  * Configure auto updates
369
370
  */
370
- autoUpdates?: AutoUpdateConfiguration;
371
+ autoUpdates: AutoUpdateConfiguration;
371
372
 
372
373
  /**
373
374
  * App identifier