stratum-rs-overlay 1.0.4 → 1.0.5
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/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export interface OverlayEvent {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare function init(licenseKeyHex: string): boolean
|
|
28
28
|
export declare function setOverlayPid(pid: number): void
|
|
29
|
+
export declare function setOverlayHwnd(hwnd: number): void
|
|
29
30
|
export declare function focusLastTarget(): boolean
|
|
30
31
|
/**
|
|
31
32
|
* Start Tracking
|
package/dist/index.js
CHANGED
|
@@ -310,10 +310,11 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { Mode, init, setOverlayPid, focusLastTarget, startTracking } = nativeBinding
|
|
313
|
+
const { Mode, init, setOverlayPid, setOverlayHwnd, focusLastTarget, startTracking } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.Mode = Mode
|
|
316
316
|
module.exports.init = init
|
|
317
317
|
module.exports.setOverlayPid = setOverlayPid
|
|
318
|
+
module.exports.setOverlayHwnd = setOverlayHwnd
|
|
318
319
|
module.exports.focusLastTarget = focusLastTarget
|
|
319
320
|
module.exports.startTracking = startTracking
|
|
Binary file
|