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-alpha26 to 1.0.0-alpha27

2

index.d.ts

@@ -192,5 +192,5 @@ /**

construct: <NS_1 = NamespacesStaticV1, NSName_1 extends keyof NS_1 = keyof NS_1, Func_1 = NS_1[NSName_1]>(command: Func_1 extends ConstructorFunc ? InvokeConstructorCommand<NSName_1, Func_1> : never) => Promise<InstanceRefObject>;
releaseMemory: (memoryRefs: string[]) => any;
releaseMemory: (memoryRefs: string[]) => Promise<void>;
};
export { checkIfCompatibleWithPlugin } from "./checkIfCompatibleWithPlugin.js";
export { checkIfCompatibleWithBackend } from "./checkIfCompatibleWithBackend.js";

@@ -67,2 +67,7 @@ /**

if (checkIfCompatibleWithBackend("releaseMemory", "4.6.0")) {
if (!(memoryRefs === null || memoryRefs === void 0 ? void 0 : memoryRefs.length)) {
// eslint-disable-next-line no-console
console.log("No memory references to release");
return;
}
return window["todesktop"]["releaseMemory"](memoryRefs);

@@ -69,0 +74,0 @@ }

{
"name": "@todesktop/client-util",
"version": "1.0.0-alpha26",
"version": "1.0.0-alpha27",
"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