@todesktop/shared 7.188.23 → 7.188.25

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 CHANGED
@@ -139,6 +139,9 @@ export interface ToDesktopJson {
139
139
  icon?: FilePath;
140
140
  requirements?: FilePath;
141
141
  };
142
+ mas?: {
143
+ type?: 'development' | 'distribution';
144
+ };
142
145
  nodeVersion?: string;
143
146
  npmVersion?: string;
144
147
  packageManager?: 'npm' | 'yarn' | 'pnpm';
@@ -194,11 +194,7 @@ export interface SmokeTestProgress {
194
194
  }
195
195
  export interface SmokeTestPerformance {
196
196
  /**
197
- * Time between process spawning and `process.getCreationTime()`
198
- */
199
- appStartedMs: number;
200
- /**
201
- * Time between process spawning and `App#redy event`
197
+ * Time between process.getCreationTime() and `App#redy event`
202
198
  */
203
199
  appReadyMs: number;
204
200
  /**
@@ -225,16 +221,17 @@ export interface SmokeTestPerformance {
225
221
  */
226
222
  memoryUsageRendererProcessMb?: number;
227
223
  /**
228
- * Time between process spawning and `initSmokeTest()` of runtime execution
224
+ * Time between `process.getCreationTime()` and `initSmokeTest()` of
225
+ * runtime execution
229
226
  */
230
227
  runtimeLoadedMs: number;
231
228
  /**
232
- * Time between process spawning and the first firing of WebContents#dom-ready
233
- * if any window is created
229
+ * Time between `process.getCreationTime()` and the first firing of
230
+ * WebContents#dom-ready if any window is created
234
231
  */
235
232
  webContentsDomReadyMs?: number;
236
233
  /**
237
- * Time between process spawning and the first firing of
234
+ * Time between `process.getCreationTime()` and the first firing of
238
235
  * WebContents#did-finish-load if any window is created
239
236
  */
240
237
  webContentsFinishLoadMs?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.23",
3
+ "version": "7.188.25",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -151,6 +151,9 @@ export interface ToDesktopJson {
151
151
  icon?: FilePath;
152
152
  requirements?: FilePath;
153
153
  };
154
+ mas?: {
155
+ type?: 'development' | 'distribution'; // defaults to development
156
+ };
154
157
  nodeVersion?: string;
155
158
  npmVersion?: string;
156
159
  packageManager?: 'npm' | 'yarn' | 'pnpm';
package/src/desktopify.ts CHANGED
@@ -272,11 +272,7 @@ export interface SmokeTestProgress {
272
272
 
273
273
  export interface SmokeTestPerformance {
274
274
  /**
275
- * Time between process spawning and `process.getCreationTime()`
276
- */
277
- appStartedMs: number;
278
- /**
279
- * Time between process spawning and `App#redy event`
275
+ * Time between process.getCreationTime() and `App#redy event`
280
276
  */
281
277
  appReadyMs: number;
282
278
  /**
@@ -303,16 +299,17 @@ export interface SmokeTestPerformance {
303
299
  */
304
300
  memoryUsageRendererProcessMb?: number;
305
301
  /**
306
- * Time between process spawning and `initSmokeTest()` of runtime execution
302
+ * Time between `process.getCreationTime()` and `initSmokeTest()` of
303
+ * runtime execution
307
304
  */
308
305
  runtimeLoadedMs: number;
309
306
  /**
310
- * Time between process spawning and the first firing of WebContents#dom-ready
311
- * if any window is created
307
+ * Time between `process.getCreationTime()` and the first firing of
308
+ * WebContents#dom-ready if any window is created
312
309
  */
313
310
  webContentsDomReadyMs?: number;
314
311
  /**
315
- * Time between process spawning and the first firing of
312
+ * Time between `process.getCreationTime()` and the first firing of
316
313
  * WebContents#did-finish-load if any window is created
317
314
  */
318
315
  webContentsFinishLoadMs?: number;