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

@settlemint/sdk-utils

Package Overview
Dependencies
Maintainers
2
Versions
1724
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@settlemint/sdk-utils - npm Package Compare versions

Comparing version 1.0.5-mainff99fff6 to 1.0.5-pr7c240f08

10

dist/package-manager.d.ts
import { AgentName } from 'package-manager-detector';
/**
* Available templates for project creation
*/
type Template = {
value: string;
label: string;
};
declare const templates: Template[];
/**
* Formats a directory path by removing trailing slashes and whitespace

@@ -122,2 +114,2 @@ *

export { type Template, emptyDir, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, setName, templates };
export { emptyDir, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, setName };

24

dist/terminal.d.ts

@@ -87,2 +87,24 @@ import { SpawnOptionsWithoutStdio } from 'node:child_process';

/**
* Displays a list of items in a formatted manner, supporting nested items.
*
* @param title - The title of the list
* @param items - The items to display, can be strings or arrays for nested items
* @returns The formatted list
* @example
* import { list } from "@settlemint/sdk-utils/terminal";
*
* // Simple list
* list("Use cases", ["use case 1", "use case 2", "use case 3"]);
*
* // Nested list
* list("Providers", [
* "AWS",
* ["us-east-1", "eu-west-1"],
* "Azure",
* ["eastus", "westeurope"]
* ]);
*/
declare function list(title: string, items: Array<string | string[]>): void;
/**
* Displays a note message with optional warning level formatting.

@@ -152,2 +174,2 @@ * Regular notes are displayed in normal text, while warnings are shown in yellow.

export { type ExecuteCommandOptions, type SpinnerOptions, ascii, cancel, executeCommand, intro, maskTokens, note, outro, spinner };
export { type ExecuteCommandOptions, type SpinnerOptions, ascii, cancel, executeCommand, intro, list, maskTokens, note, outro, spinner };
{
"name": "@settlemint/sdk-utils",
"description": "Shared utilities and helper functions for SettleMint SDK modules",
"version": "1.0.5-mainff99fff6",
"version": "1.0.5-pr7c240f08",
"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

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