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.5.0 to 0.6.0

4

dist/index.d.ts

@@ -1,2 +0,2 @@

import { GetActiveWindow } from "./generated/plugin";
export declare const getActiveWin: GetActiveWindow;
import { GetActiveWin } from "./generated/plugin";
export declare const getActiveWin: GetActiveWin;

@@ -10,2 +10,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
export const getActiveWin = (options) => __awaiter(void 0, void 0, void 0, function* () { return yield window.td.getActiveWindow(options); });
export const getActiveWin = (options) => __awaiter(void 0, void 0, void 0, function* () { return yield window.td.getActiveWin(options); });
{
"name": "@todesktop/client-active-win",
"version": "0.5.0",
"version": "0.6.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -91,12 +91,10 @@ interface Options {

declare type ActiveWinResult = Result;
declare type ActiveWinOptions = Options;
declare enum WindowActions {
getActiveWindow = "getActiveWindow"
getActiveWin = "getActiveWin"
}
declare type GetActiveWindow = (options: ActiveWinOptions) => Promise<ActiveWinResult | undefined>;
declare type GetActiveWin = (options: Options) => Promise<Result | undefined>;
declare global {
interface Window {
td: {
getActiveWindow: GetActiveWindow;
getActiveWin: GetActiveWin;
};

@@ -106,2 +104,8 @@ }

export { ActiveWinOptions, ActiveWinResult, GetActiveWindow, WindowActions };
declare const getActiveWin: GetActiveWin;
declare const config: {
namespace: string;
version: number;
};
export { GetActiveWin, WindowActions, config, getActiveWin };

@@ -1,4 +0,4 @@

import { GetActiveWindow } from "./generated/plugin";
import { GetActiveWin } from "./generated/plugin";
export const getActiveWin: GetActiveWindow = async (options) =>
await window.td.getActiveWindow(options);
export const getActiveWin: GetActiveWin = async (options) =>
await window.td.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