@todesktop/shared 7.37.1 → 7.37.2

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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.37.1",
3
+ "version": "7.37.2",
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
  }