@todesktop/shared 7.139.0 → 7.140.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.
@@ -273,6 +273,11 @@ export interface DesktopifyApp2 {
273
273
  * Launch App at startup
274
274
  */
275
275
  shouldLaunchAtStartupByDefault?: boolean;
276
+ /**
277
+ * If `true` the app will prevent app from opening any protocols that are not
278
+ * already in a maybeAllowList or allowList (see `protocolLists.ts` in desktopify).
279
+ */
280
+ shouldOnlyAllowVerifiedProtocols?: boolean;
276
281
  /**
277
282
  * Disables non-essential logs
278
283
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.139.0",
3
+ "version": "7.140.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -396,6 +396,11 @@ export interface DesktopifyApp2 {
396
396
  * Launch App at startup
397
397
  */
398
398
  shouldLaunchAtStartupByDefault?: boolean;
399
+ /**
400
+ * If `true` the app will prevent app from opening any protocols that are not
401
+ * already in a maybeAllowList or allowList (see `protocolLists.ts` in desktopify).
402
+ */
403
+ shouldOnlyAllowVerifiedProtocols?: boolean;
399
404
  /**
400
405
  * Disables non-essential logs
401
406
  */