@settlemint/sdk-cli 2.3.1-pr04499351 → 2.3.1-pr1584cccc

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 CHANGED
@@ -247890,7 +247890,7 @@ function pruneCurrentEnv(currentEnv, env2) {
247890
247890
  var package_default = {
247891
247891
  name: "@settlemint/sdk-cli",
247892
247892
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
247893
- version: "2.3.1-pr04499351",
247893
+ version: "2.3.1-pr1584cccc",
247894
247894
  type: "module",
247895
247895
  private: false,
247896
247896
  license: "FSL-1.1-MIT",
@@ -247939,8 +247939,8 @@ var package_default = {
247939
247939
  "@inquirer/input": "4.1.10",
247940
247940
  "@inquirer/password": "4.0.13",
247941
247941
  "@inquirer/select": "4.2.1",
247942
- "@settlemint/sdk-js": "2.3.1-pr04499351",
247943
- "@settlemint/sdk-utils": "2.3.1-pr04499351",
247942
+ "@settlemint/sdk-js": "2.3.1-pr1584cccc",
247943
+ "@settlemint/sdk-utils": "2.3.1-pr1584cccc",
247944
247944
  "@types/node": "22.15.19",
247945
247945
  "@types/semver": "7.7.0",
247946
247946
  "@types/which": "3.0.4",
@@ -262741,10 +262741,10 @@ function hardhatBuildCommand() {
262741
262741
  description: "Build the smart contracts using additional options to the Hardhat compile command",
262742
262742
  command: "scs hardhat build --concurrency 2"
262743
262743
  }
262744
- ])).helpOption(false).option("-h, --help", "Get list of possible hardhat compile options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
262744
+ ])).helpOption(false).option("-h, --help", "Get list of possible hardhat compile options").passThroughOptions().allowUnknownOption(true).arguments("[operands...]").action(async (operands, options, cmd2) => {
262745
262745
  intro("Building smart contracts using Hardhat");
262746
262746
  await validateIfRequiredPackagesAreInstalled(["hardhat"]);
262747
- const hardhatOptions = mapPassthroughOptions(passThroughOptions, cmd2);
262747
+ const hardhatOptions = mapPassthroughOptions(options, { args: operands });
262748
262748
  const { command, args } = await getPackageManagerExecutable();
262749
262749
  await executeCommand(command, [...args, "hardhat", "compile", ...hardhatOptions]);
262750
262750
  outro("Smart contracts built successfully");
@@ -263046,10 +263046,10 @@ function hardhatNetworkCommand() {
263046
263046
  description: "Start a development network using Hardhat with a specific port",
263047
263047
  command: "scs hardhat network --port 3000"
263048
263048
  }
263049
- ])).helpOption(false).option("-h, --help", "Get list of possible hardhat node options").passThroughOptions().allowUnknownOption(true).action(async (passThroughOptions, cmd2) => {
263049
+ ])).helpOption(false).option("-h, --help", "Get list of possible hardhat node options").passThroughOptions().allowUnknownOption(true).arguments("[operands...]").action(async (operands, options, cmd2) => {
263050
263050
  intro("Starting development network using Hardhat");
263051
263051
  await validateIfRequiredPackagesAreInstalled(["hardhat"]);
263052
- const hardhatOptions = mapPassthroughOptions(passThroughOptions, cmd2);
263052
+ const hardhatOptions = mapPassthroughOptions(options, { args: operands });
263053
263053
  const { command, args } = await getPackageManagerExecutable();
263054
263054
  await executeCommand(command, [...args, "hardhat", "node", ...hardhatOptions]);
263055
263055
  outro("Development network started successfully");
@@ -263147,10 +263147,10 @@ function hardhatTestCommand() {
263147
263147
  description: "Run a specific test file",
263148
263148
  command: "scs hardhat test test/token.test.ts"
263149
263149
  }
263150
- ])).helpOption(false).option("-h, --help", "Get list of possible hardhat test options").passThroughOptions().allowUnknownOption().action(async (options, cmd2) => {
263150
+ ])).helpOption(false).option("-h, --help", "Get list of possible hardhat test options").passThroughOptions().allowUnknownOption(true).arguments("[operands...]").action(async (operands, options, cmd2) => {
263151
263151
  intro("Running smart contract tests using Hardhat");
263152
263152
  await validateIfRequiredPackagesAreInstalled(["hardhat"]);
263153
- const hardhatOptions = mapPassthroughOptions(options, cmd2);
263153
+ const hardhatOptions = mapPassthroughOptions(options, { args: operands });
263154
263154
  const { command, args } = await getPackageManagerExecutable();
263155
263155
  await executeCommand(command, [...args, "hardhat", "test", ...hardhatOptions]);
263156
263156
  outro("Smart contract tests completed");
@@ -263654,4 +263654,4 @@ async function sdkCliCommand(argv = process.argv) {
263654
263654
  // src/cli.ts
263655
263655
  sdkCliCommand();
263656
263656
 
263657
- //# debugId=9836D5D904EF21E164756E2164756E21
263657
+ //# debugId=AD5DDB4F23EB5A9F64756E2164756E21