@settlemint/sdk-cli 2.3.12 → 2.3.13-pr3f17b352

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/README.md CHANGED
@@ -249,7 +249,7 @@ settlemint scs subgraph deploy --accept-defaults <subgraph-name>
249
249
 
250
250
  ## API Reference
251
251
 
252
- See the [documentation](https://github.com/settlemint/sdk/tree/v2.3.12/sdk/cli/docs/settlemint.md) for available commands.
252
+ See the [documentation](https://github.com/settlemint/sdk/tree/v2.3.13/sdk/cli/docs/settlemint.md) for available commands.
253
253
 
254
254
  ## Contributing
255
255
 
package/dist/cli.js CHANGED
@@ -263764,7 +263764,7 @@ function pruneCurrentEnv(currentEnv, env2) {
263764
263764
  var package_default = {
263765
263765
  name: "@settlemint/sdk-cli",
263766
263766
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
263767
- version: "2.3.12",
263767
+ version: "2.3.13-pr3f17b352",
263768
263768
  type: "module",
263769
263769
  private: false,
263770
263770
  license: "FSL-1.1-MIT",
@@ -263813,8 +263813,8 @@ var package_default = {
263813
263813
  "@inquirer/input": "4.1.12",
263814
263814
  "@inquirer/password": "4.0.15",
263815
263815
  "@inquirer/select": "4.2.3",
263816
- "@settlemint/sdk-js": "2.3.12",
263817
- "@settlemint/sdk-utils": "2.3.12",
263816
+ "@settlemint/sdk-js": "2.3.13-pr3f17b352",
263817
+ "@settlemint/sdk-utils": "2.3.13-pr3f17b352",
263818
263818
  "@types/node": "24.0.0",
263819
263819
  "@types/semver": "7.7.0",
263820
263820
  "@types/which": "3.0.4",
@@ -289281,11 +289281,11 @@ function getPincodeVerificationChallengeResponse({ verificationChallenge, pincod
289281
289281
  }
289282
289282
  function createSettleMintClient(options) {
289283
289283
  ensureServer();
289284
- if (options.instance === STANDALONE_INSTANCE2)
289284
+ if (options.instance === STANDALONE_INSTANCE2 || options.instance === LOCAL_INSTANCE2)
289285
289285
  if (options.anonymous)
289286
289286
  options.instance = "https://console.settlemint.com";
289287
289287
  else
289288
- throw new Error("Standalone instances cannot connect to the SettleMint platform");
289288
+ throw new Error("Standalone and local instances cannot connect to the SettleMint platform");
289289
289289
  const validatedOptions = options.anonymous ? validate2(exports_external.object({
289290
289290
  ...ClientOptionsSchema.shape,
289291
289291
  accessToken: exports_external.literal("")
@@ -301366,7 +301366,7 @@ async function validateSdkVersionFromCommand(command, interval = 5 * 60 * 1000)
301366
301366
  }
301367
301367
  await setLastSdkVersionCheck(new Date(now).toJSON());
301368
301368
  const instance = await getInstanceFromCommand(command);
301369
- if (instance !== STANDALONE_INSTANCE2) {
301369
+ if (instance !== STANDALONE_INSTANCE2 && instance !== LOCAL_INSTANCE2) {
301370
301370
  await validateSdkVersion(instance);
301371
301371
  }
301372
301372
  }
@@ -325782,7 +325782,7 @@ function hasuraTrackCommand() {
325782
325782
  let hasuraGraphqlEndpoint;
325783
325783
  let hasuraAdminSecret;
325784
325784
  let accessToken;
325785
- if (selectedInstance === STANDALONE_INSTANCE2) {
325785
+ if (selectedInstance === STANDALONE_INSTANCE2 || selectedInstance === LOCAL_INSTANCE2) {
325786
325786
  hasuraGraphqlEndpoint = env2.SETTLEMINT_HASURA_ENDPOINT;
325787
325787
  hasuraAdminSecret = env2.SETTLEMINT_HASURA_ADMIN_SECRET;
325788
325788
  } else {
@@ -326088,8 +326088,8 @@ function pincodeVerificationResponseCommand() {
326088
326088
  env: env2,
326089
326089
  accept: true
326090
326090
  });
326091
- if (selectedInstance === STANDALONE_INSTANCE2) {
326092
- return cancel2("This command does not support standalone instances");
326091
+ if (selectedInstance === STANDALONE_INSTANCE2 || selectedInstance === LOCAL_INSTANCE2) {
326092
+ return cancel2("This command does not support standalone or local instances");
326093
326093
  }
326094
326094
  const applicationUniqueName = env2.SETTLEMINT_APPLICATION;
326095
326095
  if (!applicationUniqueName) {
@@ -329871,4 +329871,4 @@ async function sdkCliCommand(argv = process.argv) {
329871
329871
  // src/cli.ts
329872
329872
  sdkCliCommand();
329873
329873
 
329874
- //# debugId=C691EB8EE6DCFC0A64756E2164756E21
329874
+ //# debugId=83162C23C272696E64756E2164756E21