@todesktop/shared 7.96.0 → 7.97.0

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.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WindowsEVOnboardingProvider = exports.WindowsEVOnboardingSteps = void 0;
4
3
  var WindowsEVOnboardingSteps;
5
4
  (function (WindowsEVOnboardingSteps) {
6
5
  WindowsEVOnboardingSteps["hasChosenProvider"] = "hasChosenProvider";
@@ -19,7 +19,8 @@ export declare type SemanticVersion = string;
19
19
  export declare type URL = string;
20
20
  export declare enum PackageManager {
21
21
  npm = "npm",
22
- yarn = "yarn"
22
+ yarn = "yarn",
23
+ pnpm = "pnpm"
23
24
  }
24
25
  export declare enum BuildStatus {
25
26
  queued = "queued",
package/lib/desktopify.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isBuildCancellable = exports.isBuildRunning = exports.isCiBuildRunning = exports.isPlatformBuildRunning = exports.hasBuildKickedOff = exports.ManifestCategory = exports.BuildStatus = exports.PackageManager = exports.PlatformName = void 0;
4
3
  var PlatformName;
5
4
  (function (PlatformName) {
6
5
  PlatformName["linux"] = "linux";
@@ -11,6 +10,7 @@ var PackageManager;
11
10
  (function (PackageManager) {
12
11
  PackageManager["npm"] = "npm";
13
12
  PackageManager["yarn"] = "yarn";
13
+ PackageManager["pnpm"] = "pnpm";
14
14
  })(PackageManager = exports.PackageManager || (exports.PackageManager = {}));
15
15
  var BuildStatus;
16
16
  (function (BuildStatus) {
@@ -89,7 +89,7 @@ export interface DesktopifyAppWindow {
89
89
  /**
90
90
  * The type of window
91
91
  */
92
- type: "menubar" | "app" | "panel";
92
+ type: "menubar" | "app";
93
93
  /**
94
94
  * The window's application menu
95
95
  */
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.allowedWebPreferencesOptions = exports.allowedBrowserWindowConstructorOptions = void 0;
4
3
  /**
5
4
  * Whitelist of allowed DesktopifyWindow Options.
6
5
  * These attrs (if set) are passed to the `BrowserWindow` constructor
package/lib/index.js CHANGED
@@ -1,23 +1,14 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
11
- };
2
+ function __export(m) {
3
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
4
+ }
12
5
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.schemaVersion = void 0;
14
6
  const package_json_1 = require("../package.json");
15
- __exportStar(require("./toDesktop"), exports);
16
- __exportStar(require("./desktopify"), exports);
17
- __exportStar(require("./validations"), exports);
18
- __exportStar(require("./getSiteInfo"), exports);
19
- __exportStar(require("./plans"), exports);
20
- __exportStar(require("./base"), exports);
21
- __exportStar(require("./desktopify2"), exports);
7
+ __export(require("./toDesktop"));
8
+ __export(require("./desktopify"));
9
+ __export(require("./validations"));
10
+ __export(require("./plans"));
11
+ __export(require("./base"));
12
+ __export(require("./desktopify2"));
22
13
  const schemaVersion = package_json_1.version;
23
14
  exports.schemaVersion = schemaVersion;
package/lib/plans.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getEnterprisePlanIds = exports.getProfessionalPlanIds = exports.getCLIPlanIds = exports.getEssentialPlanIds = exports.getPlanEnvironment = exports.prodPlanIds = exports.devPlanIds = void 0;
4
3
  function pick(objectInput, ...keys) {
5
4
  const objectOutput = {};
6
5
  keys.forEach((key) => {
package/lib/toDesktop.js CHANGED
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WindowsHSMCertType = void 0;
4
3
  var WindowsHSMCertType;
5
4
  (function (WindowsHSMCertType) {
6
5
  WindowsHSMCertType["ev"] = "ev";
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.shouldMinimizeToTrayIsActive = exports.appConfigValidation = exports.appProtocolValidation = exports.internalAppRegexValidation = exports.widthValidation = exports.heightValidation = exports.urlValidationForm = exports.urlValidation = exports.iconValidation = exports.forceVersionValidation = exports.appTitleValidation = void 0;
4
3
  const yup = require("yup");
5
4
  const semver = require("semver");
6
5
  const isRegex = require("is-regex");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.96.0",
3
+ "version": "7.97.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/desktopify.ts CHANGED
@@ -34,6 +34,7 @@ export type URL = string; // TODO: define more
34
34
  export enum PackageManager {
35
35
  npm = "npm",
36
36
  yarn = "yarn",
37
+ pnpm = "pnpm",
37
38
  }
38
39
 
39
40
  export enum BuildStatus {
@@ -196,7 +196,7 @@ export interface DesktopifyAppWindow {
196
196
  /**
197
197
  * The type of window
198
198
  */
199
- type: "menubar" | "app" | "panel";
199
+ type: "menubar" | "app";
200
200
  /**
201
201
  * The window's application menu
202
202
  */