@todesktop/shared 7.124.0 → 7.126.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.
@@ -298,6 +298,15 @@ export interface DesktopifyApp2 {
298
298
  * Once set the menu bar will only show when users press the single Alt key.
299
299
  */
300
300
  autoHideMenuBar?: boolean;
301
+ /**
302
+ * Sets whether an offline screen will be displayed if the internet is disconnected
303
+ * on initial page load. The color of the re-connect button that is shown is customizable.
304
+ */
305
+ offlineScreen?: {
306
+ enabled: boolean;
307
+ buttonBackgroundColor: string;
308
+ buttonTextColor: string;
309
+ };
301
310
  }
302
311
  export interface IApp2 extends BaseApp {
303
312
  desktopApp: DesktopifyApp2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.124.0",
3
+ "version": "7.126.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -411,6 +411,15 @@ export interface DesktopifyApp2 {
411
411
  * Once set the menu bar will only show when users press the single Alt key.
412
412
  */
413
413
  autoHideMenuBar?: boolean;
414
+ /**
415
+ * Sets whether an offline screen will be displayed if the internet is disconnected
416
+ * on initial page load. The color of the re-connect button that is shown is customizable.
417
+ */
418
+ offlineScreen?: {
419
+ enabled: boolean;
420
+ buttonBackgroundColor: string;
421
+ buttonTextColor: string;
422
+ };
414
423
  }
415
424
 
416
425
  export interface IApp2 extends BaseApp {