@todesktop/shared 7.181.0 → 7.183.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.d.ts CHANGED
@@ -54,6 +54,7 @@ export interface IAppMeta {
54
54
  appFiles?: string[];
55
55
  appPath?: FilePath;
56
56
  appProtocolScheme?: string;
57
+ asar?: boolean;
57
58
  asarUnpack?: boolean | string[];
58
59
  copyright?: string;
59
60
  dmg?: {
@@ -387,6 +387,11 @@ export interface DesktopifyApp2 {
387
387
  * File assets that get bundled with the app and are available offline
388
388
  */
389
389
  fileAssetDetailsList?: FileAssetDetails[];
390
+ /**
391
+ * Whether the app should have full access to Electron APIs
392
+ * @default false
393
+ */
394
+ shouldHaveFullAccessToElectronAPIs?: boolean;
390
395
  }
391
396
  export interface IApp2 extends BaseApp {
392
397
  desktopApp?: DesktopifyApp2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todesktop/shared",
3
- "version": "7.181.0",
3
+ "version": "7.183.0",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
package/src/base.ts CHANGED
@@ -61,6 +61,7 @@ export interface IAppMeta {
61
61
  appFiles?: string[];
62
62
  appPath?: FilePath;
63
63
  appProtocolScheme?: string;
64
+ asar?: boolean;
64
65
  asarUnpack?: boolean | string[];
65
66
  copyright?: string;
66
67
  dmg?: {
@@ -512,6 +512,12 @@ export interface DesktopifyApp2 {
512
512
  * File assets that get bundled with the app and are available offline
513
513
  */
514
514
  fileAssetDetailsList?: FileAssetDetails[];
515
+
516
+ /**
517
+ * Whether the app should have full access to Electron APIs
518
+ * @default false
519
+ */
520
+ shouldHaveFullAccessToElectronAPIs?: boolean;
515
521
  }
516
522
 
517
523
  export interface IApp2 extends BaseApp {