@todesktop/shared 7.184.22 → 7.184.23

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.
@@ -84,6 +84,7 @@ export interface DesktopifyAppTray {
84
84
  linuxIconAssetDetails?: TrayMenubarIconAssetDetails;
85
85
  bundledIcon?: string;
86
86
  iconAssetDetails?: TrayMenubarIconAssetDetails;
87
+ swapClickHandlers?: boolean;
87
88
  useTemplateImage?: boolean;
88
89
  rightClick: DesktopifyAppTrayAction;
89
90
  leftClick: DesktopifyAppTrayAction;
@@ -404,5 +405,10 @@ export interface DesktopifyApp2 {
404
405
  }
405
406
  export interface IApp2 extends BaseApp {
406
407
  desktopApp: DesktopifyApp2;
408
+ desktopAppOverrides?: {
409
+ linux?: Partial<DesktopifyApp2>;
410
+ mac?: Partial<DesktopifyApp2>;
411
+ windows?: Partial<DesktopifyApp2>;
412
+ };
407
413
  }
408
414
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.184.22",
3
+ "version": "7.184.23",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -126,6 +126,7 @@ export interface DesktopifyAppTray {
126
126
  linuxIconAssetDetails?: TrayMenubarIconAssetDetails;
127
127
  bundledIcon?: string;
128
128
  iconAssetDetails?: TrayMenubarIconAssetDetails;
129
+ swapClickHandlers?: boolean;
129
130
  useTemplateImage?: boolean;
130
131
  rightClick: DesktopifyAppTrayAction;
131
132
  leftClick: DesktopifyAppTrayAction;
@@ -535,4 +536,10 @@ export interface DesktopifyApp2 {
535
536
  export interface IApp2 extends BaseApp {
536
537
  // Be careful when coercing to `IApp2` that we always check for `desktopApp` first
537
538
  desktopApp: DesktopifyApp2;
539
+
540
+ desktopAppOverrides?: {
541
+ linux?: Partial<DesktopifyApp2>;
542
+ mac?: Partial<DesktopifyApp2>;
543
+ windows?: Partial<DesktopifyApp2>;
544
+ };
538
545
  }