🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@settlemint/sdk-utils

Package Overview
Dependencies
Maintainers
0
Versions
2887
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

to
0.5.39-mainb5cbb5d

16

dist/index.d.ts

@@ -328,16 +328,2 @@ import { ZodString, z, ZodSchema } from 'zod';

declare function emptyDir(dir: string): void;
/**
* Downloads and extracts an npm package template to the specified target directory.
*
* @param template - The template to download
* @param targetDir - The directory to extract the template to
* @returns A Promise that resolves when the download and extraction are complete
* @throws Will throw an error if the download or extraction fails
*
* @example
* ```typescript
* await downloadAndExtractNpmPackage("asset-tokenization", "/path/to/project");
* ```
*/
declare function downloadAndExtractNpmPackage(template: Template["value"], targetDir: string): Promise<void>;

@@ -363,2 +349,2 @@ declare function getPackageManager(targetDir: string): Promise<"yarn" | "pnpm" | "bun" | "npm">;

export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, downloadAndExtractNpmPackage, emptyDir, ensureFolder, ensureServer, formatTargetDir, getPackageManager, installDependencies, isEmpty, isValidPackageName, loadEnv, projectRoot, setName, templates, toValidPackageName, validate, writeEnv };
export { type AccessToken, AccessTokenSchema, type DotEnv, type DotEnvPartial, DotEnvSchema, DotEnvSchemaPartial, type Id, IdSchema, type Template, type Url, type UrlOrPath, UrlOrPathSchema, type UrlPath, UrlPathSchema, UrlSchema, emptyDir, ensureFolder, ensureServer, formatTargetDir, getPackageManager, installDependencies, isEmpty, isValidPackageName, loadEnv, projectRoot, setName, templates, toValidPackageName, validate, writeEnv };

@@ -72,16 +72,2 @@ /**

declare function emptyDir(dir: string): void;
/**
* Downloads and extracts an npm package template to the specified target directory.
*
* @param template - The template to download
* @param targetDir - The directory to extract the template to
* @returns A Promise that resolves when the download and extraction are complete
* @throws Will throw an error if the download or extraction fails
*
* @example
* ```typescript
* await downloadAndExtractNpmPackage("asset-tokenization", "/path/to/project");
* ```
*/
declare function downloadAndExtractNpmPackage(template: Template["value"], targetDir: string): Promise<void>;

@@ -105,2 +91,2 @@ declare function getPackageManager(targetDir: string): Promise<"yarn" | "pnpm" | "bun" | "npm">;

export { type Template, downloadAndExtractNpmPackage, emptyDir, formatTargetDir, getPackageManager, installDependencies, isEmpty, isValidPackageName, setName, templates, toValidPackageName };
export { type Template, emptyDir, formatTargetDir, getPackageManager, installDependencies, isEmpty, isValidPackageName, setName, templates, toValidPackageName };

3

package.json
{
"name": "@settlemint/sdk-utils",
"description": "SettleMint SDK, integrate SettleMint into your application with ease.",
"version": "0.5.38",
"version": "0.5.39-mainb5cbb5d",
"type": "module",

@@ -69,3 +69,2 @@ "private": false,

"find-up": "^7",
"giget": "^1",
"nano-spawn": "^0.1",

@@ -72,0 +71,0 @@ "package-manager-detector": "^0.2",

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