@settlemint/sdk-cli 1.0.6-prd74d0513 → 1.0.6-prdf6ab19e

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
@@ -59232,8 +59232,8 @@ ${lanes.join(`
59232
59232
  addDeclarationToSymbol(symbol, id, flags);
59233
59233
  return symbol;
59234
59234
  } else {
59235
- const table = parent3 ? parent3.exports : file.jsGlobalAugmentations || (file.jsGlobalAugmentations = createSymbolTable());
59236
- return declareSymbol(table, parent3, id, flags, excludeFlags);
59235
+ const table2 = parent3 ? parent3.exports : file.jsGlobalAugmentations || (file.jsGlobalAugmentations = createSymbolTable());
59236
+ return declareSymbol(table2, parent3, id, flags, excludeFlags);
59237
59237
  }
59238
59238
  });
59239
59239
  }
@@ -63732,13 +63732,13 @@ ${lanes.join(`
63732
63732
  case 263:
63733
63733
  case 231:
63734
63734
  case 264:
63735
- let table;
63735
+ let table2;
63736
63736
  (getSymbolOfDeclaration(location).members || emptySymbols).forEach((memberSymbol, key) => {
63737
63737
  if (memberSymbol.flags & (788968 & ~67108864)) {
63738
- (table || (table = createSymbolTable())).set(key, memberSymbol);
63738
+ (table2 || (table2 = createSymbolTable())).set(key, memberSymbol);
63739
63739
  }
63740
63740
  });
63741
- if (table && (result = callback(table, undefined, false, location))) {
63741
+ if (table2 && (result = callback(table2, undefined, false, location))) {
63742
63742
  return result;
63743
63743
  }
63744
63744
  break;
@@ -108969,11 +108969,11 @@ ${lanes.join(`
108969
108969
  state.labeledNonLocalContinues.set(labelText, labelMarker);
108970
108970
  }
108971
108971
  }
108972
- function processLabeledJumps(table, isBreak, loopResultName, outerLoop, caseClauses) {
108973
- if (!table) {
108972
+ function processLabeledJumps(table2, isBreak, loopResultName, outerLoop, caseClauses) {
108973
+ if (!table2) {
108974
108974
  return;
108975
108975
  }
108976
- table.forEach((labelMarker, labelText) => {
108976
+ table2.forEach((labelMarker, labelText) => {
108977
108977
  const statements = [];
108978
108978
  if (!outerLoop || outerLoop.labels && outerLoop.labels.get(labelText)) {
108979
108979
  const label = factory2.createIdentifier(labelText);
@@ -209465,7 +209465,7 @@ ${Bt.cyan(Yt)}
209465
209465
  code: "ENOENT"
209466
209466
  }), getPathInfo = (e9, t7) => {
209467
209467
  var r6 = t7.colon || or;
209468
- var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.DudkAtzuGk:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
209468
+ var i6 = e9.match(/\//) || nr && e9.match(/\\/) ? [""] : [...nr ? [process.cwd()] : [], ...(t7.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.LkQyS5q23g:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(r6)];
209469
209469
  var n6 = nr ? t7.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
209470
209470
  var a5 = nr ? n6.split(r6) : [""];
209471
209471
  if (nr) {
@@ -212602,7 +212602,7 @@ ${whileRunning(e9)}`;
212602
212602
  };
212603
212603
  ni = Object.assign(async function _main() {
212604
212604
  var e9 = new Cli({
212605
- binaryVersion: "1.0.6-prd74d0513",
212605
+ binaryVersion: "1.0.6-prdf6ab19e",
212606
212606
  binaryLabel: "gql.tada CLI",
212607
212607
  binaryName: "gql.tada"
212608
212608
  });
@@ -220192,7 +220192,7 @@ var require_lib4 = __commonJS((exports, module) => {
220192
220192
  var rRel = new RegExp(`^\\.${rSlash.source}`);
220193
220193
  var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
220194
220194
  var getPathInfo2 = (cmd2, {
220195
- path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.DudkAtzuGk:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
220195
+ path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.LkQyS5q23g:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
220196
220196
  pathExt: optPathExt = process.env.PATHEXT,
220197
220197
  delimiter: optDelimiter = delimiter
220198
220198
  }) => {
@@ -220396,7 +220396,7 @@ var require_lib5 = __commonJS((exports, module) => {
220396
220396
  let pathToInitial;
220397
220397
  try {
220398
220398
  pathToInitial = which.sync(initialCmd, {
220399
- path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.DudkAtzuGk:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
220399
+ path: options.env && findInObject(options.env, "PATH") || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.LkQyS5q23g:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
220400
220400
  pathext: options.env && findInObject(options.env, "PATHEXT") || process.env.PATHEXT
220401
220401
  }).toLowerCase();
220402
220402
  } catch (err) {
@@ -221113,7 +221113,7 @@ var require_lib6 = __commonJS((exports, module) => {
221113
221113
  var rRel = new RegExp(`^\\.${rSlash.source}`);
221114
221114
  var getNotFoundError2 = (cmd2) => Object.assign(new Error(`not found: ${cmd2}`), { code: "ENOENT" });
221115
221115
  var getPathInfo2 = (cmd2, {
221116
- path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.DudkAtzuGk:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
221116
+ path: optPath = "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.LkQyS5q23g:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",
221117
221117
  pathExt: optPathExt = process.env.PATHEXT,
221118
221118
  delimiter: optDelimiter = delimiter
221119
221119
  }) => {
@@ -234988,7 +234988,7 @@ var require_which2 = __commonJS((exports, module) => {
234988
234988
  const colon = opt2.colon || COLON;
234989
234989
  const pathEnv = cmd2.match(/\//) || isWindows2 && cmd2.match(/\\/) ? [""] : [
234990
234990
  ...isWindows2 ? [process.cwd()] : [],
234991
- ...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.DudkAtzuGk:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
234991
+ ...(opt2.path || "/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/cli/node_modules/.bin:/home/runner/work/sdk/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/tmp/bunx-1001-turbo@latest/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/sdk/node_modules/.bin:/home/runner/work/sdk/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/22.13.0/x64/bin:/home/runner/.bun/bin:/tmp/tmp.LkQyS5q23g:/nsc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/snap/bin/:/usr/games:/usr/local/games:/home/linuxbrew/.linuxbrew/bin:/home/runner/.config/composer/vendor/bin:/home/runner/.dotnet/tools:/home/runner/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin").split(colon)
234992
234992
  ];
234993
234993
  const pathExtExe = isWindows2 ? opt2.pathExt || process.env.PATHEXT || ".EXE;.CMD;.BAT;.COM" : "";
234994
234994
  const pathExt = isWindows2 ? pathExtExe.split(colon) : [""];
@@ -249498,57 +249498,6 @@ ${F4}`;
249498
249498
  exports.createFetch = createFetch, exports.createProxy = createProxy, exports.fetch = fetch2;
249499
249499
  });
249500
249500
 
249501
- // ../../node_modules/slugify/slugify.js
249502
- var require_slugify = __commonJS((exports, module) => {
249503
- (function(name2, root, factory) {
249504
- if (typeof exports === "object") {
249505
- module.exports = factory();
249506
- module.exports["default"] = factory();
249507
- } else if (typeof define === "function" && define.amd) {
249508
- define(factory);
249509
- } else {
249510
- root[name2] = factory();
249511
- }
249512
- })("slugify", exports, function() {
249513
- var charMap = JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}');
249514
- var locales = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
249515
- function replace(string, options) {
249516
- if (typeof string !== "string") {
249517
- throw new Error("slugify: string argument expected");
249518
- }
249519
- options = typeof options === "string" ? { replacement: options } : options || {};
249520
- var locale = locales[options.locale] || {};
249521
- var replacement = options.replacement === undefined ? "-" : options.replacement;
249522
- var trim = options.trim === undefined ? true : options.trim;
249523
- var slug = string.normalize().split("").reduce(function(result, ch) {
249524
- var appendChar = locale[ch];
249525
- if (appendChar === undefined)
249526
- appendChar = charMap[ch];
249527
- if (appendChar === undefined)
249528
- appendChar = ch;
249529
- if (appendChar === replacement)
249530
- appendChar = " ";
249531
- return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
249532
- }, "");
249533
- if (options.strict) {
249534
- slug = slug.replace(/[^A-Za-z0-9\s]/g, "");
249535
- }
249536
- if (trim) {
249537
- slug = slug.trim();
249538
- }
249539
- slug = slug.replace(/\s+/g, replacement);
249540
- if (options.lower) {
249541
- slug = slug.toLowerCase();
249542
- }
249543
- return slug;
249544
- }
249545
- replace.extend = function(customMap) {
249546
- Object.assign(charMap, customMap);
249547
- };
249548
- return replace;
249549
- });
249550
- });
249551
-
249552
249501
  // ../../node_modules/yaml/dist/nodes/identity.js
249553
249502
  var require_identity = __commonJS((exports) => {
249554
249503
  var ALIAS = Symbol.for("yaml.alias");
@@ -256435,6 +256384,57 @@ var require_public_api = __commonJS((exports) => {
256435
256384
  exports.stringify = stringify3;
256436
256385
  });
256437
256386
 
256387
+ // ../../node_modules/slugify/slugify.js
256388
+ var require_slugify = __commonJS((exports, module) => {
256389
+ (function(name2, root, factory) {
256390
+ if (typeof exports === "object") {
256391
+ module.exports = factory();
256392
+ module.exports["default"] = factory();
256393
+ } else if (typeof define === "function" && define.amd) {
256394
+ define(factory);
256395
+ } else {
256396
+ root[name2] = factory();
256397
+ }
256398
+ })("slugify", exports, function() {
256399
+ var charMap = JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Č":"C","č":"c","Ď":"D","ď":"d","Đ":"DJ","đ":"dj","Ē":"E","ē":"e","Ė":"E","ė":"e","Ę":"e","ę":"e","Ě":"E","ě":"e","Ğ":"G","ğ":"g","Ģ":"G","ģ":"g","Ĩ":"I","ĩ":"i","Ī":"i","ī":"i","Į":"I","į":"i","İ":"I","ı":"i","Ķ":"k","ķ":"k","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ł":"L","ł":"l","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","Ō":"O","ō":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","Ŕ":"R","ŕ":"r","Ř":"R","ř":"r","Ś":"S","ś":"s","Ş":"S","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","Ť":"T","ť":"t","Ũ":"U","ũ":"u","Ū":"u","ū":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","Ə":"E","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Lj":"LJ","lj":"lj","Nj":"NJ","nj":"nj","Ș":"S","ș":"s","Ț":"T","ț":"t","ə":"e","˚":"o","Ά":"A","Έ":"E","Ή":"H","Ί":"I","Ό":"O","Ύ":"Y","Ώ":"W","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"8","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"3","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","έ":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","π":"p","ρ":"r","ς":"s","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"w","ϊ":"i","ϋ":"y","ό":"o","ύ":"y","ώ":"w","Ё":"Yo","Ђ":"DJ","Є":"Ye","І":"I","Ї":"Yi","Ј":"J","Љ":"LJ","Њ":"NJ","Ћ":"C","Џ":"DZ","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ж":"Zh","З":"Z","И":"I","Й":"J","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Х":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"h","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"u","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","ё":"yo","ђ":"dj","є":"ye","і":"i","ї":"yi","ј":"j","љ":"lj","њ":"nj","ћ":"c","ѝ":"u","џ":"dz","Ґ":"G","ґ":"g","Ғ":"GH","ғ":"gh","Қ":"KH","қ":"kh","Ң":"NG","ң":"ng","Ү":"UE","ү":"ue","Ұ":"U","ұ":"u","Һ":"H","һ":"h","Ә":"AE","ә":"ae","Ө":"OE","ө":"oe","Ա":"A","Բ":"B","Գ":"G","Դ":"D","Ե":"E","Զ":"Z","Է":"E\'","Ը":"Y\'","Թ":"T\'","Ժ":"JH","Ի":"I","Լ":"L","Խ":"X","Ծ":"C\'","Կ":"K","Հ":"H","Ձ":"D\'","Ղ":"GH","Ճ":"TW","Մ":"M","Յ":"Y","Ն":"N","Շ":"SH","Չ":"CH","Պ":"P","Ջ":"J","Ռ":"R\'","Ս":"S","Վ":"V","Տ":"T","Ր":"R","Ց":"C","Փ":"P\'","Ք":"Q\'","Օ":"O\'\'","Ֆ":"F","և":"EV","ء":"a","آ":"aa","أ":"a","ؤ":"u","إ":"i","ئ":"e","ا":"a","ب":"b","ة":"h","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ى":"a","ي":"y","ً":"an","ٌ":"on","ٍ":"en","َ":"a","ُ":"u","ِ":"e","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","پ":"p","چ":"ch","ژ":"zh","ک":"k","گ":"g","ی":"y","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","฿":"baht","ა":"a","ბ":"b","გ":"g","დ":"d","ე":"e","ვ":"v","ზ":"z","თ":"t","ი":"i","კ":"k","ლ":"l","მ":"m","ნ":"n","ო":"o","პ":"p","ჟ":"zh","რ":"r","ს":"s","ტ":"t","უ":"u","ფ":"f","ქ":"k","ღ":"gh","ყ":"q","შ":"sh","ჩ":"ch","ც":"ts","ძ":"dz","წ":"ts","ჭ":"ch","ხ":"kh","ჯ":"j","ჰ":"h","Ṣ":"S","ṣ":"s","Ẁ":"W","ẁ":"w","Ẃ":"W","ẃ":"w","Ẅ":"W","ẅ":"w","ẞ":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","ậ":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","Ề":"E","ề":"e","Ể":"E","ể":"e","Ễ":"E","ễ":"e","Ệ":"E","ệ":"e","Ỉ":"I","ỉ":"i","Ị":"I","ị":"i","Ọ":"O","ọ":"o","Ỏ":"O","ỏ":"o","Ố":"O","ố":"o","Ồ":"O","ồ":"o","Ổ":"O","ổ":"o","Ỗ":"O","ỗ":"o","Ộ":"O","ộ":"o","Ớ":"O","ớ":"o","Ờ":"O","ờ":"o","Ở":"O","ở":"o","Ỡ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","ủ":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","ử":"u","Ữ":"U","ữ":"u","Ự":"U","ự":"u","Ỳ":"Y","ỳ":"y","Ỵ":"Y","ỵ":"y","Ỷ":"Y","ỷ":"y","Ỹ":"Y","ỹ":"y","–":"-","‘":"\'","’":"\'","“":"\\"","”":"\\"","„":"\\"","†":"+","•":"*","…":"...","₠":"ecu","₢":"cruzeiro","₣":"french franc","₤":"lira","₥":"mill","₦":"naira","₧":"peseta","₨":"rupee","₩":"won","₪":"new shequel","₫":"dong","€":"euro","₭":"kip","₮":"tugrik","₯":"drachma","₰":"penny","₱":"peso","₲":"guarani","₳":"austral","₴":"hryvnia","₵":"cedi","₸":"kazakhstani tenge","₹":"indian rupee","₺":"turkish lira","₽":"russian ruble","₿":"bitcoin","℠":"sm","™":"tm","∂":"d","∆":"delta","∑":"sum","∞":"infinity","♥":"love","元":"yuan","円":"yen","﷼":"rial","ﻵ":"laa","ﻷ":"laa","ﻹ":"lai","ﻻ":"la"}');
256400
+ var locales = JSON.parse('{"bg":{"Й":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","ц":"ts","щ":"sht","ъ":"a","ь":"y"},"de":{"Ä":"AE","ä":"ae","Ö":"OE","ö":"oe","Ü":"UE","ü":"ue","ß":"ss","%":"prozent","&":"und","|":"oder","∑":"summe","∞":"unendlich","♥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","₣":"francos","∑":"suma","∞":"infinito","♥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","₣":"franc","∑":"somme","∞":"infini","♥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","∑":"soma","£":"libra","∞":"infinito","♥":"amor"},"uk":{"И":"Y","и":"y","Й":"Y","й":"y","Ц":"Ts","ц":"ts","Х":"Kh","х":"kh","Щ":"Shch","щ":"shch","Г":"H","г":"h"},"vi":{"Đ":"D","đ":"d"},"da":{"Ø":"OE","ø":"oe","Å":"AA","å":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Å":"AA","Æ":"AE","Ø":"OE","å":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Å":"AA","Ä":"AE","Ö":"OE","å":"aa","ä":"ae","ö":"oe"}}');
256401
+ function replace(string, options) {
256402
+ if (typeof string !== "string") {
256403
+ throw new Error("slugify: string argument expected");
256404
+ }
256405
+ options = typeof options === "string" ? { replacement: options } : options || {};
256406
+ var locale = locales[options.locale] || {};
256407
+ var replacement = options.replacement === undefined ? "-" : options.replacement;
256408
+ var trim = options.trim === undefined ? true : options.trim;
256409
+ var slug = string.normalize().split("").reduce(function(result, ch) {
256410
+ var appendChar = locale[ch];
256411
+ if (appendChar === undefined)
256412
+ appendChar = charMap[ch];
256413
+ if (appendChar === undefined)
256414
+ appendChar = ch;
256415
+ if (appendChar === replacement)
256416
+ appendChar = " ";
256417
+ return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
256418
+ }, "");
256419
+ if (options.strict) {
256420
+ slug = slug.replace(/[^A-Za-z0-9\s]/g, "");
256421
+ }
256422
+ if (trim) {
256423
+ slug = slug.trim();
256424
+ }
256425
+ slug = slug.replace(/\s+/g, replacement);
256426
+ if (options.lower) {
256427
+ slug = slug.toLowerCase();
256428
+ }
256429
+ return slug;
256430
+ }
256431
+ replace.extend = function(customMap) {
256432
+ Object.assign(charMap, customMap);
256433
+ };
256434
+ return replace;
256435
+ });
256436
+ });
256437
+
256438
256438
  // ../utils/dist/environment.mjs
256439
256439
  import { join } from "node:path";
256440
256440
 
@@ -256743,6 +256743,9 @@ function yoctoSpinner(options) {
256743
256743
  return new YoctoSpinner(options);
256744
256744
  }
256745
256745
 
256746
+ // ../utils/dist/environment.mjs
256747
+ import TTYTable from "tty-table";
256748
+
256746
256749
  // ../../node_modules/zod/lib/index.mjs
256747
256750
  var util;
256748
256751
  (function(util2) {
@@ -267466,6 +267469,7 @@ var {
267466
267469
 
267467
267470
  // ../utils/dist/terminal.mjs
267468
267471
  import { spawn } from "node:child_process";
267472
+ import TTYTable2 from "tty-table";
267469
267473
  var ascii = () => console.log(magentaBright(`
267470
267474
  _________ __ __ .__ _____ .__ __
267471
267475
  / _____/ _____/ |__/ |_| | ____ / \\ |__| _____/ |_
@@ -267530,14 +267534,15 @@ function list(title, items) {
267530
267534
  const formatItems = (items2) => {
267531
267535
  return items2.map((item) => {
267532
267536
  if (Array.isArray(item)) {
267533
- return item.map((subItem) => ` • ${subItem}`).join(`
267537
+ return item.map((subItem) => ` • ${subItem}`).join(`
267534
267538
  `);
267535
267539
  }
267536
- return `• ${item}`;
267540
+ return ` • ${item}`;
267537
267541
  }).join(`
267538
267542
  `);
267539
267543
  };
267540
267544
  return note(`${title}:
267545
+
267541
267546
  ${formatItems(items)}`);
267542
267547
  }
267543
267548
  var outro = (msg) => {
@@ -267562,11 +267567,40 @@ ${error.stack}`));
267562
267567
  process.exit(1);
267563
267568
  }
267564
267569
  };
267570
+ function capitalizeFirstLetter(val) {
267571
+ return String(val).charAt(0).toUpperCase() + String(val).slice(1);
267572
+ }
267573
+ function camelCaseToWords(s) {
267574
+ const result = s.replace(/([a-z])([A-Z])/g, "$1 $2");
267575
+ const withSpaces = result.replace(/([A-Z])([a-z])/g, " $1$2");
267576
+ const capitalized = capitalizeFirstLetter(withSpaces);
267577
+ return capitalized.replace(/\s+/g, " ").trim();
267578
+ }
267579
+ function table(title, data, compact = true) {
267580
+ note(title);
267581
+ if (!data || data.length === 0) {
267582
+ note("No data to display");
267583
+ return;
267584
+ }
267585
+ const columnKeys = Object.keys(data[0]);
267586
+ const headers = columnKeys.map((key) => ({
267587
+ value: key,
267588
+ alias: whiteBright(camelCaseToWords(key)),
267589
+ headerAlign: "left",
267590
+ headerColor: "",
267591
+ align: "left"
267592
+ }));
267593
+ const config3 = {
267594
+ compact
267595
+ };
267596
+ const ttyTable = TTYTable2(headers, data, config3);
267597
+ console.log(ttyTable.render());
267598
+ }
267565
267599
  // package.json
267566
267600
  var package_default = {
267567
267601
  name: "@settlemint/sdk-cli",
267568
267602
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
267569
- version: "1.0.6-prd74d0513",
267603
+ version: "1.0.6-prdf6ab19e",
267570
267604
  type: "module",
267571
267605
  private: false,
267572
267606
  license: "FSL-1.1-MIT",
@@ -267607,7 +267641,8 @@ var package_default = {
267607
267641
  },
267608
267642
  dependencies: {
267609
267643
  hardhat: "2.22.18",
267610
- tinyexec: "0.3.2"
267644
+ tinyexec: "0.3.2",
267645
+ "tty-table": "4.2.3"
267611
267646
  },
267612
267647
  devDependencies: {
267613
267648
  "@types/semver": "7.5.8",
@@ -267621,10 +267656,11 @@ var package_default = {
267621
267656
  "@inquirer/input": "4.1.3",
267622
267657
  "@inquirer/password": "4.0.6",
267623
267658
  "@inquirer/select": "4.0.6",
267624
- "@settlemint/sdk-js": "1.0.6-prd74d0513",
267625
- "@settlemint/sdk-utils": "1.0.6-prd74d0513",
267659
+ "@settlemint/sdk-js": "1.0.6-prdf6ab19e",
267660
+ "@settlemint/sdk-utils": "1.0.6-prdf6ab19e",
267626
267661
  "get-tsconfig": "4.8.1",
267627
- giget: "1.2.3"
267662
+ giget: "1.2.3",
267663
+ yaml: "2.7.0"
267628
267664
  },
267629
267665
  peerDependencies: {},
267630
267666
  engines: {
@@ -267736,9 +267772,18 @@ async function retryWhenFailed(fn, maxRetries = 5, initialSleepTime = 1000, stop
267736
267772
  }
267737
267773
  throw new Error("Retry failed");
267738
267774
  }
267739
- function capitalizeFirstLetter(val) {
267775
+ function capitalizeFirstLetter2(val) {
267740
267776
  return String(val).charAt(0).toUpperCase() + String(val).slice(1);
267741
267777
  }
267778
+ function camelCaseToWords2(s) {
267779
+ const result = s.replace(/([a-z])([A-Z])/g, "$1 $2");
267780
+ const withSpaces = result.replace(/([A-Z])([a-z])/g, " $1$2");
267781
+ const capitalized = capitalizeFirstLetter2(withSpaces);
267782
+ return capitalized.replace(/\s+/g, " ").trim();
267783
+ }
267784
+ function replaceUnderscoresAndHyphensWithSpaces(s) {
267785
+ return s.replace(/[-_]/g, " ");
267786
+ }
267742
267787
 
267743
267788
  // src/utils/config.ts
267744
267789
  var CONFIG_DIR = join6(homedir(), ".config", "settlemint");
@@ -267964,6 +268009,7 @@ async function installPackage(names, options = {}) {
267964
268009
  }
267965
268010
 
267966
268011
  // ../utils/dist/package-manager.mjs
268012
+ import TTYTable3 from "tty-table";
267967
268013
  var import_package_json = __toESM(require_lib12(), 1);
267968
268014
  var import_package_json2 = __toESM(require_lib12(), 1);
267969
268015
  async function projectRoot3(fallbackToCwd = false, cwd) {
@@ -268207,7 +268253,7 @@ async function codegenTheGraph(env2, subgraphNames) {
268207
268253
  "x-auth-token": accessToken
268208
268254
  }
268209
268255
  });
268210
- const nameSuffix = capitalizeFirstLetter(name2);
268256
+ const nameSuffix = capitalizeFirstLetter2(name2);
268211
268257
  const graphqlClientVariable = getVariableName(`theGraphClient${nameSuffix}`);
268212
268258
  const graphqlVariable = getVariableName(`theGraphGraphql${nameSuffix}`);
268213
268259
  template.push(...[
@@ -271345,11 +271391,12 @@ async function workspacePrompt(env2, workspaces, accept) {
271345
271391
  }
271346
271392
 
271347
271393
  // src/spinners/services.spinner.ts
271348
- async function servicesSpinner(settlemint, application) {
271394
+ async function servicesSpinner(settlemint, applicationUniqueName, types2) {
271349
271395
  return spinner({
271350
271396
  startMessage: "Loading your services",
271351
271397
  stopMessage: "Loaded your services",
271352
271398
  task: async () => {
271399
+ const shouldFetch = (type4) => !types2 || types2?.includes(type4);
271353
271400
  const [
271354
271401
  blockchainNetworks,
271355
271402
  blockchainNodes,
@@ -271360,14 +271407,14 @@ async function servicesSpinner(settlemint, application) {
271360
271407
  insights,
271361
271408
  customDeployments
271362
271409
  ] = await Promise.all([
271363
- settlemint.blockchainNetwork.list(application.uniqueName),
271364
- settlemint.blockchainNode.list(application.uniqueName),
271365
- settlemint.middleware.list(application.uniqueName),
271366
- settlemint.integrationTool.list(application.uniqueName),
271367
- settlemint.storage.list(application.uniqueName),
271368
- settlemint.privateKey.list(application.uniqueName),
271369
- settlemint.insights.list(application.uniqueName),
271370
- settlemint.customDeployment.list(application.uniqueName)
271410
+ shouldFetch("blockchain-network") ? settlemint.blockchainNetwork.list(applicationUniqueName) : Promise.resolve([]),
271411
+ shouldFetch("blockchain-node") ? settlemint.blockchainNode.list(applicationUniqueName) : Promise.resolve([]),
271412
+ shouldFetch("middleware") ? settlemint.middleware.list(applicationUniqueName) : Promise.resolve([]),
271413
+ shouldFetch("integration-tool") ? settlemint.integrationTool.list(applicationUniqueName) : Promise.resolve([]),
271414
+ shouldFetch("storage") ? settlemint.storage.list(applicationUniqueName) : Promise.resolve([]),
271415
+ shouldFetch("private-key") ? settlemint.privateKey.list(applicationUniqueName) : Promise.resolve([]),
271416
+ shouldFetch("insights") ? settlemint.insights.list(applicationUniqueName) : Promise.resolve([]),
271417
+ shouldFetch("custom-deployment") ? settlemint.customDeployment.list(applicationUniqueName) : Promise.resolve([])
271371
271418
  ]);
271372
271419
  return {
271373
271420
  blockchainNetworks,
@@ -272411,6 +272458,9 @@ var BlockchainNetworkFragment = graphql(`
272411
272458
  uniqueName
272412
272459
  name
272413
272460
  status
272461
+ healthStatus
272462
+ provider
272463
+ region
272414
272464
  blockchainNodes {
272415
272465
  ... on BlockchainNode {
272416
272466
  id
@@ -272558,6 +272608,9 @@ var BlockchainNodeFragment = graphql(`
272558
272608
  uniqueName
272559
272609
  name
272560
272610
  status
272611
+ healthStatus
272612
+ provider
272613
+ region
272561
272614
  isEvm
272562
272615
  endpoints {
272563
272616
  id
@@ -272679,6 +272732,9 @@ var CustomDeploymentFragment = graphql(`
272679
272732
  uniqueName
272680
272733
  name
272681
272734
  status
272735
+ healthStatus
272736
+ provider
272737
+ region
272682
272738
  endpoints {
272683
272739
  id
272684
272740
  label
@@ -272805,6 +272861,11 @@ var LoadBalancerFragment = graphql(`
272805
272861
  fragment LoadBalancer on LoadBalancer {
272806
272862
  id
272807
272863
  uniqueName
272864
+ name
272865
+ status
272866
+ healthStatus
272867
+ provider
272868
+ region
272808
272869
  }
272809
272870
  `);
272810
272871
  var getLoadBalancer = graphql(`
@@ -272829,6 +272890,9 @@ var InsightsFragment = graphql(`
272829
272890
  uniqueName
272830
272891
  name
272831
272892
  status
272893
+ healthStatus
272894
+ provider
272895
+ region
272832
272896
  insightsCategory
272833
272897
  endpoints {
272834
272898
  id
@@ -272936,6 +273000,9 @@ var IntegrationFragment = graphql(`
272936
273000
  uniqueName
272937
273001
  name
272938
273002
  status
273003
+ healthStatus
273004
+ provider
273005
+ region
272939
273006
  integrationType
272940
273007
  endpoints {
272941
273008
  id
@@ -273033,6 +273100,9 @@ var StorageFragment = graphql(`
273033
273100
  uniqueName
273034
273101
  name
273035
273102
  status
273103
+ healthStatus
273104
+ provider
273105
+ region
273036
273106
  storageProtocol
273037
273107
  endpoints {
273038
273108
  id
@@ -273130,6 +273200,9 @@ var MiddlewareFragment = graphql(`
273130
273200
  uniqueName
273131
273201
  name
273132
273202
  status
273203
+ healthStatus
273204
+ provider
273205
+ region
273133
273206
  interface
273134
273207
  entityVersion
273135
273208
  serviceUrl
@@ -273314,6 +273387,9 @@ var PrivateKeyFragment = graphql(`
273314
273387
  name
273315
273388
  privateKeyType
273316
273389
  status
273390
+ healthStatus
273391
+ provider
273392
+ region
273317
273393
  }
273318
273394
  `);
273319
273395
  var getPrivateKeys = graphql(`
@@ -273530,7 +273606,7 @@ function connectCommand() {
273530
273606
  const workspace = await workspacePrompt(env2, workspaces, acceptDefaults);
273531
273607
  const application = await applicationPrompt(env2, workspace?.applications ?? [], acceptDefaults);
273532
273608
  const aatToken = await applicationAccessTokenPrompt(env2, application, settlemint, acceptDefaults);
273533
- const { middlewares, integrationTools, storages, privateKeys, insights, customDeployments, blockchainNodes } = await servicesSpinner(settlemint, application);
273609
+ const { middlewares, integrationTools, storages, privateKeys, insights, customDeployments, blockchainNodes } = await servicesSpinner(settlemint, application.uniqueName);
273534
273610
  const blockchainNode = await blockchainNodePrompt({
273535
273611
  env: env2,
273536
273612
  nodes: blockchainNodes,
@@ -273578,20 +273654,68 @@ function connectCommand() {
273578
273654
  });
273579
273655
  if (acceptDefaults) {
273580
273656
  const selectedServices = [
273581
- `Workspace: ${workspace.name} (${workspace.uniqueName})`,
273582
- `Application: ${application.name} (${application.uniqueName})`,
273583
- blockchainNode && `Blockchain Network: ${blockchainNode?.blockchainNetwork?.name} (${blockchainNode?.blockchainNetwork?.uniqueName})`,
273584
- blockchainNode && `Blockchain Node: ${blockchainNode?.name} (${blockchainNode?.uniqueName})`,
273585
- hasura && `Hasura: ${hasura?.name} (${hasura?.uniqueName})`,
273586
- thegraph && `TheGraph: ${thegraph?.name} (${thegraph?.uniqueName})`,
273587
- portal && `Portal: ${portal?.name} (${portal?.uniqueName})`,
273588
- ipfs && `IPFS: ${ipfs?.name} (${ipfs?.uniqueName})`,
273589
- minio && `MinIO: ${minio?.name} (${minio?.uniqueName})`,
273590
- hdPrivateKey && `HD Private Key: ${hdPrivateKey?.name} (${hdPrivateKey?.uniqueName})`,
273591
- cDeployment && `Custom Deployment: ${cDeployment?.name} (${cDeployment?.uniqueName})`,
273592
- blockscout && `Blockscout: ${blockscout?.name} (${blockscout?.uniqueName})`
273657
+ {
273658
+ type: "Workspace",
273659
+ name: workspace.name,
273660
+ uniqueName: workspace.uniqueName
273661
+ },
273662
+ {
273663
+ type: "Application",
273664
+ name: application.name,
273665
+ uniqueName: application.uniqueName
273666
+ },
273667
+ blockchainNode && {
273668
+ type: "Blockchain Network",
273669
+ name: blockchainNode.blockchainNetwork?.name,
273670
+ uniqueName: blockchainNode.blockchainNetwork?.uniqueName
273671
+ },
273672
+ blockchainNode && {
273673
+ type: "Blockchain Node",
273674
+ name: blockchainNode.name,
273675
+ uniqueName: blockchainNode.uniqueName
273676
+ },
273677
+ hasura && {
273678
+ type: "Hasura",
273679
+ name: hasura.name,
273680
+ uniqueName: hasura.uniqueName
273681
+ },
273682
+ thegraph && {
273683
+ type: "TheGraph",
273684
+ name: thegraph.name,
273685
+ uniqueName: thegraph.uniqueName
273686
+ },
273687
+ portal && {
273688
+ type: "Portal",
273689
+ name: portal.name,
273690
+ uniqueName: portal.uniqueName
273691
+ },
273692
+ ipfs && {
273693
+ type: "IPFS",
273694
+ name: ipfs.name,
273695
+ uniqueName: ipfs.uniqueName
273696
+ },
273697
+ minio && {
273698
+ type: "MinIO",
273699
+ name: minio.name,
273700
+ uniqueName: minio.uniqueName
273701
+ },
273702
+ hdPrivateKey && {
273703
+ type: "HD Private Key",
273704
+ name: hdPrivateKey.name,
273705
+ uniqueName: hdPrivateKey.uniqueName
273706
+ },
273707
+ cDeployment && {
273708
+ type: "Custom Deployment",
273709
+ name: cDeployment.name,
273710
+ uniqueName: cDeployment.uniqueName
273711
+ },
273712
+ blockscout && {
273713
+ type: "Blockscout",
273714
+ name: blockscout.name,
273715
+ uniqueName: blockscout.uniqueName
273716
+ }
273593
273717
  ].filter(Boolean);
273594
- list("Selected services", selectedServices);
273718
+ table("Selected services", selectedServices);
273595
273719
  }
273596
273720
  await writeEnvSpinner(!!prod, {
273597
273721
  SETTLEMINT_ACCESS_TOKEN: aatToken,
@@ -274571,17 +274695,25 @@ var SETTLEMINT_CLIENT_MAP = {
274571
274695
  "application access token": "applicationAccessToken"
274572
274696
  };
274573
274697
  var LABELS_MAP = {
274574
- application: { singular: "application", plural: "applications" },
274575
- workspace: { singular: "workspace", plural: "workspaces" },
274576
- "blockchain network": { singular: "blockchain network", plural: "blockchain networks" },
274577
- "blockchain node": { singular: "blockchain node", plural: "blockchain nodes" },
274578
- "custom deployment": { singular: "custom deployment", plural: "custom deployments" },
274579
- "private key": { singular: "private key", plural: "private keys" },
274580
- middleware: { singular: "middleware", plural: "middlewares" },
274581
- "integration tool": { singular: "integration tool", plural: "integration tools" },
274582
- storage: { singular: "storage", plural: "storage" },
274583
- insights: { singular: "insight", plural: "insights" },
274584
- "application access token": { singular: "application access token", plural: "application access tokens" }
274698
+ application: { singular: "application", plural: "applications", command: "app" },
274699
+ workspace: { singular: "workspace", plural: "workspaces", command: "workspace" },
274700
+ "blockchain network": {
274701
+ singular: "blockchain network",
274702
+ plural: "blockchain networks",
274703
+ command: "blockchain-network"
274704
+ },
274705
+ "blockchain node": { singular: "blockchain node", plural: "blockchain nodes", command: "blockchain-node" },
274706
+ "custom deployment": { singular: "custom deployment", plural: "custom deployments", command: "custom-deployment" },
274707
+ "private key": { singular: "private key", plural: "private keys", command: "private-key" },
274708
+ middleware: { singular: "middleware", plural: "middlewares", command: "middleware" },
274709
+ "integration tool": { singular: "integration tool", plural: "integration tools", command: "integration-tool" },
274710
+ storage: { singular: "storage", plural: "storage", command: "storage" },
274711
+ insights: { singular: "insight", plural: "insights", command: "insight" },
274712
+ "application access token": {
274713
+ singular: "application access token",
274714
+ plural: "application access tokens",
274715
+ command: "application-access-token"
274716
+ }
274585
274717
  };
274586
274718
 
274587
274719
  // src/commands/platform/utils/wait-for-completion.ts
@@ -274614,30 +274746,30 @@ async function waitForCompletion({
274614
274746
  const resource = await service.read(uniqueName);
274615
274747
  if (resource.status === "COMPLETED") {
274616
274748
  if (spinner2) {
274617
- spinner2.text = `${capitalizeFirstLetter(type4)} is ${getActionLabel(action)}`;
274749
+ spinner2.text = `${capitalizeFirstLetter2(type4)} is ${getActionLabel(action)}`;
274618
274750
  } else {
274619
- note(`${capitalizeFirstLetter(type4)} is ${getActionLabel(action)}`);
274751
+ note(`${capitalizeFirstLetter2(type4)} is ${getActionLabel(action)}`);
274620
274752
  }
274621
274753
  return true;
274622
274754
  }
274623
274755
  if (resource.status === "FAILED") {
274624
274756
  if (spinner2) {
274625
- spinner2.text = `${capitalizeFirstLetter(type4)} failed to ${getActionLabel(action)}`;
274757
+ spinner2.text = `${capitalizeFirstLetter2(type4)} failed to ${getActionLabel(action)}`;
274626
274758
  } else {
274627
- note(`${capitalizeFirstLetter(type4)} failed to ${getActionLabel(action)}`);
274759
+ note(`${capitalizeFirstLetter2(type4)} failed to ${getActionLabel(action)}`);
274628
274760
  }
274629
274761
  return true;
274630
274762
  }
274631
274763
  if (spinner2) {
274632
- spinner2.text = `${capitalizeFirstLetter(type4)} is not ready yet (status: ${resource.status})`;
274764
+ spinner2.text = `${capitalizeFirstLetter2(type4)} is not ready yet (status: ${resource.status})`;
274633
274765
  } else {
274634
- note(`${capitalizeFirstLetter(type4)} is not ready yet (status: ${resource.status})`);
274766
+ note(`${capitalizeFirstLetter2(type4)} is not ready yet (status: ${resource.status})`);
274635
274767
  }
274636
274768
  } catch (error5) {
274637
274769
  if (spinner2) {
274638
- spinner2.text = `${capitalizeFirstLetter(type4)} is not ready yet (status: UNKNOWN)`;
274770
+ spinner2.text = `${capitalizeFirstLetter2(type4)} is not ready yet (status: UNKNOWN)`;
274639
274771
  } else {
274640
- note(`${capitalizeFirstLetter(type4)} is not ready yet (status: UNKNOWN)`);
274772
+ note(`${capitalizeFirstLetter2(type4)} is not ready yet (status: UNKNOWN)`);
274641
274773
  }
274642
274774
  }
274643
274775
  if (Date.now() - startTime > maxTimeout) {
@@ -274652,7 +274784,7 @@ async function waitForCompletion({
274652
274784
  return await showSpinner();
274653
274785
  } catch (error5) {
274654
274786
  if (restartIfTimeout && error5 instanceof TimeoutError) {
274655
- note(`Restarting ${capitalizeFirstLetter(type4)}`);
274787
+ note(`Restarting ${capitalizeFirstLetter2(type4)}`);
274656
274788
  await service.restart(uniqueName);
274657
274789
  return showSpinner();
274658
274790
  }
@@ -274773,7 +274905,7 @@ function getCreateCommand({
274773
274905
  const showSpinner = (task) => spinner({
274774
274906
  startMessage: `Creating ${type4}`,
274775
274907
  task,
274776
- stopMessage: `${capitalizeFirstLetter(type4)} created`
274908
+ stopMessage: `${capitalizeFirstLetter2(type4)} created`
274777
274909
  });
274778
274910
  const { result, waitFor, mapDefaultEnv } = await createFunction(settlemint, env2, showSpinner);
274779
274911
  if (wait) {
@@ -274785,7 +274917,7 @@ function getCreateCommand({
274785
274917
  restartIfTimeout
274786
274918
  });
274787
274919
  if (waitFor) {
274788
- outro(`${capitalizeFirstLetter(waitFor.resourceType)} ${waitFor.name} created successfully`);
274920
+ outro(`${capitalizeFirstLetter2(waitFor.resourceType)} ${waitFor.name} created successfully`);
274789
274921
  }
274790
274922
  }
274791
274923
  if (isDefault && typeof mapDefaultEnv === "function") {
@@ -274807,9 +274939,9 @@ function getCreateCommand({
274807
274939
  newEnv.SETTLEMINT_BLOCKCHAIN_NETWORK = (await settlemint.blockchainNode.read(newEnv.SETTLEMINT_BLOCKCHAIN_NODE)).blockchainNetwork.uniqueName;
274808
274940
  }
274809
274941
  await writeEnvSpinner(!!prod, newEnv);
274810
- note(`${capitalizeFirstLetter(type4)} ${result.name} set as default`);
274942
+ note(`${capitalizeFirstLetter2(type4)} ${result.name} set as default`);
274811
274943
  }
274812
- outro(`${capitalizeFirstLetter(type4)} ${result.name} created successfully`);
274944
+ outro(`${capitalizeFirstLetter2(type4)} ${result.name} created successfully`);
274813
274945
  });
274814
274946
  return cmd2;
274815
274947
  }
@@ -276008,7 +276140,7 @@ function getDeleteCommand({
276008
276140
  task: async () => {
276009
276141
  return deleteFunction(settlemint, serviceUniqueName);
276010
276142
  },
276011
- stopMessage: `${capitalizeFirstLetter(type4)} deleted`
276143
+ stopMessage: `${capitalizeFirstLetter2(type4)} deleted`
276012
276144
  });
276013
276145
  if (isDefaultUniqueName) {
276014
276146
  const newEnv = {
@@ -276017,9 +276149,9 @@ function getDeleteCommand({
276017
276149
  ...mapDefaultEnv(env2)
276018
276150
  };
276019
276151
  await writeEnvSpinner(!!prod, newEnv);
276020
- note(`${capitalizeFirstLetter(type4)} removed as default`);
276152
+ note(`${capitalizeFirstLetter2(type4)} removed as default`);
276021
276153
  }
276022
- outro(`${capitalizeFirstLetter(type4)} ${result.name} deleted successfully`);
276154
+ outro(`${capitalizeFirstLetter2(type4)} ${result.name} deleted successfully`);
276023
276155
  });
276024
276156
  }
276025
276157
 
@@ -276102,12 +276234,12 @@ function getRestartCommand({
276102
276234
  task: async () => {
276103
276235
  return restartFunction(settlemint, serviceUniqueName);
276104
276236
  },
276105
- stopMessage: `${capitalizeFirstLetter(type4)} restart initiated`
276237
+ stopMessage: `${capitalizeFirstLetter2(type4)} restart initiated`
276106
276238
  });
276107
276239
  if (wait) {
276108
276240
  await waitForCompletion({ settlemint, type: type4, uniqueName: serviceUniqueName, action: "restart" });
276109
276241
  }
276110
- outro(`${capitalizeFirstLetter(type4)} ${result.name} restart initiated successfully`);
276242
+ outro(`${capitalizeFirstLetter2(type4)} ${result.name} restart initiated successfully`);
276111
276243
  });
276112
276244
  }
276113
276245
 
@@ -276303,21 +276435,320 @@ function configCommand() {
276303
276435
  const platformConfig = await settlemint.platform.config();
276304
276436
  const useCases = getUseCases(platformConfig);
276305
276437
  const starterkits = getStarterkits(platformConfig);
276306
- list("Templates (Starterkits)", starterkits.map((starterkit) => starterkit.id).sort());
276307
- list("Use cases (Smart Contract Sets)", useCases.map((useCase) => useCase.id).sort());
276308
- list("Providers and regions", platformConfig.deploymentEngineTargets.filter((provider) => !provider.disabled).sort((a8, b4) => a8.id.localeCompare(b4.id)).reduce((acc, provider) => {
276309
- acc.push(provider.id);
276310
- acc.push(provider.clusters.filter((cluster) => !cluster.disabled).map((region) => getRegionId(region.id)).sort());
276311
- return acc;
276312
- }, []));
276438
+ table("Templates (Starterkits)", starterkits.map((starterkit) => ({
276439
+ id: starterkit.id,
276440
+ name: starterkit.name
276441
+ })).sort((a8, b4) => a8.name.localeCompare(b4.name)));
276442
+ table("Use cases (Smart Contract Sets)", useCases.map((useCase) => ({
276443
+ id: useCase.id,
276444
+ name: useCase.name
276445
+ })).sort((a8, b4) => a8.name.localeCompare(b4.name)));
276446
+ table("Providers and regions", platformConfig.deploymentEngineTargets.filter((provider) => !provider.disabled).flatMap((provider) => provider.clusters.filter((cluster) => !cluster.disabled).map((region) => ({
276447
+ providerId: provider.id,
276448
+ regionId: getRegionId(region.id),
276449
+ providerName: provider.name,
276450
+ regionName: region.name
276451
+ }))).sort((a8, b4) => a8.providerId.localeCompare(b4.providerId) || a8.regionId.localeCompare(b4.regionId)));
276313
276452
  list("Pre-deployed abis (Smart Contract Portal)", platformConfig.preDeployedContracts.sort());
276314
276453
  outro("Platform configuration retrieved");
276315
276454
  });
276316
276455
  }
276317
276456
 
276457
+ // src/commands/platform/utils/formatting/format-service-sub-type.ts
276458
+ function formatServiceSubType(service, printToTerminal = true) {
276459
+ if ("__typename" in service && typeof service.__typename === "string") {
276460
+ return printToTerminal ? camelCaseToWords2(service.__typename) : service.__typename;
276461
+ }
276462
+ return printToTerminal ? "Unknown" : "Unknown";
276463
+ }
276464
+
276465
+ // src/spinners/applications.spinner.ts
276466
+ async function applicationsSpinner(settlemint, workspaceUniqueName) {
276467
+ return spinner({
276468
+ startMessage: "Loading your applications",
276469
+ stopMessage: "Loaded your applications",
276470
+ task: async () => {
276471
+ return settlemint.application.list(workspaceUniqueName);
276472
+ }
276473
+ });
276474
+ }
276475
+
276476
+ // src/utils/get-cluster-service-platform-url.ts
276477
+ function getClusterServicePlatformUrl(instance, application, service, serviceType) {
276478
+ return new URL(`workspaces/${encodeURIComponent(application.workspace.id)}/applications/${encodeURIComponent(application.id)}/${getUrlPathForService(service, serviceType)}`, instance).toString();
276479
+ }
276480
+ function getUrlPathForService(service, serviceType) {
276481
+ if (serviceType === "blockchain-network") {
276482
+ return `networks/${encodeURIComponent(service.id)}/details`;
276483
+ }
276484
+ if (serviceType === "blockchain-node") {
276485
+ return `nodes/${encodeURIComponent(service.id)}/details`;
276486
+ }
276487
+ if (serviceType === "middleware") {
276488
+ return `middlewares/${encodeURIComponent(service.id)}/details`;
276489
+ }
276490
+ if (serviceType === "integration-tool") {
276491
+ return `integration/${encodeURIComponent(service.id)}/details`;
276492
+ }
276493
+ if (serviceType === "private-key") {
276494
+ return `keyvault/${encodeURIComponent(service.id)}/details`;
276495
+ }
276496
+ if (serviceType === "storage") {
276497
+ return `storage/${encodeURIComponent(service.id)}/details`;
276498
+ }
276499
+ if (serviceType === "insights") {
276500
+ return `insights/${encodeURIComponent(service.id)}/details`;
276501
+ }
276502
+ return "";
276503
+ }
276504
+
276505
+ // ../../node_modules/yaml/dist/index.js
276506
+ var composer = require_composer();
276507
+ var Document = require_Document();
276508
+ var Schema = require_Schema();
276509
+ var errors2 = require_errors3();
276510
+ var Alias = require_Alias();
276511
+ var identity3 = require_identity();
276512
+ var Pair = require_Pair();
276513
+ var Scalar = require_Scalar();
276514
+ var YAMLMap = require_YAMLMap();
276515
+ var YAMLSeq = require_YAMLSeq();
276516
+ var cst = require_cst();
276517
+ var lexer = require_lexer2();
276518
+ var lineCounter = require_line_counter();
276519
+ var parser = require_parser2();
276520
+ var publicApi = require_public_api();
276521
+ var visit2 = require_visit();
276522
+ var $Composer = composer.Composer;
276523
+ var $Document = Document.Document;
276524
+ var $Schema = Schema.Schema;
276525
+ var $YAMLError = errors2.YAMLError;
276526
+ var $YAMLParseError = errors2.YAMLParseError;
276527
+ var $YAMLWarning = errors2.YAMLWarning;
276528
+ var $Alias = Alias.Alias;
276529
+ var $isAlias = identity3.isAlias;
276530
+ var $isCollection = identity3.isCollection;
276531
+ var $isDocument = identity3.isDocument;
276532
+ var $isMap = identity3.isMap;
276533
+ var $isNode = identity3.isNode;
276534
+ var $isPair = identity3.isPair;
276535
+ var $isScalar = identity3.isScalar;
276536
+ var $isSeq = identity3.isSeq;
276537
+ var $Pair = Pair.Pair;
276538
+ var $Scalar = Scalar.Scalar;
276539
+ var $YAMLMap = YAMLMap.YAMLMap;
276540
+ var $YAMLSeq = YAMLSeq.YAMLSeq;
276541
+ var $Lexer = lexer.Lexer;
276542
+ var $LineCounter = lineCounter.LineCounter;
276543
+ var $Parser = parser.Parser;
276544
+ var $parse = publicApi.parse;
276545
+ var $parseAllDocuments = publicApi.parseAllDocuments;
276546
+ var $parseDocument = publicApi.parseDocument;
276547
+ var $stringify = publicApi.stringify;
276548
+ var $visit = visit2.visit;
276549
+ var $visitAsync = visit2.visitAsync;
276550
+
276551
+ // src/commands/platform/utils/formatting/format-health-status.ts
276552
+ function formatHealthStatus(healthStatus, printToTerminal = true) {
276553
+ if (healthStatus === "HEALTHY") {
276554
+ return printToTerminal ? greenBright("Healthy") : "Healthy";
276555
+ }
276556
+ const label = `Unhealthy (${camelCaseToWords2(replaceUnderscoresAndHyphensWithSpaces(healthStatus))})`;
276557
+ return printToTerminal ? yellowBright(label) : label;
276558
+ }
276559
+
276560
+ // src/commands/platform/utils/formatting/format-status.ts
276561
+ function formatStatus(status, printToTerminal = true) {
276562
+ const label = camelCaseToWords2(status.toLowerCase());
276563
+ if (status === "FAILED") {
276564
+ return printToTerminal ? redBright(label) : label;
276565
+ }
276566
+ if (status === "PAUSED" || status === "AUTO_PAUSED" || status === "PAUSING" || status === "AUTO_PAUSING") {
276567
+ return printToTerminal ? gray(label) : label;
276568
+ }
276569
+ if (status === "COMPLETED") {
276570
+ return printToTerminal ? greenBright(label) : label;
276571
+ }
276572
+ return printToTerminal ? yellowBright(label) : label;
276573
+ }
276574
+
276575
+ // src/commands/platform/application/services.ts
276576
+ var SERVICE_TYPES = [
276577
+ "blockchain-network",
276578
+ "blockchain-node",
276579
+ "custom-deployment",
276580
+ "insights",
276581
+ "integration-tool",
276582
+ "middleware",
276583
+ "private-key",
276584
+ "storage"
276585
+ ];
276586
+ function servicesCommand() {
276587
+ return new Command("services").alias("s").description("List the application services").usage(createExamples([
276588
+ {
276589
+ description: "List the application services",
276590
+ command: "platform list services"
276591
+ },
276592
+ {
276593
+ description: "List the application services in wide format with more information (such as console url)",
276594
+ command: "platform list services -o wide"
276595
+ },
276596
+ {
276597
+ description: "List the application services in JSON format",
276598
+ command: "platform list services -o json > services.json"
276599
+ },
276600
+ {
276601
+ description: "List the application services in YAML format",
276602
+ command: "platform list services -o yaml > services.yaml"
276603
+ },
276604
+ {
276605
+ description: "List the application services for a specific application",
276606
+ command: "platform list services --application my-app"
276607
+ },
276608
+ {
276609
+ description: "List the application services for a specific application and type",
276610
+ command: "platform list services --application my-app --type middleware"
276611
+ },
276612
+ {
276613
+ description: "List the application services for multiple types",
276614
+ command: "platform list services --type blockchain-network blockchain-node middleware"
276615
+ }
276616
+ ])).option("-app, --application <application>", "The application unique name to list the services in (defaults to application from env)").addOption(new Option("-t, --type <type...>", "The type(s) of service to list").choices(SERVICE_TYPES)).addOption(new Option("-o, --output <output>", "The output format").choices(["wide", "json", "yaml"])).action(async ({ application, type: type4, output }) => {
276617
+ const printToTerminal = !output || output === "wide";
276618
+ if (printToTerminal) {
276619
+ intro("Listing application services");
276620
+ }
276621
+ const env2 = await loadEnv(false, false);
276622
+ const selectedInstance = await instancePrompt(env2, true);
276623
+ const personalAccessToken = await getInstanceCredentials(selectedInstance);
276624
+ if (!personalAccessToken) {
276625
+ return missingPersonalAccessTokenError();
276626
+ }
276627
+ const accessToken = personalAccessToken.personalAccessToken;
276628
+ const settlemint = createSettleMintClient({
276629
+ accessToken,
276630
+ instance: selectedInstance
276631
+ });
276632
+ const applicationUniqueName = application ?? env2.SETTLEMINT_APPLICATION ?? (printToTerminal ? await selectApplication(settlemint, env2) : null);
276633
+ if (!applicationUniqueName) {
276634
+ return nothingSelectedError("application");
276635
+ }
276636
+ const wide = output === "wide";
276637
+ const servicesToShow = await getServicesAndMapResults({
276638
+ instance: selectedInstance,
276639
+ settlemint,
276640
+ applicationUniqueName,
276641
+ types: type4,
276642
+ printToTerminal,
276643
+ wide
276644
+ });
276645
+ if (printToTerminal) {
276646
+ for (const service of servicesToShow) {
276647
+ table(service.label, service.items, !wide);
276648
+ }
276649
+ } else if (output === "json") {
276650
+ console.log(JSON.stringify(servicesToShow, null, 2));
276651
+ } else if (output === "yaml") {
276652
+ console.log($stringify(servicesToShow));
276653
+ }
276654
+ if (printToTerminal) {
276655
+ outro("Application services listed");
276656
+ }
276657
+ });
276658
+ }
276659
+ async function selectApplication(settlemint, env2) {
276660
+ const workspaces = await workspaceSpinner(settlemint);
276661
+ const workspace = await workspacePrompt(env2, workspaces, true);
276662
+ const applications = await applicationsSpinner(settlemint, workspace.uniqueName);
276663
+ const selectedApplication = await applicationPrompt(env2, applications, true);
276664
+ return selectedApplication.uniqueName;
276665
+ }
276666
+ async function getServicesAndMapResults({
276667
+ instance,
276668
+ settlemint,
276669
+ applicationUniqueName,
276670
+ types: types2,
276671
+ printToTerminal,
276672
+ wide
276673
+ }) {
276674
+ const application = await settlemint.application.read(applicationUniqueName);
276675
+ const services = await servicesSpinner(settlemint, applicationUniqueName, types2);
276676
+ const results = (types2 ?? SERVICE_TYPES).filter((serviceType) => !types2 || types2.includes(serviceType)).map((serviceType) => {
276677
+ const [_5, labels] = Object.entries(LABELS_MAP).find(([key2, value4]) => value4.command === serviceType) ?? [
276678
+ null,
276679
+ { plural: serviceType }
276680
+ ];
276681
+ const serviceItems = getItemsForServiceType(services, serviceType);
276682
+ if (serviceItems.length === 0 && !types2) {
276683
+ return null;
276684
+ }
276685
+ return {
276686
+ label: capitalizeFirstLetter2(labels.plural),
276687
+ items: serviceItems.map((s8) => {
276688
+ const basicFields = {
276689
+ status: formatStatus(s8.status, printToTerminal),
276690
+ healthSatus: formatHealthStatus(s8.healthStatus, printToTerminal),
276691
+ type: formatServiceSubType(s8, printToTerminal),
276692
+ provider: s8.provider,
276693
+ region: s8.region
276694
+ };
276695
+ if (wide) {
276696
+ return {
276697
+ nameAndUniqueName: `${s8.name}
276698
+ ${s8.uniqueName}`,
276699
+ url: getClusterServicePlatformUrl(instance, application, s8, serviceType),
276700
+ ...basicFields
276701
+ };
276702
+ }
276703
+ if (!printToTerminal) {
276704
+ return {
276705
+ name: s8.name,
276706
+ uniqueName: s8.uniqueName,
276707
+ ...basicFields,
276708
+ url: getClusterServicePlatformUrl(instance, application, s8, serviceType)
276709
+ };
276710
+ }
276711
+ return {
276712
+ name: s8.name,
276713
+ uniqueName: s8.uniqueName,
276714
+ ...basicFields
276715
+ };
276716
+ })
276717
+ };
276718
+ }).filter((result) => result !== null);
276719
+ return results;
276720
+ }
276721
+ function getItemsForServiceType(services, serviceType) {
276722
+ switch (serviceType) {
276723
+ case "middleware":
276724
+ return services.middlewares;
276725
+ case "integration-tool":
276726
+ return services.integrationTools;
276727
+ case "storage":
276728
+ return services.storages;
276729
+ case "private-key":
276730
+ return services.privateKeys;
276731
+ case "insights":
276732
+ return services.insights;
276733
+ case "custom-deployment":
276734
+ return services.customDeployments;
276735
+ case "blockchain-network":
276736
+ return services.blockchainNetworks;
276737
+ case "blockchain-node":
276738
+ return services.blockchainNodes;
276739
+ default:
276740
+ return [];
276741
+ }
276742
+ }
276743
+
276744
+ // src/commands/platform/list.ts
276745
+ function listCommand() {
276746
+ return new Command("list").alias("ls").description("List resources in the SettleMint platform").addCommand(servicesCommand());
276747
+ }
276748
+
276318
276749
  // src/commands/platform.ts
276319
276750
  function platformCommand() {
276320
- return new Command("platform").description("Manage SettleMint platform resources").addCommand(configCommand()).addCommand(createCommand3()).addCommand(updateCommand()).addCommand(deleteCommand()).addCommand(restartCommand());
276751
+ return new Command("platform").description("Manage SettleMint platform resources").addCommand(configCommand()).addCommand(createCommand3()).addCommand(updateCommand()).addCommand(deleteCommand()).addCommand(restartCommand()).addCommand(listCommand());
276321
276752
  }
276322
276753
 
276323
276754
  // src/commands/smart-contract-set/create.ts
@@ -276613,13 +277044,12 @@ async function selectTargetNode({
276613
277044
  } else {
276614
277045
  node = await settlemint.blockchainNode.read(nodeUniqueName);
276615
277046
  if (!node.isEvm) {
276616
- cancel2("The specified blockchain node is not an EVM blockchain node. Please specify an EVM blockchain node to continue.");
277047
+ cancel2(`The specified blockchain node '${nodeUniqueName}' is not an EVM blockchain node. Please specify an EVM blockchain node to continue.`);
276617
277048
  }
276618
277049
  }
276619
277050
  if (node.status !== "COMPLETED") {
276620
277051
  serviceNotRunningError("blockchain node", node.status);
276621
277052
  }
276622
- note(`Using blockchain node ${node.uniqueName}`);
276623
277053
  return node;
276624
277054
  }
276625
277055
 
@@ -276634,11 +277064,15 @@ async function addressPrompt({
276634
277064
  const possiblePrivateKeys = node.privateKeys?.filter((privateKey) => privateKey.privateKeyType !== "HD_ECDSA_P256") ?? [];
276635
277065
  const defaultAddress = env2.SETTLEMINT_SMART_CONTRACT_ADDRESS ?? hardhatConfig.networks?.btp?.from ?? possiblePrivateKeys[0]?.address;
276636
277066
  const defaultPossible = accept && defaultAddress;
276637
- if (defaultPossible) {
276638
- return defaultAddress;
277067
+ if (!node.privateKeys || node.privateKeys.length === 0) {
277068
+ cancel2(`No ECDSA P256 or HSM ECDSA P256 private key is activated on the node '${node.uniqueName}'. Please activate a private key on this node or specify a different node.`);
276639
277069
  }
276640
- if (possiblePrivateKeys.length === 0) {
276641
- cancel2("No ECDSA P256 or HSM ECDSA P256 private key is activated on the node to sign the transaction.");
277070
+ if (defaultPossible) {
277071
+ if (node.privateKeys.some((privateKey) => privateKey.address?.toLowerCase() === defaultAddress?.toLowerCase())) {
277072
+ return defaultAddress;
277073
+ }
277074
+ note(`Private key with address '${defaultAddress}' not activated on the node '${node.uniqueName}'.
277075
+ Please select another key or activate this key on the node and try again.`, "warn");
276642
277076
  }
276643
277077
  const address = await esm_default2({
276644
277078
  message: "Which private key do you want to deploy from?",
@@ -276654,7 +277088,6 @@ async function addressPrompt({
276654
277088
  SETTLEMINT_SMART_CONTRACT_ADDRESS: address
276655
277089
  });
276656
277090
  }
276657
- note(`Deploying from ${address}`);
276658
277091
  return address;
276659
277092
  }
276660
277093
 
@@ -276892,54 +277325,6 @@ function sanitizeName(value4, length = 35) {
276892
277325
  // src/utils/subgraph/subgraph-config.ts
276893
277326
  import { readFile as readFile7, writeFile as writeFile8 } from "node:fs/promises";
276894
277327
  import { basename as basename4, join as join11 } from "node:path";
276895
-
276896
- // ../../node_modules/yaml/dist/index.js
276897
- var composer = require_composer();
276898
- var Document = require_Document();
276899
- var Schema = require_Schema();
276900
- var errors2 = require_errors3();
276901
- var Alias = require_Alias();
276902
- var identity3 = require_identity();
276903
- var Pair = require_Pair();
276904
- var Scalar = require_Scalar();
276905
- var YAMLMap = require_YAMLMap();
276906
- var YAMLSeq = require_YAMLSeq();
276907
- var cst = require_cst();
276908
- var lexer = require_lexer2();
276909
- var lineCounter = require_line_counter();
276910
- var parser = require_parser2();
276911
- var publicApi = require_public_api();
276912
- var visit2 = require_visit();
276913
- var $Composer = composer.Composer;
276914
- var $Document = Document.Document;
276915
- var $Schema = Schema.Schema;
276916
- var $YAMLError = errors2.YAMLError;
276917
- var $YAMLParseError = errors2.YAMLParseError;
276918
- var $YAMLWarning = errors2.YAMLWarning;
276919
- var $Alias = Alias.Alias;
276920
- var $isAlias = identity3.isAlias;
276921
- var $isCollection = identity3.isCollection;
276922
- var $isDocument = identity3.isDocument;
276923
- var $isMap = identity3.isMap;
276924
- var $isNode = identity3.isNode;
276925
- var $isPair = identity3.isPair;
276926
- var $isScalar = identity3.isScalar;
276927
- var $isSeq = identity3.isSeq;
276928
- var $Pair = Pair.Pair;
276929
- var $Scalar = Scalar.Scalar;
276930
- var $YAMLMap = YAMLMap.YAMLMap;
276931
- var $YAMLSeq = YAMLSeq.YAMLSeq;
276932
- var $Lexer = lexer.Lexer;
276933
- var $LineCounter = lineCounter.LineCounter;
276934
- var $Parser = parser.Parser;
276935
- var $parse = publicApi.parse;
276936
- var $parseAllDocuments = publicApi.parseAllDocuments;
276937
- var $parseDocument = publicApi.parseDocument;
276938
- var $stringify = publicApi.stringify;
276939
- var $visit = visit2.visit;
276940
- var $visitAsync = visit2.visitAsync;
276941
-
276942
- // src/utils/subgraph/subgraph-config.ts
276943
277328
  var CONFIG_FILE_PATH = "./subgraph/subgraph.config.json";
276944
277329
  var isGenerated = (path8 = process.cwd()) => exists2(join11(path8, CONFIG_FILE_PATH));
276945
277330
  var getSubgraphYamlFile = async (path8 = process.cwd()) => {
@@ -277254,14 +277639,24 @@ function getCommandPath(command) {
277254
277639
  }
277255
277640
  return parts.join(" ");
277256
277641
  }
277642
+ function isLeafCommand(command) {
277643
+ return command.commands.length === 0;
277644
+ }
277645
+ function isJsonOrYamlOutput(command) {
277646
+ const options = command.opts();
277647
+ return typeof options.output === "string" && (options.output === "json" || options.output === "yaml");
277648
+ }
277257
277649
  function addHooksToCommand(cmd2, rootCmd) {
277258
277650
  const extendedCmd = cmd2;
277259
277651
  extendedCmd.hook("preAction", async (thisCommand) => {
277652
+ if (isLeafCommand(thisCommand) && !isJsonOrYamlOutput(thisCommand)) {
277653
+ ascii();
277654
+ }
277260
277655
  const commandPath = getCommandPath(thisCommand);
277261
277656
  rootCmd._lastCommand = thisCommand;
277262
277657
  rootCmd._lastCommand._commandPath = commandPath;
277263
277658
  }).hook("postAction", async (thisCommand) => {
277264
- if (thisCommand.commands.length === 0) {
277659
+ if (isLeafCommand(thisCommand)) {
277265
277660
  const commandPath = getCommandPath(thisCommand);
277266
277661
  if (commandPath) {
277267
277662
  await telemetry({
@@ -277308,7 +277703,6 @@ function sdkCliCommand(exitOverride = undefined) {
277308
277703
  }
277309
277704
 
277310
277705
  // src/cli.ts
277311
- ascii();
277312
277706
  sdkCliCommand();
277313
277707
 
277314
- //# debugId=19221616086277D264756E2164756E21
277708
+ //# debugId=FC7188795B75CFE264756E2164756E21