@settlemint/sdk-cli 2.3.2-prbe16a4a1 → 2.3.2-prcab731ad
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +19 -16
- package/dist/cli.js.map +5 -5
- package/package.json +7 -7
package/dist/cli.js
CHANGED
@@ -262458,7 +262458,7 @@ function pruneCurrentEnv(currentEnv, env2) {
|
|
262458
262458
|
var package_default = {
|
262459
262459
|
name: "@settlemint/sdk-cli",
|
262460
262460
|
description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
|
262461
|
-
version: "2.3.2-
|
262461
|
+
version: "2.3.2-prcab731ad",
|
262462
262462
|
type: "module",
|
262463
262463
|
private: false,
|
262464
262464
|
license: "FSL-1.1-MIT",
|
@@ -262503,12 +262503,12 @@ var package_default = {
|
|
262503
262503
|
devDependencies: {
|
262504
262504
|
"@commander-js/extra-typings": "14.0.0",
|
262505
262505
|
commander: "14.0.0",
|
262506
|
-
"@inquirer/confirm": "5.1.
|
262507
|
-
"@inquirer/input": "4.1.
|
262508
|
-
"@inquirer/password": "4.0.
|
262509
|
-
"@inquirer/select": "4.2.
|
262510
|
-
"@settlemint/sdk-js": "2.3.2-
|
262511
|
-
"@settlemint/sdk-utils": "2.3.2-
|
262506
|
+
"@inquirer/confirm": "5.1.11",
|
262507
|
+
"@inquirer/input": "4.1.11",
|
262508
|
+
"@inquirer/password": "4.0.14",
|
262509
|
+
"@inquirer/select": "4.2.2",
|
262510
|
+
"@settlemint/sdk-js": "2.3.2-prcab731ad",
|
262511
|
+
"@settlemint/sdk-utils": "2.3.2-prcab731ad",
|
262512
262512
|
"@types/node": "22.15.21",
|
262513
262513
|
"@types/semver": "7.7.0",
|
262514
262514
|
"@types/which": "3.0.4",
|
@@ -262630,6 +262630,9 @@ class ValidationError extends Error {
|
|
262630
262630
|
name = "ValidationError";
|
262631
262631
|
}
|
262632
262632
|
// ../../node_modules/@inquirer/core/dist/esm/lib/use-prefix.js
|
262633
|
+
import { AsyncResource as AsyncResource3 } from "node:async_hooks";
|
262634
|
+
|
262635
|
+
// ../../node_modules/@inquirer/core/dist/esm/lib/use-state.js
|
262633
262636
|
import { AsyncResource as AsyncResource2 } from "node:async_hooks";
|
262634
262637
|
|
262635
262638
|
// ../../node_modules/@inquirer/core/dist/esm/lib/hook-engine.js
|
@@ -262740,18 +262743,18 @@ var effectScheduler = {
|
|
262740
262743
|
// ../../node_modules/@inquirer/core/dist/esm/lib/use-state.js
|
262741
262744
|
function useState(defaultValue) {
|
262742
262745
|
return withPointer((pointer) => {
|
262743
|
-
const
|
262746
|
+
const setState = AsyncResource2.bind(function setState(newValue) {
|
262744
262747
|
if (pointer.get() !== newValue) {
|
262745
262748
|
pointer.set(newValue);
|
262746
262749
|
handleChange();
|
262747
262750
|
}
|
262748
|
-
};
|
262751
|
+
});
|
262749
262752
|
if (pointer.initialized) {
|
262750
|
-
return [pointer.get(),
|
262753
|
+
return [pointer.get(), setState];
|
262751
262754
|
}
|
262752
262755
|
const value = typeof defaultValue === "function" ? defaultValue() : defaultValue;
|
262753
262756
|
pointer.set(value);
|
262754
|
-
return [value,
|
262757
|
+
return [value, setState];
|
262755
262758
|
});
|
262756
262759
|
}
|
262757
262760
|
|
@@ -263114,9 +263117,9 @@ function usePrefix({ status = "idle", theme }) {
|
|
263114
263117
|
if (status === "loading") {
|
263115
263118
|
let tickInterval;
|
263116
263119
|
let inc = -1;
|
263117
|
-
const delayTimeout = setTimeout(
|
263120
|
+
const delayTimeout = setTimeout(AsyncResource3.bind(() => {
|
263118
263121
|
setShowLoader(true);
|
263119
|
-
tickInterval = setInterval(
|
263122
|
+
tickInterval = setInterval(AsyncResource3.bind(() => {
|
263120
263123
|
inc = inc + 1;
|
263121
263124
|
setTick(inc % spinner.frames.length);
|
263122
263125
|
}), spinner.interval);
|
@@ -263274,7 +263277,7 @@ function usePagination({ items, active, renderItem, pageSize, loop = true }) {
|
|
263274
263277
|
// ../../node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
|
263275
263278
|
var import_mute_stream = __toESM(require_lib(), 1);
|
263276
263279
|
import * as readline2 from "node:readline";
|
263277
|
-
import { AsyncResource as
|
263280
|
+
import { AsyncResource as AsyncResource4 } from "node:async_hooks";
|
263278
263281
|
|
263279
263282
|
// ../../node_modules/signal-exit/dist/mjs/signals.js
|
263280
263283
|
var signals = [];
|
@@ -263618,7 +263621,7 @@ function createPrompt(view) {
|
|
263618
263621
|
rl.input.on("keypress", checkCursorPos);
|
263619
263622
|
cleanups.add(() => rl.input.removeListener("keypress", checkCursorPos));
|
263620
263623
|
return withHooks(rl, (cycle) => {
|
263621
|
-
const hooksCleanup =
|
263624
|
+
const hooksCleanup = AsyncResource4.bind(() => effectScheduler.clearAll());
|
263622
263625
|
rl.on("close", hooksCleanup);
|
263623
263626
|
cleanups.add(() => rl.removeListener("close", hooksCleanup));
|
263624
263627
|
cycle(() => {
|
@@ -284458,4 +284461,4 @@ async function sdkCliCommand(argv = process.argv) {
|
|
284458
284461
|
// src/cli.ts
|
284459
284462
|
sdkCliCommand();
|
284460
284463
|
|
284461
|
-
//# debugId=
|
284464
|
+
//# debugId=9301F796D590075A64756E2164756E21
|