@settlemint/sdk-utils
Advanced tools
Comparing version 1.0.8 to 1.0.9-main09c99bcb
@@ -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 @@ /** |
@@ -17,2 +17,8 @@ import { SpawnOptionsWithoutStdio } from 'node:child_process'; | ||
/** | ||
* Error class used to indicate that the operation was cancelled. | ||
* This error is used to signal that the operation should be aborted. | ||
*/ | ||
declare class CancelError extends Error { | ||
} | ||
/** | ||
* Displays an error message in red inverse text and exits the process. | ||
@@ -23,3 +29,3 @@ * Used to terminate execution with a visible error message. | ||
* @param msg - The error message to display | ||
* @returns never - Function does not return as it exits the process | ||
* @returns never - Function does not return as it throws an error | ||
* @example | ||
@@ -180,3 +186,2 @@ * import { cancel } from "@settlemint/sdk-utils/terminal"; | ||
* @param data - Array of objects to display in table format | ||
* @param compact - Whether to display the table in compact mode | ||
* @example | ||
@@ -192,4 +197,4 @@ * import { table } from "@settlemint/sdk-utils/terminal"; | ||
*/ | ||
declare function table(title: string, data: unknown[], compact?: boolean): void; | ||
declare function table(title: string, data: unknown[]): void; | ||
export { type ExecuteCommandOptions, type SpinnerOptions, ascii, cancel, executeCommand, intro, list, maskTokens, note, outro, spinner, table }; | ||
export { CancelError, type ExecuteCommandOptions, type SpinnerOptions, ascii, cancel, executeCommand, intro, list, maskTokens, note, outro, spinner, table }; |
@@ -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.8", | ||
"version": "1.0.9-main09c99bcb", | ||
"type": "module", | ||
@@ -71,2 +71,3 @@ "private": false, | ||
"@npmcli/package-json": "^6", | ||
"console-table-printer": "^2", | ||
"deepmerge-ts": "^7", | ||
@@ -77,5 +78,4 @@ "environment": "^1", | ||
"package-manager-detector": "^0.2", | ||
"yocto-spinner": "^0.1", | ||
"yoctocolors": "^2", | ||
"tty-table": "^4" | ||
"yocto-spinner": "^0.2.0", | ||
"yoctocolors": "^2" | ||
}, | ||
@@ -82,0 +82,0 @@ "peerDependencies": {}, |
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
Sorry, the diff of this file is too big to display
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1795
507087
3525
2
+ Addedconsole-table-printer@^2
+ Addedconsole-table-printer@2.12.1(transitive)
+ Addedsimple-wcswidth@1.0.1(transitive)
+ Addedyocto-spinner@0.2.0(transitive)
- Removedtty-table@^4
- Removedarray-buffer-byte-length@1.0.2(transitive)
- Removedarray.prototype.flat@1.3.3(transitive)
- Removedarraybuffer.prototype.slice@1.0.4(transitive)
- Removedasync-function@1.0.0(transitive)
- Removedavailable-typed-arrays@1.0.7(transitive)
- Removedbreakword@1.0.6(transitive)
- Removedcall-bind@1.0.8(transitive)
- Removedcall-bind-apply-helpers@1.0.1(transitive)
- Removedcall-bound@1.0.3(transitive)
- Removedcamelcase@5.3.1(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcliui@6.0.08.0.1(transitive)
- Removedclone@1.0.4(transitive)
- Removedcsv@5.5.3(transitive)
- Removedcsv-generate@3.4.3(transitive)
- Removedcsv-parse@4.16.3(transitive)
- Removedcsv-stringify@5.6.5(transitive)
- Removeddata-view-buffer@1.0.2(transitive)
- Removeddata-view-byte-length@1.0.2(transitive)
- Removeddata-view-byte-offset@1.0.1(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removeddefaults@1.0.4(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removeddefine-properties@1.2.1(transitive)
- Removeddunder-proto@1.0.1(transitive)
- Removedes-abstract@1.23.9(transitive)
- Removedes-define-property@1.0.1(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedes-object-atoms@1.1.1(transitive)
- Removedes-set-tostringtag@2.1.0(transitive)
- Removedes-shim-unscopables@1.0.2(transitive)
- Removedes-to-primitive@1.3.0(transitive)
- Removedescalade@3.2.0(transitive)
- Removedfind-up@4.1.0(transitive)
- Removedfor-each@0.3.4(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedfunction.prototype.name@1.1.8(transitive)
- Removedfunctions-have-names@1.2.3(transitive)
- Removedget-caller-file@2.0.5(transitive)
- Removedget-intrinsic@1.2.7(transitive)
- Removedget-proto@1.0.1(transitive)
- Removedget-symbol-description@1.1.0(transitive)
- Removedglobalthis@1.0.4(transitive)
- Removedgopd@1.2.0(transitive)
- Removedgrapheme-splitter@1.0.4(transitive)
- Removedhas-bigints@1.1.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.2.0(transitive)
- Removedhas-symbols@1.1.0(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedinternal-slot@1.1.0(transitive)
- Removedis-array-buffer@3.0.5(transitive)
- Removedis-async-function@2.1.1(transitive)
- Removedis-bigint@1.1.0(transitive)
- Removedis-boolean-object@1.2.1(transitive)
- Removedis-callable@1.2.7(transitive)
- Removedis-data-view@1.0.2(transitive)
- Removedis-date-object@1.1.0(transitive)
- Removedis-finalizationregistry@1.1.1(transitive)
- Removedis-generator-function@1.1.0(transitive)
- Removedis-map@2.0.3(transitive)
- Removedis-number-object@1.1.1(transitive)
- Removedis-regex@1.2.1(transitive)
- Removedis-set@2.0.3(transitive)
- Removedis-shared-array-buffer@1.0.4(transitive)
- Removedis-string@1.1.1(transitive)
- Removedis-symbol@1.1.1(transitive)
- Removedis-typed-array@1.1.15(transitive)
- Removedis-weakmap@2.0.2(transitive)
- Removedis-weakref@1.1.0(transitive)
- Removedis-weakset@2.0.4(transitive)
- Removedisarray@2.0.5(transitive)
- Removedkleur@4.1.5(transitive)
- Removedlocate-path@5.0.0(transitive)
- Removedmath-intrinsics@1.1.0(transitive)
- Removedmixme@0.5.10(transitive)
- Removedobject-inspect@1.13.3(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedobject.assign@4.1.7(transitive)
- Removedown-keys@1.0.1(transitive)
- Removedp-limit@2.3.0(transitive)
- Removedp-locate@4.1.0(transitive)
- Removedp-try@2.2.0(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpossible-typed-array-names@1.0.0(transitive)
- Removedreflect.getprototypeof@1.0.10(transitive)
- Removedregexp.prototype.flags@1.5.4(transitive)
- Removedrequire-directory@2.1.1(transitive)
- Removedrequire-main-filename@2.0.0(transitive)
- Removedsafe-array-concat@1.1.3(transitive)
- Removedsafe-push-apply@1.0.0(transitive)
- Removedsafe-regex-test@1.1.0(transitive)
- Removedset-blocking@2.0.0(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedset-function-name@2.0.2(transitive)
- Removedset-proto@1.0.0(transitive)
- Removedside-channel@1.1.0(transitive)
- Removedside-channel-list@1.0.0(transitive)
- Removedside-channel-map@1.0.1(transitive)
- Removedside-channel-weakmap@1.0.2(transitive)
- Removedsmartwrap@2.0.2(transitive)
- Removedstream-transform@2.1.3(transitive)
- Removedstring.prototype.trim@1.2.10(transitive)
- Removedstring.prototype.trimend@1.0.9(transitive)
- Removedstring.prototype.trimstart@1.0.8(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedtty-table@4.2.3(transitive)
- Removedtyped-array-buffer@1.0.3(transitive)
- Removedtyped-array-byte-length@1.0.3(transitive)
- Removedtyped-array-byte-offset@1.0.4(transitive)
- Removedtyped-array-length@1.0.7(transitive)
- Removedunbox-primitive@1.1.0(transitive)
- Removedwcwidth@1.0.1(transitive)
- Removedwhich-boxed-primitive@1.1.1(transitive)
- Removedwhich-builtin-type@1.2.1(transitive)
- Removedwhich-collection@1.0.2(transitive)
- Removedwhich-module@2.0.1(transitive)
- Removedwhich-typed-array@1.1.18(transitive)
- Removedwrap-ansi@6.2.0(transitive)
- Removedy18n@4.0.35.0.8(transitive)
- Removedyargs@15.4.117.7.2(transitive)
- Removedyargs-parser@18.1.321.1.1(transitive)
- Removedyocto-spinner@0.1.2(transitive)
Updatedyocto-spinner@^0.2.0