@settlemint/sdk-utils
Advanced tools
Comparing version 1.0.9-pr21ce78d4 to 1.0.9-pr24c97cf1
@@ -77,6 +77,2 @@ import { z } from 'zod'; | ||
SETTLEMINT_NEW_PROJECT_NAME: z.ZodOptional<z.ZodString>; | ||
/** Address of the deployed smart contract */ | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS: z.ZodOptional<z.ZodString>; | ||
/** Deployment ID of the smart contract */ | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -117,4 +113,2 @@ SETTLEMINT_INSTANCE: string; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}, { | ||
@@ -155,4 +149,2 @@ SETTLEMINT_INSTANCE?: string | undefined; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}>; | ||
@@ -202,4 +194,2 @@ /** | ||
SETTLEMINT_NEW_PROJECT_NAME: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -240,4 +230,2 @@ SETTLEMINT_INSTANCE?: string | undefined; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}, { | ||
@@ -278,4 +266,2 @@ SETTLEMINT_INSTANCE?: string | undefined; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}>; | ||
@@ -282,0 +268,0 @@ /** |
@@ -101,2 +101,10 @@ 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 | ||
@@ -115,2 +123,2 @@ * | ||
export { emptyDir, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, setName }; | ||
export { emptyDir, formatTargetDir, getPackageManager, getPackageManagerExecutable, installDependencies, isEmpty, isPackageInstalled, isPackageInstalledGlobally, setName }; |
@@ -111,6 +111,2 @@ import { ZodSchema, ZodString, z } from 'zod'; | ||
SETTLEMINT_NEW_PROJECT_NAME: z.ZodOptional<z.ZodString>; | ||
/** Address of the deployed smart contract */ | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS: z.ZodOptional<z.ZodString>; | ||
/** Deployment ID of the smart contract */ | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -151,4 +147,2 @@ SETTLEMINT_INSTANCE: string; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}, { | ||
@@ -189,4 +183,2 @@ SETTLEMINT_INSTANCE?: string | undefined; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}>; | ||
@@ -236,4 +228,2 @@ /** | ||
SETTLEMINT_NEW_PROJECT_NAME: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID: z.ZodOptional<z.ZodOptional<z.ZodString>>; | ||
}, "strip", z.ZodTypeAny, { | ||
@@ -274,4 +264,2 @@ SETTLEMINT_INSTANCE?: string | undefined; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}, { | ||
@@ -312,4 +300,2 @@ SETTLEMINT_INSTANCE?: string | undefined; | ||
SETTLEMINT_NEW_PROJECT_NAME?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_ADDRESS?: string | undefined; | ||
SETTLEMINT_SMART_CONTRACT_DEPLOYMENT_ID?: string | undefined; | ||
}>; | ||
@@ -316,0 +302,0 @@ /** |
{ | ||
"name": "@settlemint/sdk-utils", | ||
"description": "Shared utilities and helper functions for SettleMint SDK modules", | ||
"version": "1.0.9-pr21ce78d4", | ||
"version": "1.0.9-pr24c97cf1", | ||
"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 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
509754
3553