@todesktop/shared 7.188.48 → 7.188.49

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.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.49",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
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
  /**