@todesktop/shared 7.184.22 → 7.184.24

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;
@@ -401,8 +402,19 @@ export interface DesktopifyApp2 {
401
402
  * @default false
402
403
  */
403
404
  shouldHaveFullAccessToElectronAPIs?: boolean;
405
+ /**
406
+ * Whether the app is using a valid code signing certificates.
407
+ * Note: This value is not persisted in firestore, and is instead written locally at build time.
408
+ * @default false
409
+ */
410
+ isUsingValidCustomCertificates?: boolean;
404
411
  }
405
412
  export interface IApp2 extends BaseApp {
406
413
  desktopApp: DesktopifyApp2;
414
+ desktopAppOverrides?: {
415
+ linux?: Partial<DesktopifyApp2>;
416
+ mac?: Partial<DesktopifyApp2>;
417
+ windows?: Partial<DesktopifyApp2>;
418
+ };
407
419
  }
408
420
  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.24",
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;
@@ -530,9 +531,22 @@ export interface DesktopifyApp2 {
530
531
  * @default false
531
532
  */
532
533
  shouldHaveFullAccessToElectronAPIs?: boolean;
534
+
535
+ /**
536
+ * Whether the app is using a valid code signing certificates.
537
+ * Note: This value is not persisted in firestore, and is instead written locally at build time.
538
+ * @default false
539
+ */
540
+ isUsingValidCustomCertificates?: boolean;
533
541
  }
534
542
 
535
543
  export interface IApp2 extends BaseApp {
536
544
  // Be careful when coercing to `IApp2` that we always check for `desktopApp` first
537
545
  desktopApp: DesktopifyApp2;
546
+
547
+ desktopAppOverrides?: {
548
+ linux?: Partial<DesktopifyApp2>;
549
+ mac?: Partial<DesktopifyApp2>;
550
+ windows?: Partial<DesktopifyApp2>;
551
+ };
538
552
  }