@todesktop/shared 7.188.38 → 7.188.39
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 +2 -2
- package/package.json +1 -1
- package/src/hsm.ts +2 -2
package/lib/hsm.d.ts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @param artifact the mac artifact type
|
|
7
7
|
* @returns the name of the secret that is required for downloading the cert from HSM.
|
|
8
8
|
*/
|
|
9
|
-
export declare const getMacCertificateNameFromHSM: (appId: string, artifact: 'mac' | 'mas' | 'mas-dev') => string;
|
|
9
|
+
export declare const getMacCertificateNameFromHSM: (appId: string, artifact: 'mac' | 'mas' | 'mas-installer' | 'mas-dev') => string;
|
|
10
10
|
/**
|
|
11
11
|
* Files that are uploaded to HSM have a unique secretName that depends on the appId and artifact.
|
|
12
12
|
* This function returns the key name that is used for key files that have a `.p8` postfix.
|
|
@@ -15,4 +15,4 @@ export declare const getMacCertificateNameFromHSM: (appId: string, artifact: 'ma
|
|
|
15
15
|
* @param artifact the mac artifact type
|
|
16
16
|
* @returns the name of the secret that is required for downloading the cert from HSM.
|
|
17
17
|
*/
|
|
18
|
-
export declare const getMacAPIKeyNameFromHSM: (appId: string, artifact: 'mac' | 'mas' | 'mas-dev') => string;
|
|
18
|
+
export declare const getMacAPIKeyNameFromHSM: (appId: string, artifact: 'mac' | 'mas' | 'mas-installer' | 'mas-dev') => string;
|
package/package.json
CHANGED
package/src/hsm.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export const getMacCertificateNameFromHSM = (
|
|
10
10
|
appId: string,
|
|
11
|
-
artifact: 'mac' | 'mas' | 'mas-dev'
|
|
11
|
+
artifact: 'mac' | 'mas' | 'mas-installer' | 'mas-dev'
|
|
12
12
|
) => {
|
|
13
13
|
return `todesktop-${appId}-${artifact}-cert`;
|
|
14
14
|
};
|
|
@@ -23,7 +23,7 @@ export const getMacCertificateNameFromHSM = (
|
|
|
23
23
|
*/
|
|
24
24
|
export const getMacAPIKeyNameFromHSM = (
|
|
25
25
|
appId: string,
|
|
26
|
-
artifact: 'mac' | 'mas' | 'mas-dev'
|
|
26
|
+
artifact: 'mac' | 'mas' | 'mas-installer' | 'mas-dev'
|
|
27
27
|
) => {
|
|
28
28
|
return `todesktop-${appId}-${artifact}-api-key`;
|
|
29
29
|
};
|