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

@todesktop/client-util

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@todesktop/client-util - npm Package Compare versions

Comparing version 1.0.0-alpha23 to 1.0.0-alpha24

13

index.d.ts
/**
* Barebones EventEmitter implementation for API namespaces.
*/
import type { BrowserWindow, WebContents, Tray, NativeImage, nativeImage, NativeTheme, Menu, MenuItem, BrowserView, Notification } from "@todesktop/client-electron-types";
import type { BrowserWindow, WebContents, Tray, NativeImage, nativeImage, NativeTheme, Menu, MenuItem, BrowserView, Notification, App } from "@todesktop/client-electron-types";
import type { AppUpdater } from "@todesktop/client-electron-updater-types";

@@ -20,4 +20,4 @@ /**

}>(eventMappings: E) => (event: "*" | keyof E, callback: (...any: any[]) => void) => void;
export type MethodFunc = (...args: any[]) => unknown;
export type ConstructorFunc = new (...args: unknown[]) => unknown;
export declare type MethodFunc = (...args: any[]) => unknown;
export declare type ConstructorFunc = new (...args: unknown[]) => unknown;
/**

@@ -38,2 +38,3 @@ * TODO: At some point we may went to add out whitelist to the type system.

process: NodeJS.Process;
app: App;
}

@@ -56,7 +57,7 @@ export interface NamespacesStaticV1 {

}
export type ChangeInstancesToInstanceRefsSingle<T> = T extends NamespacesInstancesV1[keyof NamespacesInstancesV1] ? InstanceRefObject : T;
export type ChangeInstancesToInstanceRefsInParams<Obj> = {
export declare type ChangeInstancesToInstanceRefsSingle<T> = T extends NamespacesInstancesV1[keyof NamespacesInstancesV1] ? InstanceRefObject : T;
export declare type ChangeInstancesToInstanceRefsInParams<Obj> = {
[K in keyof Obj]: ChangeInstancesToInstanceRefsSingle<Obj[K]>;
};
export type ChangeInstancesToInstanceRefs<T> = T extends unknown[] ? ChangeInstancesToInstanceRefsInParams<T> : ChangeInstancesToInstanceRefsSingle<T>;
export declare type ChangeInstancesToInstanceRefs<T> = T extends unknown[] ? ChangeInstancesToInstanceRefsInParams<T> : ChangeInstancesToInstanceRefsSingle<T>;
/**

@@ -63,0 +64,0 @@ * @internal

{
"name": "@todesktop/client-util",
"version": "1.0.0-alpha23",
"version": "1.0.0-alpha24",
"description": "Utility functions for ToDesktop client libraries",

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

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