@todesktop/shared 7.188.47 → 7.188.48
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/hsm.d.ts +8 -1
- package/package.json +1 -1
- package/src/hsm.ts +13 -1
package/lib/hsm.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* - mac = Developer ID Application
|
|
3
|
+
* - mac-installer = Developer ID Installer
|
|
4
|
+
* - mas = Apple Distribution or Mac App Distribution (for Mac App Store)
|
|
5
|
+
* - mas-installer = Mac Installer Distribution (for Mac App Store)
|
|
6
|
+
* - mas-dev = Apple Development
|
|
7
|
+
*/
|
|
8
|
+
export declare type MacTarget = 'mac' | 'mac-installer' | 'mas' | 'mas-installer' | 'mas-dev';
|
|
2
9
|
export declare function isMacTarget(type: string): type is MacTarget;
|
|
3
10
|
/**
|
|
4
11
|
* Files that are uploaded to HSM have a unique secretName that depends on the appId and target.
|
package/package.json
CHANGED
package/src/hsm.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* - mac = Developer ID Application
|
|
3
|
+
* - mac-installer = Developer ID Installer
|
|
4
|
+
* - mas = Apple Distribution or Mac App Distribution (for Mac App Store)
|
|
5
|
+
* - mas-installer = Mac Installer Distribution (for Mac App Store)
|
|
6
|
+
* - mas-dev = Apple Development
|
|
7
|
+
*/
|
|
8
|
+
export type MacTarget =
|
|
9
|
+
| 'mac'
|
|
10
|
+
| 'mac-installer'
|
|
11
|
+
| 'mas'
|
|
12
|
+
| 'mas-installer'
|
|
13
|
+
| 'mas-dev';
|
|
2
14
|
export function isMacTarget(type: string): type is MacTarget {
|
|
3
15
|
return ['mac', 'mas', 'mas-installer', 'mas-dev'].includes(type);
|
|
4
16
|
}
|