@settlemint/sdk-cli 2.2.3-pr04594fc5 → 2.2.3-pr090cd91f

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
@@ -255067,7 +255067,7 @@ function pruneCurrentEnv(currentEnv, env2) {
255067
255067
  var package_default = {
255068
255068
  name: "@settlemint/sdk-cli",
255069
255069
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
255070
- version: "2.2.3-pr04594fc5",
255070
+ version: "2.2.3-pr090cd91f",
255071
255071
  type: "module",
255072
255072
  private: false,
255073
255073
  license: "FSL-1.1-MIT",
@@ -255116,9 +255116,9 @@ var package_default = {
255116
255116
  "@inquirer/input": "4.1.10",
255117
255117
  "@inquirer/password": "4.0.13",
255118
255118
  "@inquirer/select": "4.2.1",
255119
- "@settlemint/sdk-js": "2.2.3-pr04594fc5",
255120
- "@settlemint/sdk-utils": "2.2.3-pr04594fc5",
255121
- "@types/node": "22.15.18",
255119
+ "@settlemint/sdk-js": "2.2.3-pr090cd91f",
255120
+ "@settlemint/sdk-utils": "2.2.3-pr090cd91f",
255121
+ "@types/node": "22.15.17",
255122
255122
  "@types/semver": "7.7.0",
255123
255123
  "@types/which": "3.0.4",
255124
255124
  "get-tsconfig": "4.10.0",
@@ -258549,12 +258549,7 @@ var getPlatformConfigQuery = graphql(`
258549
258549
  disabled
258550
258550
  }
258551
258551
  }
258552
- preDeployedAbis {
258553
- id
258554
- featureflagged
258555
- abis
258556
- label
258557
- }
258552
+ preDeployedContracts
258558
258553
  sdkVersion
258559
258554
  kits {
258560
258555
  id
@@ -268028,9 +268023,9 @@ function smartContractPortalMiddlewareCreateCommand() {
268028
268023
  }
268029
268024
  if (includePredeployedAbis && includePredeployedAbis.length > 0) {
268030
268025
  const platformConfig = await settlemint.platform.config();
268031
- const invalidPredeployedAbis = includePredeployedAbis.filter((abi) => !platformConfig.preDeployedAbis.some((predeployedAbi) => predeployedAbi.abis.includes(abi)));
268026
+ const invalidPredeployedAbis = includePredeployedAbis.filter((abi) => !platformConfig.preDeployedContracts.some((contract) => contract === abi));
268032
268027
  if (invalidPredeployedAbis.length > 0) {
268033
- cancel2(`Invalid pre-deployed abis: '${invalidPredeployedAbis.join(", ")}'. Possible values: '${platformConfig.preDeployedAbis.flatMap((abi) => abi.abis).sort().join(", ")}'`);
268028
+ cancel2(`Invalid pre-deployed abis: '${invalidPredeployedAbis.join(", ")}'. Possible values: '${platformConfig.preDeployedContracts.sort().join(", ")}'`);
268034
268029
  }
268035
268030
  }
268036
268031
  const result = await showSpinner(() => settlemint.middleware.create({
@@ -268885,7 +268880,7 @@ function configCommand() {
268885
268880
  providerName: provider.name,
268886
268881
  regionName: region.name
268887
268882
  }))).sort((a8, b4) => a8.providerId.localeCompare(b4.providerId) || a8.regionId.localeCompare(b4.regionId)),
268888
- preDeployedAbis: platformConfig.preDeployedAbis.filter(({ featureflagged }) => !featureflagged).flatMap(({ abis }) => abis).sort()
268883
+ preDeployedContracts: platformConfig.preDeployedContracts.sort()
268889
268884
  };
268890
268885
  if (output === "json") {
268891
268886
  jsonOutput(platformConfigData);
@@ -268895,7 +268890,7 @@ function configCommand() {
268895
268890
  table("Templates (Kits)", platformConfigData.kits);
268896
268891
  table("Use cases (Smart Contract Sets)", platformConfigData.useCases);
268897
268892
  table("Providers and regions", platformConfigData.deploymentEngineTargets);
268898
- list("Pre-deployed abis (Smart Contract Portal)", platformConfigData.preDeployedAbis);
268893
+ list("Pre-deployed abis (Smart Contract Portal)", platformConfigData.preDeployedContracts);
268899
268894
  }
268900
268895
  outro("Platform configuration retrieved");
268901
268896
  });
@@ -270440,4 +270435,4 @@ async function sdkCliCommand(argv = process.argv) {
270440
270435
  // src/cli.ts
270441
270436
  sdkCliCommand();
270442
270437
 
270443
- //# debugId=418D540A35F45D4864756E2164756E21
270438
+ //# debugId=9FBCE2B2A2CB374864756E2164756E21