@todesktop/shared 7.37.1 → 7.38.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.
@@ -163,19 +163,19 @@ export interface DesktopifyApp {
163
163
  preventBackgroundThrottling?: boolean;
164
164
  googleOAuthIsExternal?: boolean;
165
165
  shouldUseRealUserAgent?: boolean;
166
- extraBrowserWindowOptions?: string;
166
+ extraBrowserWindowOptions?: any;
167
167
  menubarIcon?: string;
168
168
  trayIcon?: string;
169
169
  toggleVisibilityKeyboardShortcut?: string;
170
170
  appType?: string;
171
- runtimeEnvs?: {
172
- [propertyName: string]: string;
173
- };
171
+ runtimeEnvs?: string;
174
172
  shouldLaunchAtStartupByDefault?: boolean;
175
173
  shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
176
174
  shouldReuseRendererProcess?: boolean;
177
175
  shouldMakeSameDomainAnExternalLink?: boolean;
178
176
  enablePushNotifications?: boolean;
179
- themeSource?: string;
177
+ themeSource?: "system" | "light" | "dark";
178
+ crashReporter?: string;
179
+ companyName?: string;
180
180
  }
181
181
  export {};
@@ -117,6 +117,7 @@ export interface IAppMeta {
117
117
  extraContentFiles?: ExtraFileReference[];
118
118
  electronMirror?: string;
119
119
  extraResources?: ExtraFileReference[];
120
+ filesForDistribution?: string[];
120
121
  icon: FilePath;
121
122
  id: string;
122
123
  linux?: {
@@ -278,7 +279,7 @@ export interface IApp {
278
279
  login?: string;
279
280
  };
280
281
  subscription?: IStripeSubscription;
281
- themeSource?: "auto" | "light" | "dark";
282
+ themeSource?: "system" | "light" | "dark";
282
283
  toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;
283
284
  trayIcon?: string;
284
285
  url: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.37.1",
3
+ "version": "7.38.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -276,16 +276,18 @@ export interface DesktopifyApp {
276
276
  preventBackgroundThrottling?: boolean;
277
277
  googleOAuthIsExternal?: boolean;
278
278
  shouldUseRealUserAgent?: boolean;
279
- extraBrowserWindowOptions?: string;
279
+ extraBrowserWindowOptions?: any;
280
280
  menubarIcon?: string;
281
281
  trayIcon?: string;
282
282
  toggleVisibilityKeyboardShortcut?: string;
283
283
  appType?: string;
284
- runtimeEnvs?: { [propertyName: string]: string };
284
+ runtimeEnvs?: string;
285
285
  shouldLaunchAtStartupByDefault?: boolean;
286
286
  shouldOnlySendAbsolutelyNecessaryRequests?: boolean;
287
287
  shouldReuseRendererProcess?: boolean;
288
288
  shouldMakeSameDomainAnExternalLink?: boolean;
289
289
  enablePushNotifications?: boolean;
290
- themeSource?: string;
290
+ themeSource?: "system" | "light" | "dark";
291
+ crashReporter?: string;
292
+ companyName?: string;
291
293
  }
package/src/toDesktop.ts CHANGED
@@ -140,6 +140,7 @@ export interface IAppMeta {
140
140
  extraContentFiles?: ExtraFileReference[];
141
141
  electronMirror?: string;
142
142
  extraResources?: ExtraFileReference[];
143
+ filesForDistribution?: string[];
143
144
  icon: FilePath;
144
145
  id: string;
145
146
  linux?: {
@@ -309,7 +310,7 @@ export interface IApp {
309
310
  shouldReuseRendererProcess?: boolean;
310
311
  snapStore?: { login?: string };
311
312
  subscription?: IStripeSubscription;
312
- themeSource?: "auto" | "light" | "dark";
313
+ themeSource?: "system" | "light" | "dark";
313
314
  toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;
314
315
  trayIcon?: string;
315
316
  url: string;