@todesktop/shared 7.188.29 → 7.188.31

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
@@ -141,6 +141,9 @@ export interface ToDesktopJson {
141
141
  };
142
142
  mas?: {
143
143
  type?: 'development' | 'distribution';
144
+ entitlements?: FilePath;
145
+ entitlementsInherit?: FilePath;
146
+ provisioningProfile?: FilePath;
144
147
  };
145
148
  nodeVersion?: string;
146
149
  npmVersion?: string;
@@ -204,9 +204,18 @@ export interface SmokeTestProgress {
204
204
  }
205
205
  export interface SmokeTestPerformance {
206
206
  /**
207
- * Time between process.getCreationTime() and `App#redy event`
207
+ * Time between `process.getCreationTime()` and `App#redy event`
208
208
  */
209
209
  appReadyMs: number;
210
+ /**
211
+ * Time between `process.getCreationTime()` and app is closed for update
212
+ */
213
+ appReadyToRestartForUpdateMs: number;
214
+ /**
215
+ * Time between `process.getCreationTime()` and connect event received from
216
+ * the restarted app. It can be up to 4 minutes on Windows.
217
+ */
218
+ appRestartedAfterUpdateMs: number;
210
219
  /**
211
220
  * From `process.cpuUsage()` user + system.
212
221
  * This value measures time spent in user and system code, and may end up
@@ -235,6 +244,11 @@ export interface SmokeTestPerformance {
235
244
  * runtime execution
236
245
  */
237
246
  runtimeLoadedMs: number;
247
+ /**
248
+ * Time between `process.getCreationTime()` and the update file downloaded
249
+ * from the server.
250
+ */
251
+ updateDownloadedMs: number;
238
252
  /**
239
253
  * Time between `process.getCreationTime()` and the first firing of
240
254
  * WebContents#dom-ready if any window is created
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.29",
3
+ "version": "7.188.31",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -153,6 +153,9 @@ export interface ToDesktopJson {
153
153
  };
154
154
  mas?: {
155
155
  type?: 'development' | 'distribution'; // defaults to development
156
+ entitlements?: FilePath;
157
+ entitlementsInherit?: FilePath;
158
+ provisioningProfile?: FilePath;
156
159
  };
157
160
  nodeVersion?: string;
158
161
  npmVersion?: string;
package/src/desktopify.ts CHANGED
@@ -282,9 +282,18 @@ export interface SmokeTestProgress {
282
282
 
283
283
  export interface SmokeTestPerformance {
284
284
  /**
285
- * Time between process.getCreationTime() and `App#redy event`
285
+ * Time between `process.getCreationTime()` and `App#redy event`
286
286
  */
287
287
  appReadyMs: number;
288
+ /**
289
+ * Time between `process.getCreationTime()` and app is closed for update
290
+ */
291
+ appReadyToRestartForUpdateMs: number;
292
+ /**
293
+ * Time between `process.getCreationTime()` and connect event received from
294
+ * the restarted app. It can be up to 4 minutes on Windows.
295
+ */
296
+ appRestartedAfterUpdateMs: number;
288
297
  /**
289
298
  * From `process.cpuUsage()` user + system.
290
299
  * This value measures time spent in user and system code, and may end up
@@ -313,6 +322,11 @@ export interface SmokeTestPerformance {
313
322
  * runtime execution
314
323
  */
315
324
  runtimeLoadedMs: number;
325
+ /**
326
+ * Time between `process.getCreationTime()` and the update file downloaded
327
+ * from the server.
328
+ */
329
+ updateDownloadedMs: number;
316
330
  /**
317
331
  * Time between `process.getCreationTime()` and the first firing of
318
332
  * WebContents#dom-ready if any window is created