@todesktop/client-active-win
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -102,2 +102,8 @@ interface Options { | ||
/** | ||
* Get metadata about the active window (title, id, bounds, owner, etc). | ||
* | ||
* @param options - configure whether the function should obtain screen recording permission | ||
* @returns — The active window metadata. | ||
*/ | ||
declare const getActiveWin: GetActiveWin; | ||
@@ -104,0 +110,0 @@ declare const config: { |
import type { getActiveWin as _getActiveWin } from "./generated/plugin"; | ||
/** | ||
* Get metadata about the active window (title, id, bounds, owner, etc). | ||
* | ||
* @param options - configure whether the function should obtain screen recording permission | ||
* @returns — The active window metadata. | ||
*/ | ||
export declare const getActiveWin: typeof _getActiveWin; |
@@ -13,3 +13,9 @@ "use strict"; | ||
exports.getActiveWin = void 0; | ||
/** | ||
* Get metadata about the active window (title, id, bounds, owner, etc). | ||
* | ||
* @param options - configure whether the function should obtain screen recording permission | ||
* @returns — The active window metadata. | ||
*/ | ||
const getActiveWin = (options) => __awaiter(void 0, void 0, void 0, function* () { return yield window.todesktop.activeWin.getActiveWin(options); }); | ||
exports.getActiveWin = getActiveWin; |
{ | ||
"name": "@todesktop/client-active-win", | ||
"version": "0.11.0", | ||
"version": "0.12.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -102,2 +102,8 @@ interface Options { | ||
/** | ||
* Get metadata about the active window (title, id, bounds, owner, etc). | ||
* | ||
* @param options - configure whether the function should obtain screen recording permission | ||
* @returns — The active window metadata. | ||
*/ | ||
declare const getActiveWin: GetActiveWin; | ||
@@ -104,0 +110,0 @@ declare const config: { |
import type { getActiveWin as _getActiveWin } from "./generated/plugin"; | ||
/** | ||
* Get metadata about the active window (title, id, bounds, owner, etc). | ||
* | ||
* @param options - configure whether the function should obtain screen recording permission | ||
* @returns — The active window metadata. | ||
*/ | ||
export const getActiveWin: typeof _getActiveWin = async (options) => | ||
await window.todesktop.activeWin.getActiveWin(options); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
9739
8
234
1
65