Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@todesktop/client-active-win

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@todesktop/client-active-win - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

README.md

6

dist/generated/plugin.d.ts

@@ -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;

2

package.json
{
"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);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc