@todesktop/shared 7.154.0 → 7.156.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/base.d.ts CHANGED
@@ -96,7 +96,7 @@ export interface IAppMeta {
96
96
  nsisCustomBinary?: {
97
97
  checksum?: string;
98
98
  debugLogging?: boolean;
99
- url?: string;
99
+ url: string;
100
100
  version?: string;
101
101
  };
102
102
  nsisInclude?: FilePath;
@@ -378,6 +378,6 @@ export interface DesktopifyApp2 {
378
378
  fileAssetDetailsList?: FileAssetDetails[];
379
379
  }
380
380
  export interface IApp2 extends BaseApp {
381
- desktopApp: DesktopifyApp2;
381
+ desktopApp?: DesktopifyApp2;
382
382
  }
383
383
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.154.0",
3
+ "version": "7.156.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -103,7 +103,7 @@ export interface IAppMeta {
103
103
  nsisCustomBinary?: {
104
104
  checksum?: string;
105
105
  debugLogging?: boolean;
106
- url?: string;
106
+ url: string;
107
107
  version?: string;
108
108
  }
109
109
  nsisInclude?: FilePath;
@@ -504,5 +504,6 @@ export interface DesktopifyApp2 {
504
504
  }
505
505
 
506
506
  export interface IApp2 extends BaseApp {
507
- desktopApp: DesktopifyApp2;
507
+ // Old apps don't have the `desktopApp` property so let's not assume it exists
508
+ desktopApp?: DesktopifyApp2;
508
509
  }