@todesktop/shared 7.45.0 → 7.48.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.
- package/lib/desktopify.d.ts +2 -1
- package/lib/toDesktop.d.ts +2 -0
- package/package.json +3 -2
- package/src/desktopify.ts +2 -1
- package/src/toDesktop.ts +2 -0
package/lib/desktopify.d.ts
CHANGED
|
@@ -146,7 +146,7 @@ export interface DesktopifyApp {
|
|
|
146
146
|
width: number;
|
|
147
147
|
fullScreen: boolean;
|
|
148
148
|
isResizable: boolean;
|
|
149
|
-
isTitleStatic
|
|
149
|
+
isTitleStatic?: boolean;
|
|
150
150
|
minHeight?: number;
|
|
151
151
|
minWidth?: number;
|
|
152
152
|
maxHeight?: number;
|
|
@@ -177,6 +177,7 @@ 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;
|
|
182
183
|
}
|
package/lib/toDesktop.d.ts
CHANGED
|
@@ -264,6 +264,7 @@ export interface IApp {
|
|
|
264
264
|
isWebSecurityDisabled?: boolean;
|
|
265
265
|
isBackgroundThrottlingPrevented?: boolean;
|
|
266
266
|
isGoogleOAuthExternal?: boolean;
|
|
267
|
+
isTitleStatic?: boolean;
|
|
267
268
|
shouldMakeSameDomainAnExternalLink?: boolean;
|
|
268
269
|
shouldUseRealUserAgent?: boolean;
|
|
269
270
|
extraBrowserWindowOptions?: string;
|
|
@@ -294,6 +295,7 @@ export interface IApp {
|
|
|
294
295
|
};
|
|
295
296
|
subscription?: IStripeSubscription;
|
|
296
297
|
themeSource?: "system" | "light" | "dark";
|
|
298
|
+
themeSourceMac?: "system" | "light" | "dark";
|
|
297
299
|
toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;
|
|
298
300
|
trayIcon?: string;
|
|
299
301
|
url: string;
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@todesktop/shared",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.48.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
9
|
"build": "rm -f ./lib/* && tsc",
|
|
10
|
-
"prepublishOnly": "npm run build"
|
|
10
|
+
"prepublishOnly": "npm run build",
|
|
11
|
+
"bump": "npm version minor && git push && npm publish"
|
|
11
12
|
},
|
|
12
13
|
"author": "Dave Jeffery <dave@davejeffery.com>",
|
|
13
14
|
"license": "UNLICENSED",
|
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
|
|
262
|
+
isTitleStatic?: boolean;
|
|
263
263
|
minHeight?: number;
|
|
264
264
|
minWidth?: number;
|
|
265
265
|
maxHeight?: number;
|
|
@@ -290,6 +290,7 @@ 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;
|
|
295
296
|
}
|
package/src/toDesktop.ts
CHANGED
|
@@ -296,6 +296,7 @@ export interface IApp {
|
|
|
296
296
|
isWebSecurityDisabled?: boolean;
|
|
297
297
|
isBackgroundThrottlingPrevented?: boolean;
|
|
298
298
|
isGoogleOAuthExternal?: boolean;
|
|
299
|
+
isTitleStatic?: boolean;
|
|
299
300
|
shouldMakeSameDomainAnExternalLink?: boolean;
|
|
300
301
|
shouldUseRealUserAgent?: boolean;
|
|
301
302
|
extraBrowserWindowOptions?: string;
|
|
@@ -325,6 +326,7 @@ export interface IApp {
|
|
|
325
326
|
snapStore?: { login?: string };
|
|
326
327
|
subscription?: IStripeSubscription;
|
|
327
328
|
themeSource?: "system" | "light" | "dark";
|
|
329
|
+
themeSourceMac?: "system" | "light" | "dark";
|
|
328
330
|
toggleVisibilityKeyboardShortcut?: ISwitchableValue<string>;
|
|
329
331
|
trayIcon?: string;
|
|
330
332
|
url: string;
|