@todesktop/shared 7.40.0 → 7.43.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.
@@ -141,6 +141,7 @@ export interface DesktopifyApp {
141
141
  name: string;
142
142
  targetUrl: string;
143
143
  appId: string;
144
+ autoHideMenuBar?: boolean;
144
145
  height: number;
145
146
  width: number;
146
147
  fullScreen: boolean;
@@ -43,10 +43,12 @@ export interface IAppWindowOptions {
43
43
  transparentTitlebar: boolean;
44
44
  alwaysOnTop: boolean;
45
45
  transparentInsetTitlebar: boolean;
46
+ autoHideMenuBar: boolean;
46
47
  }
47
48
  export declare type ProgressTypes = "progress" | "done" | "error";
48
49
  export interface IWindowOptions {
49
50
  isAlwaysOnTop?: boolean;
51
+ isAutoHideMenuBar?: boolean;
50
52
  isMaximizable: boolean;
51
53
  isMinimizable: boolean;
52
54
  isResizable: boolean;
@@ -212,6 +214,7 @@ export interface CustomMacCodeSign {
212
214
  export interface CustomNotarization {
213
215
  appleId: string;
214
216
  appleIdPassword: string;
217
+ ascProvider?: string;
215
218
  }
216
219
  export declare enum WindowsHSMCertType {
217
220
  ev = "ev",
@@ -240,6 +243,7 @@ export interface IApp {
240
243
  customNotarization?: {
241
244
  appleId: string;
242
245
  appleIdPassword: string;
246
+ ascProvider?: string;
243
247
  };
244
248
  customUserAgent?: ISwitchableValue<string>;
245
249
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
@@ -263,6 +267,7 @@ export interface IApp {
263
267
  shouldUseRealUserAgent?: boolean;
264
268
  extraBrowserWindowOptions?: string;
265
269
  enablePushNotifications?: boolean;
270
+ forceVersionNumber?: string;
266
271
  isTransitioningFromSquirrelWindows?: boolean;
267
272
  jsToInject?: string;
268
273
  menubarIcon?: string;
@@ -39,6 +39,7 @@ export declare const appConfigValidation: yup.ObjectSchema<{
39
39
  transparentTitlebar: any;
40
40
  alwaysOnTop: any;
41
41
  transparentInsetTitlebar: any;
42
+ autoHideMenuBar: any;
42
43
  };
43
44
  meta: {
44
45
  schemaVersion: any;
@@ -92,6 +92,7 @@ exports.appConfigValidation = yup.object({
92
92
  transparentTitlebar: yup.boolean().required(),
93
93
  alwaysOnTop: yup.boolean().required(),
94
94
  transparentInsetTitlebar: yup.boolean().required(),
95
+ autoHideMenuBar: yup.boolean().required(),
95
96
  })
96
97
  .required(),
97
98
  meta: yup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.40.0",
3
+ "version": "7.43.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -254,6 +254,7 @@ export interface DesktopifyApp {
254
254
  name: string;
255
255
  targetUrl: string;
256
256
  appId: string;
257
+ autoHideMenuBar?: boolean;
257
258
  height: number;
258
259
  width: number;
259
260
  fullScreen: boolean;
package/src/toDesktop.ts CHANGED
@@ -59,12 +59,14 @@ export interface IAppWindowOptions {
59
59
  transparentTitlebar: boolean;
60
60
  alwaysOnTop: boolean;
61
61
  transparentInsetTitlebar: boolean;
62
+ autoHideMenuBar: boolean;
62
63
  }
63
64
 
64
65
  export type ProgressTypes = "progress" | "done" | "error";
65
66
 
66
67
  export interface IWindowOptions {
67
68
  isAlwaysOnTop?: boolean;
69
+ isAutoHideMenuBar?: boolean;
68
70
  isMaximizable: boolean;
69
71
  isMinimizable: boolean;
70
72
  isResizable: boolean;
@@ -241,6 +243,7 @@ export interface CustomMacCodeSign {
241
243
  export interface CustomNotarization {
242
244
  appleId: string;
243
245
  appleIdPassword: string;
246
+ ascProvider?: string;
244
247
  }
245
248
 
246
249
  export enum WindowsHSMCertType {
@@ -274,6 +277,7 @@ export interface IApp {
274
277
  customNotarization?: {
275
278
  appleId: string;
276
279
  appleIdPassword: string;
280
+ ascProvider?: string;
277
281
  };
278
282
  customUserAgent?: ISwitchableValue<string>;
279
283
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
@@ -295,6 +299,7 @@ export interface IApp {
295
299
  shouldUseRealUserAgent?: boolean;
296
300
  extraBrowserWindowOptions?: string;
297
301
  enablePushNotifications?: boolean;
302
+ forceVersionNumber?: string;
298
303
 
299
304
  isTransitioningFromSquirrelWindows?: boolean;
300
305
  jsToInject?: string;
@@ -121,6 +121,7 @@ export const appConfigValidation = yup.object({
121
121
  transparentTitlebar: yup.boolean().required(),
122
122
  alwaysOnTop: yup.boolean().required(),
123
123
  transparentInsetTitlebar: yup.boolean().required(),
124
+ autoHideMenuBar: yup.boolean().required(),
124
125
  })
125
126
  .required(),
126
127
  meta: yup