@overwolf/ow-electron-packages-types 0.0.15 → 0.0.16

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.
Files changed (2) hide show
  1. package/overlay.d.ts +15 -7
  2. package/package.json +1 -1
package/overlay.d.ts CHANGED
@@ -57,13 +57,6 @@ export type PassthroughType = "noPassThrough" | "passThrough" | "passThroughAndN
57
57
  */
58
58
  export type ZOrderType = "default" | "topMost" | "bottomMost";
59
59
 
60
- /** Overlay ow-electron options */
61
- export interface OverlayOptions {
62
- passthrough?: PassthroughType | number;
63
-
64
- zOrder?: ZOrderType | number; // backwards compatible
65
- }
66
-
67
60
  /** Overlay ow-electron options */
68
61
  export interface OverlayOptions {
69
62
  /**
@@ -85,6 +78,21 @@ export interface OverlayOptions {
85
78
  ignoreKeyboardInput?: boolean;
86
79
  }
87
80
 
81
+ export interface OverlayWindowOptions
82
+ extends BrowserWindowConstructorOptions,
83
+ OverlayOptions {
84
+ /**
85
+ * unique name (id)
86
+ */
87
+ name: string;
88
+
89
+ /** not supported yet */
90
+ enableHWAcceleration?: boolean;
91
+
92
+ /** */
93
+ enableIsolation?:boolean;
94
+ }
95
+
88
96
  export interface IOverlayHotkey {
89
97
  name: string;
90
98
  keyCode: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overwolf/ow-electron-packages-types",
3
- "version": "0.0.15",
3
+ "version": "0.0.16",
4
4
  "description": "Type definition file for autocompletion and documentation purposes for ow-electron packages",
5
5
  "license": "MIT",
6
6
  "types": "overlay.d.ts",