@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 +4 -0
- package/lib/hsm.js +1 -1
- package/package.json +1 -1
- package/src/base.ts +4 -0
- package/src/hsm.ts +3 -1
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
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(
|
|
15
|
+
return ['mac', 'mac-installer', 'mas', 'mas-installer', 'mas-dev'].includes(
|
|
16
|
+
type
|
|
17
|
+
);
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
/**
|