@todesktop/shared 7.188.71 → 7.188.73

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
@@ -1,4 +1,5 @@
1
1
  import { CIRunner, ExtraFileReference, FilePath, IAppBuilderLib, PlatformName, Release } from './desktopify';
2
+ import { MacTarget, WindowsTarget } from './hsm';
2
3
  export interface Schemable {
3
4
  schemaVersion?: number;
4
5
  }
@@ -232,13 +233,8 @@ export interface BaseApp extends Schemable {
232
233
  customMacCodeSign?: CustomMacCodeSign;
233
234
  customNotarization?: CustomMacNotarization;
234
235
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
235
- hsmCertNames?: {
236
- mac: string;
237
- macInstaller: string;
238
- mas: string;
239
- masInstaller: string;
240
- masDev: string;
241
- };
236
+ macHsmCertNames?: Record<MacTarget, string>;
237
+ windowsHsmCertNames?: Record<WindowsTarget, string>;
242
238
  meta?: IAppMeta;
243
239
  parentApp?: BaseApp;
244
240
  parent?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.71",
3
+ "version": "7.188.73",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -6,6 +6,7 @@ import {
6
6
  PlatformName,
7
7
  Release,
8
8
  } from './desktopify';
9
+ import { MacTarget, WindowsTarget } from './hsm';
9
10
  export interface Schemable {
10
11
  schemaVersion?: number;
11
12
  }
@@ -265,13 +266,8 @@ export interface BaseApp extends Schemable {
265
266
  customMacCodeSign?: CustomMacCodeSign;
266
267
  customNotarization?: CustomMacNotarization;
267
268
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
268
- hsmCertNames?: {
269
- mac: string;
270
- macInstaller: string;
271
- mas: string;
272
- masInstaller: string;
273
- masDev: string;
274
- };
269
+ macHsmCertNames?: Record<MacTarget, string>;
270
+ windowsHsmCertNames?: Record<WindowsTarget, string>;
275
271
 
276
272
  meta?: IAppMeta;
277
273
  // this property is dynamically resolved at queueBuild in cloud functions