@settlemint/sdk-utils
Advanced tools
Comparing version 1.0.9-pr24c97cf1 to 1.0.9-pr2cafe701
@@ -101,10 +101,2 @@ import { AgentName } from 'package-manager-detector'; | ||
/** | ||
* Checks if a package is installed globally | ||
* | ||
* @param packageName - The name of the package to check | ||
* @returns True if the package is installed globally, false otherwise | ||
*/ | ||
declare function isPackageInstalledGlobally(packageName: string): Promise<boolean>; | ||
/** | ||
* Sets the name field in the package.json file | ||
@@ -123,2 +115,2 @@ * | ||
export { emptyDir, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, isPackageInstalledGlobally, setName }; | ||
export { emptyDir, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, setName }; |
@@ -23,3 +23,3 @@ import { SpawnOptionsWithoutStdio } from 'node:child_process'; | ||
/** | ||
* Displays an error message in red inverse text and exits the process. | ||
* Displays an error message in red inverse text and throws a CancelError. | ||
* Used to terminate execution with a visible error message. | ||
@@ -26,0 +26,0 @@ * Any sensitive tokens in the message are masked before display. |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "Shared utilities and helper functions for SettleMint SDK modules", | ||
"version": "1.0.9-pr24c97cf1", | ||
"version": "1.0.9-pr2cafe701", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "private": false, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
504752
3519
1791