@overwolf/ow-electron-packages-types 1.0.0-beta.4 → 1.0.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/package.json +1 -1
- package/types.d.ts +28 -28
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { overwolf } from '@overwolf/ow-electron';
|
|
2
|
-
import {
|
|
3
|
-
BrowserWindow,
|
|
4
|
-
BrowserWindowConstructorOptions,
|
|
5
|
-
Size,
|
|
6
|
-
WebContents,
|
|
7
|
-
Display,
|
|
8
|
-
Rectangle
|
|
9
|
-
} from 'electron';
|
|
10
|
-
|
|
11
|
-
import { EventEmitter } from 'events';
|
|
12
|
-
|
|
13
|
-
// -----------------------------------------------------------------------------
|
|
14
|
-
|
|
15
|
-
// --- modules\utility.d.ts ---
|
|
1
|
+
import { overwolf } from '@overwolf/ow-electron';
|
|
2
|
+
import {
|
|
3
|
+
BrowserWindow,
|
|
4
|
+
BrowserWindowConstructorOptions,
|
|
5
|
+
Size,
|
|
6
|
+
WebContents,
|
|
7
|
+
Display,
|
|
8
|
+
Rectangle
|
|
9
|
+
} from 'electron';
|
|
10
|
+
|
|
11
|
+
import { EventEmitter } from 'events';
|
|
12
|
+
|
|
13
|
+
// -----------------------------------------------------------------------------
|
|
14
|
+
|
|
15
|
+
// --- modules\utility.d.ts ---
|
|
16
16
|
/**
|
|
17
17
|
* @packageDocumentation
|
|
18
18
|
*
|
|
@@ -79,9 +79,9 @@ interface IOverwolfUtilityApi {
|
|
|
79
79
|
*/
|
|
80
80
|
on(eventName: 'game-exit', listener: (gameInfo: GameInfo) => void): this;
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
// --- modules\recorder.d.ts ---
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
// --- modules\recorder.d.ts ---
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* The Overwolf Electron recording APIs integrate recording into the Overwolf Electron framework allowing you to record both audio and video.
|
|
@@ -3779,9 +3779,9 @@ interface IOverwolfRecordingApi {
|
|
|
3779
3779
|
*/
|
|
3780
3780
|
on(eventName: 'stats', listener: (args: RecorderStats) => void): this;
|
|
3781
3781
|
}
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
// --- modules\packages.d.ts ---
|
|
3782
|
+
|
|
3783
|
+
|
|
3784
|
+
// --- modules\packages.d.ts ---
|
|
3785
3785
|
// -----------------------------------------------------------------------------
|
|
3786
3786
|
//
|
|
3787
3787
|
/**
|
|
@@ -3836,9 +3836,9 @@ interface OWPackages extends overwolf.packages.OverwolfPackageManager {
|
|
|
3836
3836
|
*/
|
|
3837
3837
|
crn: IOverwolfCRNApi;
|
|
3838
3838
|
}
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
// --- modules\overlay.d.ts ---
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
// --- modules\overlay.d.ts ---
|
|
3842
3842
|
/**
|
|
3843
3843
|
* APIs for controlling and creating overlays in games. Overlay is the ability to show windows on top of the current game window.
|
|
3844
3844
|
*
|
|
@@ -4842,9 +4842,9 @@ interface IOverwolfOverlayApi extends EventEmitter {
|
|
|
4842
4842
|
listener: (info: GameInputInterception) => void
|
|
4843
4843
|
): this;
|
|
4844
4844
|
}
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
// --- modules\crn.d.ts ---
|
|
4845
|
+
|
|
4846
|
+
|
|
4847
|
+
// --- modules\crn.d.ts ---
|
|
4848
4848
|
/**
|
|
4849
4849
|
* The *Content Recommendation Notification* (CRN) APIs give you tools to help manage the content notification settings in your app.
|
|
4850
4850
|
*
|
|
@@ -4981,4 +4981,4 @@ export interface IOverwolfCRNApi {
|
|
|
4981
4981
|
eventName: 'notification-action',
|
|
4982
4982
|
listener: (event: CRNActionType) => void
|
|
4983
4983
|
): this;
|
|
4984
|
-
}
|
|
4984
|
+
}
|