@todesktop/shared 7.184.21 → 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;
@@ -111,10 +112,6 @@ export interface DesktopifyAppWindow {
111
112
  * A unique window id
112
113
  */
113
114
  id: string;
114
- /**
115
- * The unique object id associated with the window
116
- */
117
- objectId?: string;
118
115
  /**
119
116
  * The window name. Only visible to developer
120
117
  */
@@ -408,5 +405,10 @@ export interface DesktopifyApp2 {
408
405
  }
409
406
  export interface IApp2 extends BaseApp {
410
407
  desktopApp: DesktopifyApp2;
408
+ desktopAppOverrides?: {
409
+ linux?: Partial<DesktopifyApp2>;
410
+ mac?: Partial<DesktopifyApp2>;
411
+ windows?: Partial<DesktopifyApp2>;
412
+ };
411
413
  }
412
414
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.184.21",
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;
@@ -232,10 +233,6 @@ export interface DesktopifyAppWindow {
232
233
  * A unique window id
233
234
  */
234
235
  id: string;
235
- /**
236
- * The unique object id associated with the window
237
- */
238
- objectId?: string;
239
236
  /**
240
237
  * The window name. Only visible to developer
241
238
  */
@@ -539,4 +536,10 @@ export interface DesktopifyApp2 {
539
536
  export interface IApp2 extends BaseApp {
540
537
  // Be careful when coercing to `IApp2` that we always check for `desktopApp` first
541
538
  desktopApp: DesktopifyApp2;
539
+
540
+ desktopAppOverrides?: {
541
+ linux?: Partial<DesktopifyApp2>;
542
+ mac?: Partial<DesktopifyApp2>;
543
+ windows?: Partial<DesktopifyApp2>;
544
+ };
542
545
  }