@todesktop/shared 7.46.0 → 7.49.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.
@@ -146,7 +146,7 @@ export interface DesktopifyApp {
146
146
  width: number;
147
147
  fullScreen: boolean;
148
148
  isResizable: boolean;
149
- isTitleStatic?: string;
149
+ isTitleStatic?: boolean;
150
150
  minHeight?: number;
151
151
  minWidth?: number;
152
152
  maxHeight?: number;
@@ -177,7 +177,9 @@ export interface DesktopifyApp {
177
177
  shouldMakeSameDomainAnExternalLink?: boolean;
178
178
  enablePushNotifications?: boolean;
179
179
  themeSource?: "system" | "light" | "dark";
180
+ themeSourceMac?: "system" | "light" | "dark";
180
181
  crashReporter?: string;
181
182
  companyName?: string;
183
+ pollForAppUpdatesEveryXMinutes?: number;
182
184
  }
183
185
  export {};
@@ -295,10 +295,12 @@ export interface IApp {
295
295
  };
296
296
  subscription?: IStripeSubscription;
297
297
  themeSource?: "system" | "light" | "dark";
298
+ themeSourceMac?: "system" | "light" | "dark";
298
299
  toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;
299
300
  trayIcon?: string;
300
301
  url: string;
301
302
  windowOptions: IWindowOptions;
303
+ pollForAppUpdatesEveryXMinutes?: number;
302
304
  }
303
305
  export interface IUser {
304
306
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.46.0",
3
+ "version": "7.49.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -259,7 +259,7 @@ export interface DesktopifyApp {
259
259
  width: number;
260
260
  fullScreen: boolean;
261
261
  isResizable: boolean;
262
- isTitleStatic?: string;
262
+ isTitleStatic?: boolean;
263
263
  minHeight?: number;
264
264
  minWidth?: number;
265
265
  maxHeight?: number;
@@ -290,6 +290,8 @@ export interface DesktopifyApp {
290
290
  shouldMakeSameDomainAnExternalLink?: boolean;
291
291
  enablePushNotifications?: boolean;
292
292
  themeSource?: "system" | "light" | "dark";
293
+ themeSourceMac?: "system" | "light" | "dark";
293
294
  crashReporter?: string;
294
295
  companyName?: string;
296
+ pollForAppUpdatesEveryXMinutes?: number;
295
297
  }
package/src/toDesktop.ts CHANGED
@@ -326,10 +326,12 @@ export interface IApp {
326
326
  snapStore?: { login?: string };
327
327
  subscription?: IStripeSubscription;
328
328
  themeSource?: "system" | "light" | "dark";
329
+ themeSourceMac?: "system" | "light" | "dark";
329
330
  toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;
330
331
  trayIcon?: string;
331
332
  url: string;
332
333
  windowOptions: IWindowOptions;
334
+ pollForAppUpdatesEveryXMinutes?: number;
333
335
  }
334
336
 
335
337
  export interface IUser {