@todesktop/shared 7.188.54 → 7.188.56

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
@@ -172,15 +172,11 @@ export declare enum WindowsHSMCertType {
172
172
  file = "file"
173
173
  }
174
174
  export interface CustomWindowsCodeSignFile {
175
- type?: 'hsm';
176
175
  certType: string;
177
176
  hsmCertType: WindowsHSMCertType.file;
178
177
  hsmCertName: string;
179
- certPassword?: string;
180
- certUrl?: URL;
181
178
  }
182
179
  export interface CustomWindowsCodeSignEV {
183
- type?: 'hsm';
184
180
  certType: 'hsm';
185
181
  hsmCertType: WindowsHSMCertType.ev;
186
182
  hsmCertName: string;
@@ -390,9 +390,13 @@ export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
390
390
  */
391
391
  shouldMakeSameDomainAnExternalLink?: boolean;
392
392
  /**
393
- * Enables push notifications
393
+ * Enables push notifications — uses `electron-push-receiver`
394
394
  */
395
395
  enablePushNotifications?: boolean;
396
+ /**
397
+ * Enables NEW push notifications — uses `@cuj1559/electron-push-receiver`
398
+ */
399
+ enableNewPushNotifications?: boolean;
396
400
  /**
397
401
  * Disable error reporting (Sentry)
398
402
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.188.54",
3
+ "version": "7.188.56",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -187,17 +187,12 @@ export enum WindowsHSMCertType {
187
187
  }
188
188
 
189
189
  export interface CustomWindowsCodeSignFile {
190
- type?: 'hsm';
191
190
  certType: string;
192
191
  hsmCertType: WindowsHSMCertType.file;
193
192
  hsmCertName: string;
194
- // following are still used in desktopify, but no longer used/saved from web app
195
- certPassword?: string;
196
- certUrl?: URL;
197
193
  }
198
194
 
199
195
  export interface CustomWindowsCodeSignEV {
200
- type?: 'hsm';
201
196
  certType: 'hsm';
202
197
  hsmCertType: WindowsHSMCertType.ev;
203
198
  hsmCertName: string;
@@ -525,9 +525,13 @@ export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
525
525
  */
526
526
  shouldMakeSameDomainAnExternalLink?: boolean;
527
527
  /**
528
- * Enables push notifications
528
+ * Enables push notifications — uses `electron-push-receiver`
529
529
  */
530
530
  enablePushNotifications?: boolean;
531
+ /**
532
+ * Enables NEW push notifications — uses `@cuj1559/electron-push-receiver`
533
+ */
534
+ enableNewPushNotifications?: boolean;
531
535
  /**
532
536
  * Disable error reporting (Sentry)
533
537
  */