@settlemint/sdk-utils
Advanced tools
Comparing version 0.5.38 to 0.5.39-mainb5cbb5d
@@ -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 }; |
{ | ||
"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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
10
0
270462
2477
- Removedgiget@^1
- Removedacorn@8.14.0(transitive)
- Removedchownr@2.0.0(transitive)
- Removedcitty@0.1.6(transitive)
- Removedconfbox@0.1.8(transitive)
- Removedconsola@3.4.0(transitive)
- Removeddefu@6.1.4(transitive)
- Removedexeca@8.0.1(transitive)
- Removedfs-minipass@2.1.0(transitive)
- Removedget-stream@8.0.1(transitive)
- Removedgiget@1.2.3(transitive)
- Removedhuman-signals@5.0.0(transitive)
- Removedis-stream@3.0.0(transitive)
- Removedmimic-fn@4.0.0(transitive)
- Removedminipass@3.3.65.0.0(transitive)
- Removedminizlib@2.1.2(transitive)
- Removedmkdirp@1.0.4(transitive)
- Removedmlly@1.7.4(transitive)
- Removednode-fetch-native@1.6.4(transitive)
- Removednpm-run-path@5.3.0(transitive)
- Removednypm@0.3.12(transitive)
- Removedohash@1.1.4(transitive)
- Removedonetime@6.0.0(transitive)
- Removedpath-key@4.0.0(transitive)
- Removedpathe@1.1.22.0.2(transitive)
- Removedpkg-types@1.3.1(transitive)
- Removedstrip-final-newline@3.0.0(transitive)
- Removedtar@6.2.1(transitive)
- Removedufo@1.5.4(transitive)
- Removedyallist@4.0.0(transitive)