@todesktop/shared 7.188.48 → 7.188.50

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
@@ -231,6 +231,10 @@ export interface BaseApp extends Schemable {
231
231
  customNotarization?: CustomMacNotarization;
232
232
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
233
233
  meta?: IAppMeta;
234
+ parent?: {
235
+ id: string;
236
+ relationshipToParent: string;
237
+ };
234
238
  subscription?: {
235
239
  status: string;
236
240
  subscriptionId: string;
package/lib/hsm.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getMacAPIKeyNameFromHSM = exports.getMacCertificateNameFromHSM = exports.isMacTarget = void 0;
4
4
  function isMacTarget(type) {
5
- return ['mac', 'mas', 'mas-installer', 'mas-dev'].includes(type);
5
+ return ['mac', 'mac-installer', 'mas', 'mas-installer', 'mas-dev'].includes(type);
6
6
  }
7
7
  exports.isMacTarget = isMacTarget;
8
8
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.48",
3
+ "version": "7.188.50",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -265,6 +265,10 @@ export interface BaseApp extends Schemable {
265
265
  customWindowsCodeSign?: CustomWindowsCodeSignFile | CustomWindowsCodeSignEV;
266
266
 
267
267
  meta?: IAppMeta;
268
+ parent?: {
269
+ id: string;
270
+ relationshipToParent: string;
271
+ };
268
272
  subscription?: {
269
273
  status: string;
270
274
  subscriptionId: string;
package/src/hsm.ts CHANGED
@@ -12,7 +12,9 @@ export type MacTarget =
12
12
  | 'mas-installer'
13
13
  | 'mas-dev';
14
14
  export function isMacTarget(type: string): type is MacTarget {
15
- return ['mac', 'mas', 'mas-installer', 'mas-dev'].includes(type);
15
+ return ['mac', 'mac-installer', 'mas', 'mas-installer', 'mas-dev'].includes(
16
+ type
17
+ );
16
18
  }
17
19
 
18
20
  /**