@todesktop/shared 7.189.1 → 7.189.2
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/desktopify2.d.ts +4 -0
- package/lib/toDesktop.d.ts +1 -0
- package/package.json +1 -1
- package/src/desktopify2.ts +4 -0
- package/src/toDesktop.ts +3 -0
package/lib/desktopify2.d.ts
CHANGED
|
@@ -253,6 +253,10 @@ export type AutoUpdateConfiguration = {
|
|
|
253
253
|
};
|
|
254
254
|
};
|
|
255
255
|
export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
|
|
256
|
+
/**
|
|
257
|
+
* Relaxes our "deny" policy when attempting to open a window with an `"about:blank"` URL.
|
|
258
|
+
*/
|
|
259
|
+
allowAboutBlankWindowOpenHandler?: boolean;
|
|
256
260
|
/**
|
|
257
261
|
* Used as appUserModelId on windows
|
|
258
262
|
*/
|
package/lib/toDesktop.d.ts
CHANGED
package/package.json
CHANGED
package/src/desktopify2.ts
CHANGED
|
@@ -385,6 +385,10 @@ export type AutoUpdateConfiguration = {
|
|
|
385
385
|
};
|
|
386
386
|
|
|
387
387
|
export interface DesktopifyApp2<Plugin = DesktopAppPlugin> {
|
|
388
|
+
/**
|
|
389
|
+
* Relaxes our "deny" policy when attempting to open a window with an `"about:blank"` URL.
|
|
390
|
+
*/
|
|
391
|
+
allowAboutBlankWindowOpenHandler?: boolean;
|
|
388
392
|
/**
|
|
389
393
|
* Used as appUserModelId on windows
|
|
390
394
|
*/
|
package/src/toDesktop.ts
CHANGED
|
@@ -170,6 +170,9 @@ export interface FeatureFlags {
|
|
|
170
170
|
|
|
171
171
|
// Whether the user can create builds for the mac app store.
|
|
172
172
|
macAppStore: boolean;
|
|
173
|
+
|
|
174
|
+
// Whether the user can see the toggle for allowing blank urls
|
|
175
|
+
aboutBlankWindowOpenHandler: boolean;
|
|
173
176
|
}
|
|
174
177
|
|
|
175
178
|
// uses an `email` identifier because an invited user may not have an account
|