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.7.0 to 0.8.0

4

dist/index.d.ts

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

import { GetActiveWin } from "./generated/plugin";
export declare const getActiveWin: GetActiveWin;
import type { getActiveWin as _getActiveWin } from "./generated/plugin";
export declare const getActiveWin: typeof _getActiveWin;

@@ -13,3 +13,3 @@ "use strict";

exports.getActiveWin = void 0;
const getActiveWin = (options) => __awaiter(void 0, void 0, void 0, function* () { return yield window.td.getActiveWin(options); });
const getActiveWin = (options) => __awaiter(void 0, void 0, void 0, function* () { return yield window.td.activeWin.getActiveWin(options); });
exports.getActiveWin = getActiveWin;
{
"name": "@todesktop/client-active-win",
"version": "0.7.0",
"version": "0.8.0",
"description": "",
"main": "index.js",
"scripts": {
"build": "rm -f ./dist/* && tsc --module commonjs",
"build": "rm -f ./dist/* && tsc",
"prepublishOnly": "npm run build",

@@ -12,2 +12,5 @@ "release:minor": "npm version minor && npm publish",

},
"devDependencies": {
"typescript": "^4.4.4"
},
"keywords": [],

@@ -14,0 +17,0 @@ "author": "",

@@ -91,5 +91,2 @@ interface Options {

declare enum WindowActions {
getActiveWin = "getActiveWin"
}
declare type GetActiveWin = (options: Options) => Promise<Result | undefined>;

@@ -99,3 +96,5 @@ declare global {

td: {
getActiveWin: GetActiveWin;
activeWin: {
getActiveWin: GetActiveWin;
};
};

@@ -111,2 +110,2 @@ }

export { GetActiveWin, WindowActions, config, getActiveWin };
export { config, getActiveWin };

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

import { GetActiveWin } from "./generated/plugin";
import type { getActiveWin as _getActiveWin } from "./generated/plugin";
export const getActiveWin: GetActiveWin = async (options) =>
await window.td.getActiveWin(options);
export const getActiveWin: typeof _getActiveWin = async (options) =>
await window.td.activeWin.getActiveWin(options);

@@ -5,5 +5,6 @@ {

"outDir": "./dist",
"rootDir": "./src"
"rootDir": "./src",
"module": "commonjs"
},
"exclude": ["node_modules", "dist"]
}
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