Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

fix(capture-native): export releaseWebContent from the committed bindings

Luis Ortiz53d463a12422
diff --git a/packages/capture-native/index.d.ts b/packages/capture-native/index.d.ts
index 8209a93..83b5b8e 100644
--- a/packages/capture-native/index.d.ts
+++ b/packages/capture-native/index.d.ts
@@ -24,8 +24,6 @@ export interface ActiveWindow {
export declare function clearDeadKey(): void
-export declare function releaseWebContent(): void
-
export declare function elementAtPoint(x: number, y: number): Promise<UiElement | null>
export interface ElementNode {
@@ -59,6 +57,8 @@ export declare function isSupported(): boolean
export declare function keyLabel(keycode: number): string | null
+export declare function releaseWebContent(): void
+
export declare function resolveKey(keycode: number, shift: boolean, ctrl: boolean, alt: boolean): string | null
export declare function startInputHook(callback: (event: HookEvent) => void): void
diff --git a/packages/capture-native/index.js b/packages/capture-native/index.js
index 6c19c43..5c9b05c 100644
--- a/packages/capture-native/index.js
+++ b/packages/capture-native/index.js
@@ -784,6 +784,7 @@ module.exports.elementAtPoint = nativeBinding.elementAtPoint
module.exports.focusedElement = nativeBinding.focusedElement
module.exports.isSupported = nativeBinding.isSupported
module.exports.keyLabel = nativeBinding.keyLabel
+module.exports.releaseWebContent = nativeBinding.releaseWebContent
module.exports.resolveKey = nativeBinding.resolveKey
module.exports.startInputHook = nativeBinding.startInputHook
module.exports.windowAt = nativeBinding.windowAt