@settlemint/sdk-cli 1.1.3-prae38e267 → 1.1.3-prb2a0e155

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.
Files changed (3) hide show
  1. package/dist/cli.js +247 -698
  2. package/dist/cli.js.map +5 -19
  3. package/package.json +7 -7
package/dist/cli.js CHANGED
@@ -48070,6 +48070,7 @@ var require_re6 = __commonJS((exports, module) => {
48070
48070
  var re = exports.re = [];
48071
48071
  var safeRe = exports.safeRe = [];
48072
48072
  var src = exports.src = [];
48073
+ var safeSrc = exports.safeSrc = [];
48073
48074
  var t3 = exports.t = {};
48074
48075
  var R = 0;
48075
48076
  var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
@@ -48090,6 +48091,7 @@ var require_re6 = __commonJS((exports, module) => {
48090
48091
  debug(name, index, value2);
48091
48092
  t3[name] = index;
48092
48093
  src[index] = value2;
48094
+ safeSrc[index] = safe;
48093
48095
  re[index] = new RegExp(value2, isGlobal ? "g" : undefined);
48094
48096
  safeRe[index] = new RegExp(safe, isGlobal ? "g" : undefined);
48095
48097
  };
@@ -48180,7 +48182,7 @@ var require_identifiers6 = __commonJS((exports, module) => {
48180
48182
  var require_semver10 = __commonJS((exports, module) => {
48181
48183
  var debug = require_debug6();
48182
48184
  var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants7();
48183
- var { safeRe: re, t: t3 } = require_re6();
48185
+ var { safeRe: re, safeSrc: src, t: t3 } = require_re6();
48184
48186
  var parseOptions = require_parse_options6();
48185
48187
  var { compareIdentifiers } = require_identifiers6();
48186
48188
 
@@ -48322,7 +48324,8 @@ var require_semver10 = __commonJS((exports, module) => {
48322
48324
  throw new Error("invalid increment argument: identifier is empty");
48323
48325
  }
48324
48326
  if (identifier) {
48325
- const match2 = `-${identifier}`.match(this.options.loose ? re[t3.PRERELEASELOOSE] : re[t3.PRERELEASE]);
48327
+ const r2 = new RegExp(`^${this.options.loose ? src[t3.PRERELEASELOOSE] : src[t3.PRERELEASE]}$`);
48328
+ const match2 = `-${identifier}`.match(r2);
48326
48329
  if (!match2 || match2[1] !== identifier) {
48327
48330
  throw new Error(`invalid identifier: ${identifier}`);
48328
48331
  }
@@ -241158,8 +241161,8 @@ var require_mkdir = __commonJS((exports, module) => {
241158
241161
  return "CwdError";
241159
241162
  }
241160
241163
  }
241161
- var cGet = (cache, key3) => cache.get(normPath(key3));
241162
- var cSet = (cache, key3, val) => cache.set(normPath(key3), val);
241164
+ var cGet = (cache, key2) => cache.get(normPath(key2));
241165
+ var cSet = (cache, key2, val) => cache.set(normPath(key2), val);
241163
241166
  var checkCwd = (dir, cb) => {
241164
241167
  fs3.stat(dir, (er2, st2) => {
241165
241168
  if (er2 || !st2.isDirectory()) {
@@ -241530,8 +241533,8 @@ var require_unpack = __commonJS((exports, module) => {
241530
241533
  }
241531
241534
  };
241532
241535
  var dropCache = (cache) => {
241533
- for (const key3 of cache.keys()) {
241534
- cache.delete(key3);
241536
+ for (const key2 of cache.keys()) {
241537
+ cache.delete(key2);
241535
241538
  }
241536
241539
  };
241537
241540
 
@@ -246328,8 +246331,8 @@ var require_lib13 = __commonJS((exports, module) => {
246328
246331
  function fetch2(input, options) {
246329
246332
  return nodeFetch.fetch(input, options);
246330
246333
  }
246331
- for (const key3 in nodeFetch) {
246332
- fetch2[key3] = nodeFetch[key3];
246334
+ for (const key2 in nodeFetch) {
246335
+ fetch2[key2] = nodeFetch[key2];
246333
246336
  }
246334
246337
  module.exports = fetch2;
246335
246338
  });
@@ -246422,11 +246425,11 @@ var require_proxy = __commonJS((exports) => {
246422
246425
  return hasRequiredSymbols$4 || (hasRequiredSymbols$4 = 1, symbols$4 = { kClose: Symbol("close"), kDestroy: Symbol("destroy"), kDispatch: Symbol("dispatch"), kUrl: Symbol("url"), kWriting: Symbol("writing"), kResuming: Symbol("resuming"), kQueue: Symbol("queue"), kConnect: Symbol("connect"), kConnecting: Symbol("connecting"), kKeepAliveDefaultTimeout: Symbol("default keep alive timeout"), kKeepAliveMaxTimeout: Symbol("max keep alive timeout"), kKeepAliveTimeoutThreshold: Symbol("keep alive timeout threshold"), kKeepAliveTimeoutValue: Symbol("keep alive timeout"), kKeepAlive: Symbol("keep alive"), kHeadersTimeout: Symbol("headers timeout"), kBodyTimeout: Symbol("body timeout"), kServerName: Symbol("server name"), kLocalAddress: Symbol("local address"), kHost: Symbol("host"), kNoRef: Symbol("no ref"), kBodyUsed: Symbol("used"), kBody: Symbol("abstracted request body"), kRunning: Symbol("running"), kBlocking: Symbol("blocking"), kPending: Symbol("pending"), kSize: Symbol("size"), kBusy: Symbol("busy"), kQueued: Symbol("queued"), kFree: Symbol("free"), kConnected: Symbol("connected"), kClosed: Symbol("closed"), kNeedDrain: Symbol("need drain"), kReset: Symbol("reset"), kDestroyed: Symbol.for("nodejs.stream.destroyed"), kResume: Symbol("resume"), kOnError: Symbol("on error"), kMaxHeadersSize: Symbol("max headers size"), kRunningIdx: Symbol("running index"), kPendingIdx: Symbol("pending index"), kError: Symbol("error"), kClients: Symbol("clients"), kClient: Symbol("client"), kParser: Symbol("parser"), kOnDestroyed: Symbol("destroy callbacks"), kPipelining: Symbol("pipelining"), kSocket: Symbol("socket"), kHostHeader: Symbol("host header"), kConnector: Symbol("connector"), kStrictContentLength: Symbol("strict content length"), kMaxRedirections: Symbol("maxRedirections"), kMaxRequests: Symbol("maxRequestsPerClient"), kProxy: Symbol("proxy agent options"), kCounter: Symbol("socket request counter"), kInterceptors: Symbol("dispatch interceptors"), kMaxResponseSize: Symbol("max response size"), kHTTP2Session: Symbol("http2Session"), kHTTP2SessionState: Symbol("http2Session state"), kRetryHandlerDefaultRetry: Symbol("retry agent default retry"), kConstruct: Symbol("constructable"), kListeners: Symbol("listeners"), kHTTPContext: Symbol("http context"), kMaxConcurrentStreams: Symbol("max concurrent streams"), kNoProxyAgent: Symbol("no proxy agent"), kHttpProxyAgent: Symbol("http proxy agent"), kHttpsProxyAgent: Symbol("https proxy agent") }), symbols$4;
246423
246426
  }
246424
246427
  e10(requireSymbols$4, "requireSymbols$4");
246425
- var errors3;
246428
+ var errors2;
246426
246429
  var hasRequiredErrors;
246427
246430
  function requireErrors() {
246428
246431
  if (hasRequiredErrors)
246429
- return errors3;
246432
+ return errors2;
246430
246433
  hasRequiredErrors = 1;
246431
246434
 
246432
246435
  class A5 extends Error {
@@ -246635,7 +246638,7 @@ var require_proxy = __commonJS((exports) => {
246635
246638
  super(i6, { cause: k5, ...F3 ?? {} }), this.name = "SecureProxyConnectionError", this.message = i6 || "Secure Proxy Connection failed", this.code = "UND_ERR_PRX_TLS", this.cause = k5;
246636
246639
  }
246637
246640
  }
246638
- return errors3 = { AbortError: Q4, HTTPParserError: Y4, UndiciError: A5, HeadersTimeoutError: c3, HeadersOverflowError: E6, BodyTimeoutError: t8, RequestContentLengthMismatchError: r6, ConnectTimeoutError: p6, ResponseStatusCodeError: B4, InvalidArgumentError: f6, InvalidReturnValueError: l3, RequestAbortedError: u6, ClientDestroyedError: a7, ClientClosedError: g6, InformationalError: n6, SocketError: d6, NotSupportedError: N6, ResponseContentLengthMismatchError: o8, BalancedPoolMissingUpstreamError: M5, ResponseExceededMaxSizeError: J4, RequestRetryError: V5, ResponseError: H4, SecureProxyConnectionError: h7 }, errors3;
246641
+ return errors2 = { AbortError: Q4, HTTPParserError: Y4, UndiciError: A5, HeadersTimeoutError: c3, HeadersOverflowError: E6, BodyTimeoutError: t8, RequestContentLengthMismatchError: r6, ConnectTimeoutError: p6, ResponseStatusCodeError: B4, InvalidArgumentError: f6, InvalidReturnValueError: l3, RequestAbortedError: u6, ClientDestroyedError: a7, ClientClosedError: g6, InformationalError: n6, SocketError: d6, NotSupportedError: N6, ResponseContentLengthMismatchError: o8, BalancedPoolMissingUpstreamError: M5, ResponseExceededMaxSizeError: J4, RequestRetryError: V5, ResponseError: H4, SecureProxyConnectionError: h7 }, errors2;
246639
246642
  }
246640
246643
  e10(requireErrors, "requireErrors");
246641
246644
  var constants$4;
@@ -256608,11 +256611,11 @@ var require_visit = __commonJS((exports) => {
256608
256611
  visit2.BREAK = BREAK;
256609
256612
  visit2.SKIP = SKIP;
256610
256613
  visit2.REMOVE = REMOVE;
256611
- function visit_(key3, node, visitor, path5) {
256612
- const ctrl = callVisitor(key3, node, visitor, path5);
256614
+ function visit_(key2, node, visitor, path5) {
256615
+ const ctrl = callVisitor(key2, node, visitor, path5);
256613
256616
  if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
256614
- replaceNode(key3, path5, ctrl);
256615
- return visit_(key3, ctrl, visitor, path5);
256617
+ replaceNode(key2, path5, ctrl);
256618
+ return visit_(key2, ctrl, visitor, path5);
256616
256619
  }
256617
256620
  if (typeof ctrl !== "symbol") {
256618
256621
  if (identity2.isCollection(node)) {
@@ -256656,11 +256659,11 @@ var require_visit = __commonJS((exports) => {
256656
256659
  visitAsync.BREAK = BREAK;
256657
256660
  visitAsync.SKIP = SKIP;
256658
256661
  visitAsync.REMOVE = REMOVE;
256659
- async function visitAsync_(key3, node, visitor, path5) {
256660
- const ctrl = await callVisitor(key3, node, visitor, path5);
256662
+ async function visitAsync_(key2, node, visitor, path5) {
256663
+ const ctrl = await callVisitor(key2, node, visitor, path5);
256661
256664
  if (identity2.isNode(ctrl) || identity2.isPair(ctrl)) {
256662
- replaceNode(key3, path5, ctrl);
256663
- return visitAsync_(key3, ctrl, visitor, path5);
256665
+ replaceNode(key2, path5, ctrl);
256666
+ return visitAsync_(key2, ctrl, visitor, path5);
256664
256667
  }
256665
256668
  if (typeof ctrl !== "symbol") {
256666
256669
  if (identity2.isCollection(node)) {
@@ -256710,27 +256713,27 @@ var require_visit = __commonJS((exports) => {
256710
256713
  }
256711
256714
  return visitor;
256712
256715
  }
256713
- function callVisitor(key3, node, visitor, path5) {
256716
+ function callVisitor(key2, node, visitor, path5) {
256714
256717
  if (typeof visitor === "function")
256715
- return visitor(key3, node, path5);
256718
+ return visitor(key2, node, path5);
256716
256719
  if (identity2.isMap(node))
256717
- return visitor.Map?.(key3, node, path5);
256720
+ return visitor.Map?.(key2, node, path5);
256718
256721
  if (identity2.isSeq(node))
256719
- return visitor.Seq?.(key3, node, path5);
256722
+ return visitor.Seq?.(key2, node, path5);
256720
256723
  if (identity2.isPair(node))
256721
- return visitor.Pair?.(key3, node, path5);
256724
+ return visitor.Pair?.(key2, node, path5);
256722
256725
  if (identity2.isScalar(node))
256723
- return visitor.Scalar?.(key3, node, path5);
256726
+ return visitor.Scalar?.(key2, node, path5);
256724
256727
  if (identity2.isAlias(node))
256725
- return visitor.Alias?.(key3, node, path5);
256728
+ return visitor.Alias?.(key2, node, path5);
256726
256729
  return;
256727
256730
  }
256728
- function replaceNode(key3, path5, node) {
256731
+ function replaceNode(key2, path5, node) {
256729
256732
  const parent = path5[path5.length - 1];
256730
256733
  if (identity2.isCollection(parent)) {
256731
- parent.items[key3] = node;
256734
+ parent.items[key2] = node;
256732
256735
  } else if (identity2.isPair(parent)) {
256733
- if (key3 === "key")
256736
+ if (key2 === "key")
256734
256737
  parent.key = node;
256735
256738
  else
256736
256739
  parent.value = node;
@@ -256962,7 +256965,7 @@ var require_anchors = __commonJS((exports) => {
256962
256965
 
256963
256966
  // ../../node_modules/yaml/dist/doc/applyReviver.js
256964
256967
  var require_applyReviver = __commonJS((exports) => {
256965
- function applyReviver(reviver, obj, key3, val) {
256968
+ function applyReviver(reviver, obj, key2, val) {
256966
256969
  if (val && typeof val === "object") {
256967
256970
  if (Array.isArray(val)) {
256968
256971
  for (let i6 = 0, len = val.length;i6 < len; ++i6) {
@@ -257002,7 +257005,7 @@ var require_applyReviver = __commonJS((exports) => {
257002
257005
  }
257003
257006
  }
257004
257007
  }
257005
- return reviver.call(obj, key3, val);
257008
+ return reviver.call(obj, key2, val);
257006
257009
  }
257007
257010
  exports.applyReviver = applyReviver;
257008
257011
  });
@@ -257320,29 +257323,29 @@ var require_Collection = __commonJS((exports) => {
257320
257323
  if (isEmptyPath(path5))
257321
257324
  this.add(value4);
257322
257325
  else {
257323
- const [key3, ...rest] = path5;
257324
- const node = this.get(key3, true);
257326
+ const [key2, ...rest] = path5;
257327
+ const node = this.get(key2, true);
257325
257328
  if (identity2.isCollection(node))
257326
257329
  node.addIn(rest, value4);
257327
257330
  else if (node === undefined && this.schema)
257328
- this.set(key3, collectionFromPath(this.schema, rest, value4));
257331
+ this.set(key2, collectionFromPath(this.schema, rest, value4));
257329
257332
  else
257330
- throw new Error(`Expected YAML collection at ${key3}. Remaining path: ${rest}`);
257333
+ throw new Error(`Expected YAML collection at ${key2}. Remaining path: ${rest}`);
257331
257334
  }
257332
257335
  }
257333
257336
  deleteIn(path5) {
257334
- const [key3, ...rest] = path5;
257337
+ const [key2, ...rest] = path5;
257335
257338
  if (rest.length === 0)
257336
- return this.delete(key3);
257337
- const node = this.get(key3, true);
257339
+ return this.delete(key2);
257340
+ const node = this.get(key2, true);
257338
257341
  if (identity2.isCollection(node))
257339
257342
  return node.deleteIn(rest);
257340
257343
  else
257341
- throw new Error(`Expected YAML collection at ${key3}. Remaining path: ${rest}`);
257344
+ throw new Error(`Expected YAML collection at ${key2}. Remaining path: ${rest}`);
257342
257345
  }
257343
257346
  getIn(path5, keepScalar) {
257344
- const [key3, ...rest] = path5;
257345
- const node = this.get(key3, true);
257347
+ const [key2, ...rest] = path5;
257348
+ const node = this.get(key2, true);
257346
257349
  if (rest.length === 0)
257347
257350
  return !keepScalar && identity2.isScalar(node) ? node.value : node;
257348
257351
  else
@@ -257357,24 +257360,24 @@ var require_Collection = __commonJS((exports) => {
257357
257360
  });
257358
257361
  }
257359
257362
  hasIn(path5) {
257360
- const [key3, ...rest] = path5;
257363
+ const [key2, ...rest] = path5;
257361
257364
  if (rest.length === 0)
257362
- return this.has(key3);
257363
- const node = this.get(key3, true);
257365
+ return this.has(key2);
257366
+ const node = this.get(key2, true);
257364
257367
  return identity2.isCollection(node) ? node.hasIn(rest) : false;
257365
257368
  }
257366
257369
  setIn(path5, value4) {
257367
- const [key3, ...rest] = path5;
257370
+ const [key2, ...rest] = path5;
257368
257371
  if (rest.length === 0) {
257369
- this.set(key3, value4);
257372
+ this.set(key2, value4);
257370
257373
  } else {
257371
- const node = this.get(key3, true);
257374
+ const node = this.get(key2, true);
257372
257375
  if (identity2.isCollection(node))
257373
257376
  node.setIn(rest, value4);
257374
257377
  else if (node === undefined && this.schema)
257375
- this.set(key3, collectionFromPath(this.schema, rest, value4));
257378
+ this.set(key2, collectionFromPath(this.schema, rest, value4));
257376
257379
  else
257377
- throw new Error(`Expected YAML collection at ${key3}. Remaining path: ${rest}`);
257380
+ throw new Error(`Expected YAML collection at ${key2}. Remaining path: ${rest}`);
257378
257381
  }
257379
257382
  }
257380
257383
  }
@@ -257962,19 +257965,19 @@ var require_stringifyPair = __commonJS((exports) => {
257962
257965
  var Scalar = require_Scalar();
257963
257966
  var stringify3 = require_stringify();
257964
257967
  var stringifyComment = require_stringifyComment();
257965
- function stringifyPair2({ key: key3, value: value4 }, ctx, onComment, onChompKeep) {
257968
+ function stringifyPair2({ key: key2, value: value4 }, ctx, onComment, onChompKeep) {
257966
257969
  const { allNullValues, doc, indent: indent2, indentStep, options: { commentString, indentSeq, simpleKeys } } = ctx;
257967
- let keyComment = identity2.isNode(key3) && key3.comment || null;
257970
+ let keyComment = identity2.isNode(key2) && key2.comment || null;
257968
257971
  if (simpleKeys) {
257969
257972
  if (keyComment) {
257970
257973
  throw new Error("With simple keys, key nodes cannot have comments");
257971
257974
  }
257972
- if (identity2.isCollection(key3) || !identity2.isNode(key3) && typeof key3 === "object") {
257975
+ if (identity2.isCollection(key2) || !identity2.isNode(key2) && typeof key2 === "object") {
257973
257976
  const msg = "With simple keys, collection cannot be used as a key value";
257974
257977
  throw new Error(msg);
257975
257978
  }
257976
257979
  }
257977
- let explicitKey = !simpleKeys && (!key3 || keyComment && value4 == null && !ctx.inFlow || identity2.isCollection(key3) || (identity2.isScalar(key3) ? key3.type === Scalar.Scalar.BLOCK_FOLDED || key3.type === Scalar.Scalar.BLOCK_LITERAL : typeof key3 === "object"));
257980
+ let explicitKey = !simpleKeys && (!key2 || keyComment && value4 == null && !ctx.inFlow || identity2.isCollection(key2) || (identity2.isScalar(key2) ? key2.type === Scalar.Scalar.BLOCK_FOLDED || key2.type === Scalar.Scalar.BLOCK_LITERAL : typeof key2 === "object"));
257978
257981
  ctx = Object.assign({}, ctx, {
257979
257982
  allNullValues: false,
257980
257983
  implicitKey: !explicitKey && (simpleKeys || !allNullValues),
@@ -257982,7 +257985,7 @@ var require_stringifyPair = __commonJS((exports) => {
257982
257985
  });
257983
257986
  let keyCommentDone = false;
257984
257987
  let chompKeep = false;
257985
- let str = stringify3.stringify(key3, ctx, () => keyCommentDone = true, () => chompKeep = true);
257988
+ let str = stringify3.stringify(key2, ctx, () => keyCommentDone = true, () => chompKeep = true);
257986
257989
  if (!explicitKey && !ctx.inFlow && str.length > 1024) {
257987
257990
  if (simpleKeys)
257988
257991
  throw new Error("With simple keys, single line scalar must not span more than 1024 characters");
@@ -258126,7 +258129,7 @@ var require_merge = __commonJS((exports) => {
258126
258129
  }),
258127
258130
  stringify: () => MERGE_KEY
258128
258131
  };
258129
- var isMergeKey = (ctx, key3) => (merge3.identify(key3) || identity2.isScalar(key3) && (!key3.type || key3.type === Scalar.Scalar.PLAIN) && merge3.identify(key3.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge3.tag && tag.default);
258132
+ var isMergeKey = (ctx, key2) => (merge3.identify(key2) || identity2.isScalar(key2) && (!key2.type || key2.type === Scalar.Scalar.PLAIN) && merge3.identify(key2.value)) && ctx?.doc.schema.tags.some((tag) => tag.tag === merge3.tag && tag.default);
258130
258133
  function addMergeToJSMap(ctx, map3, value4) {
258131
258134
  value4 = ctx && identity2.isAlias(value4) ? value4.resolve(ctx.doc) : value4;
258132
258135
  if (identity2.isSeq(value4))
@@ -258143,14 +258146,14 @@ var require_merge = __commonJS((exports) => {
258143
258146
  if (!identity2.isMap(source))
258144
258147
  throw new Error("Merge sources must be maps or map aliases");
258145
258148
  const srcMap = source.toJSON(null, ctx, Map);
258146
- for (const [key3, value5] of srcMap) {
258149
+ for (const [key2, value5] of srcMap) {
258147
258150
  if (map3 instanceof Map) {
258148
- if (!map3.has(key3))
258149
- map3.set(key3, value5);
258151
+ if (!map3.has(key2))
258152
+ map3.set(key2, value5);
258150
258153
  } else if (map3 instanceof Set) {
258151
- map3.add(key3);
258152
- } else if (!Object.prototype.hasOwnProperty.call(map3, key3)) {
258153
- Object.defineProperty(map3, key3, {
258154
+ map3.add(key2);
258155
+ } else if (!Object.prototype.hasOwnProperty.call(map3, key2)) {
258156
+ Object.defineProperty(map3, key2, {
258154
258157
  value: value5,
258155
258158
  writable: true,
258156
258159
  enumerable: true,
@@ -258172,19 +258175,19 @@ var require_addPairToJSMap = __commonJS((exports) => {
258172
258175
  var stringify3 = require_stringify();
258173
258176
  var identity2 = require_identity();
258174
258177
  var toJS = require_toJS();
258175
- function addPairToJSMap(ctx, map3, { key: key3, value: value4 }) {
258176
- if (identity2.isNode(key3) && key3.addToJSMap)
258177
- key3.addToJSMap(ctx, map3, value4);
258178
- else if (merge3.isMergeKey(ctx, key3))
258178
+ function addPairToJSMap(ctx, map3, { key: key2, value: value4 }) {
258179
+ if (identity2.isNode(key2) && key2.addToJSMap)
258180
+ key2.addToJSMap(ctx, map3, value4);
258181
+ else if (merge3.isMergeKey(ctx, key2))
258179
258182
  merge3.addMergeToJSMap(ctx, map3, value4);
258180
258183
  else {
258181
- const jsKey = toJS.toJS(key3, "", ctx);
258184
+ const jsKey = toJS.toJS(key2, "", ctx);
258182
258185
  if (map3 instanceof Map) {
258183
258186
  map3.set(jsKey, toJS.toJS(value4, jsKey, ctx));
258184
258187
  } else if (map3 instanceof Set) {
258185
258188
  map3.add(jsKey);
258186
258189
  } else {
258187
- const stringKey = stringifyKey(key3, jsKey, ctx);
258190
+ const stringKey = stringifyKey(key2, jsKey, ctx);
258188
258191
  const jsValue = toJS.toJS(value4, stringKey, ctx);
258189
258192
  if (stringKey in map3)
258190
258193
  Object.defineProperty(map3, stringKey, {
@@ -258199,19 +258202,19 @@ var require_addPairToJSMap = __commonJS((exports) => {
258199
258202
  }
258200
258203
  return map3;
258201
258204
  }
258202
- function stringifyKey(key3, jsKey, ctx) {
258205
+ function stringifyKey(key2, jsKey, ctx) {
258203
258206
  if (jsKey === null)
258204
258207
  return "";
258205
258208
  if (typeof jsKey !== "object")
258206
258209
  return String(jsKey);
258207
- if (identity2.isNode(key3) && ctx?.doc) {
258210
+ if (identity2.isNode(key2) && ctx?.doc) {
258208
258211
  const strCtx = stringify3.createStringifyContext(ctx.doc, {});
258209
258212
  strCtx.anchors = new Set;
258210
258213
  for (const node of ctx.anchors.keys())
258211
258214
  strCtx.anchors.add(node.anchor);
258212
258215
  strCtx.inFlow = true;
258213
258216
  strCtx.inStringifyKey = true;
258214
- const strKey = key3.toString(strCtx);
258217
+ const strKey = key2.toString(strCtx);
258215
258218
  if (!ctx.mapKeyWarned) {
258216
258219
  let jsonStr = JSON.stringify(strKey);
258217
258220
  if (jsonStr.length > 40)
@@ -258232,25 +258235,25 @@ var require_Pair = __commonJS((exports) => {
258232
258235
  var stringifyPair2 = require_stringifyPair();
258233
258236
  var addPairToJSMap = require_addPairToJSMap();
258234
258237
  var identity2 = require_identity();
258235
- function createPair(key3, value4, ctx) {
258236
- const k5 = createNode.createNode(key3, undefined, ctx);
258238
+ function createPair(key2, value4, ctx) {
258239
+ const k5 = createNode.createNode(key2, undefined, ctx);
258237
258240
  const v7 = createNode.createNode(value4, undefined, ctx);
258238
258241
  return new Pair(k5, v7);
258239
258242
  }
258240
258243
 
258241
258244
  class Pair {
258242
- constructor(key3, value4 = null) {
258245
+ constructor(key2, value4 = null) {
258243
258246
  Object.defineProperty(this, identity2.NODE_TYPE, { value: identity2.PAIR });
258244
- this.key = key3;
258247
+ this.key = key2;
258245
258248
  this.value = value4;
258246
258249
  }
258247
258250
  clone(schema) {
258248
- let { key: key3, value: value4 } = this;
258249
- if (identity2.isNode(key3))
258250
- key3 = key3.clone(schema);
258251
+ let { key: key2, value: value4 } = this;
258252
+ if (identity2.isNode(key2))
258253
+ key2 = key2.clone(schema);
258251
258254
  if (identity2.isNode(value4))
258252
258255
  value4 = value4.clone(schema);
258253
- return new Pair(key3, value4);
258256
+ return new Pair(key2, value4);
258254
258257
  }
258255
258258
  toJSON(_5, ctx) {
258256
258259
  const pair = ctx?.mapAsMap ? new Map : {};
@@ -258417,11 +258420,11 @@ var require_YAMLMap = __commonJS((exports) => {
258417
258420
  var identity2 = require_identity();
258418
258421
  var Pair = require_Pair();
258419
258422
  var Scalar = require_Scalar();
258420
- function findPair(items, key3) {
258421
- const k5 = identity2.isScalar(key3) ? key3.value : key3;
258423
+ function findPair(items, key2) {
258424
+ const k5 = identity2.isScalar(key2) ? key2.value : key2;
258422
258425
  for (const it2 of items) {
258423
258426
  if (identity2.isPair(it2)) {
258424
- if (it2.key === key3 || it2.key === k5)
258427
+ if (it2.key === key2 || it2.key === k5)
258425
258428
  return it2;
258426
258429
  if (identity2.isScalar(it2.key) && it2.key.value === k5)
258427
258430
  return it2;
@@ -258441,20 +258444,20 @@ var require_YAMLMap = __commonJS((exports) => {
258441
258444
  static from(schema, obj, ctx) {
258442
258445
  const { keepUndefined, replacer } = ctx;
258443
258446
  const map3 = new this(schema);
258444
- const add = (key3, value4) => {
258447
+ const add = (key2, value4) => {
258445
258448
  if (typeof replacer === "function")
258446
- value4 = replacer.call(obj, key3, value4);
258447
- else if (Array.isArray(replacer) && !replacer.includes(key3))
258449
+ value4 = replacer.call(obj, key2, value4);
258450
+ else if (Array.isArray(replacer) && !replacer.includes(key2))
258448
258451
  return;
258449
258452
  if (value4 !== undefined || keepUndefined)
258450
- map3.items.push(Pair.createPair(key3, value4, ctx));
258453
+ map3.items.push(Pair.createPair(key2, value4, ctx));
258451
258454
  };
258452
258455
  if (obj instanceof Map) {
258453
- for (const [key3, value4] of obj)
258454
- add(key3, value4);
258456
+ for (const [key2, value4] of obj)
258457
+ add(key2, value4);
258455
258458
  } else if (obj && typeof obj === "object") {
258456
- for (const key3 of Object.keys(obj))
258457
- add(key3, obj[key3]);
258459
+ for (const key2 of Object.keys(obj))
258460
+ add(key2, obj[key2]);
258458
258461
  }
258459
258462
  if (typeof schema.sortMapEntries === "function") {
258460
258463
  map3.items.sort(schema.sortMapEntries);
@@ -258488,23 +258491,23 @@ var require_YAMLMap = __commonJS((exports) => {
258488
258491
  this.items.push(_pair);
258489
258492
  }
258490
258493
  }
258491
- delete(key3) {
258492
- const it2 = findPair(this.items, key3);
258494
+ delete(key2) {
258495
+ const it2 = findPair(this.items, key2);
258493
258496
  if (!it2)
258494
258497
  return false;
258495
258498
  const del = this.items.splice(this.items.indexOf(it2), 1);
258496
258499
  return del.length > 0;
258497
258500
  }
258498
- get(key3, keepScalar) {
258499
- const it2 = findPair(this.items, key3);
258501
+ get(key2, keepScalar) {
258502
+ const it2 = findPair(this.items, key2);
258500
258503
  const node = it2?.value;
258501
258504
  return (!keepScalar && identity2.isScalar(node) ? node.value : node) ?? undefined;
258502
258505
  }
258503
- has(key3) {
258504
- return !!findPair(this.items, key3);
258506
+ has(key2) {
258507
+ return !!findPair(this.items, key2);
258505
258508
  }
258506
- set(key3, value4) {
258507
- this.add(new Pair.Pair(key3, value4), true);
258509
+ set(key2, value4) {
258510
+ this.add(new Pair.Pair(key2, value4), true);
258508
258511
  }
258509
258512
  toJSON(_5, ctx, Type) {
258510
258513
  const map3 = Type ? new Type : ctx?.mapAsMap ? new Map : {};
@@ -258575,28 +258578,28 @@ var require_YAMLSeq = __commonJS((exports) => {
258575
258578
  add(value4) {
258576
258579
  this.items.push(value4);
258577
258580
  }
258578
- delete(key3) {
258579
- const idx = asItemIndex(key3);
258581
+ delete(key2) {
258582
+ const idx = asItemIndex(key2);
258580
258583
  if (typeof idx !== "number")
258581
258584
  return false;
258582
258585
  const del = this.items.splice(idx, 1);
258583
258586
  return del.length > 0;
258584
258587
  }
258585
- get(key3, keepScalar) {
258586
- const idx = asItemIndex(key3);
258588
+ get(key2, keepScalar) {
258589
+ const idx = asItemIndex(key2);
258587
258590
  if (typeof idx !== "number")
258588
258591
  return;
258589
258592
  const it2 = this.items[idx];
258590
258593
  return !keepScalar && identity2.isScalar(it2) ? it2.value : it2;
258591
258594
  }
258592
- has(key3) {
258593
- const idx = asItemIndex(key3);
258595
+ has(key2) {
258596
+ const idx = asItemIndex(key2);
258594
258597
  return typeof idx === "number" && idx < this.items.length;
258595
258598
  }
258596
- set(key3, value4) {
258597
- const idx = asItemIndex(key3);
258599
+ set(key2, value4) {
258600
+ const idx = asItemIndex(key2);
258598
258601
  if (typeof idx !== "number")
258599
- throw new Error(`Expected a valid index, not ${key3}.`);
258602
+ throw new Error(`Expected a valid index, not ${key2}.`);
258600
258603
  const prev = this.items[idx];
258601
258604
  if (identity2.isScalar(prev) && Scalar.isScalarValue(value4))
258602
258605
  prev.value = value4;
@@ -258630,8 +258633,8 @@ var require_YAMLSeq = __commonJS((exports) => {
258630
258633
  let i6 = 0;
258631
258634
  for (let it2 of obj) {
258632
258635
  if (typeof replacer === "function") {
258633
- const key3 = obj instanceof Set ? it2 : String(i6++);
258634
- it2 = replacer.call(obj, key3, it2);
258636
+ const key2 = obj instanceof Set ? it2 : String(i6++);
258637
+ it2 = replacer.call(obj, key2, it2);
258635
258638
  }
258636
258639
  seq.items.push(createNode.createNode(it2, undefined, ctx));
258637
258640
  }
@@ -258639,8 +258642,8 @@ var require_YAMLSeq = __commonJS((exports) => {
258639
258642
  return seq;
258640
258643
  }
258641
258644
  }
258642
- function asItemIndex(key3) {
258643
- let idx = identity2.isScalar(key3) ? key3.value : key3;
258645
+ function asItemIndex(key2) {
258646
+ let idx = identity2.isScalar(key2) ? key2.value : key2;
258644
258647
  if (idx && typeof idx === "string")
258645
258648
  idx = Number(idx);
258646
258649
  return typeof idx === "number" && Number.isInteger(idx) && idx >= 0 ? idx : null;
@@ -259012,25 +259015,25 @@ ${cn.comment}` : item.comment;
259012
259015
  for (let it2 of iterable) {
259013
259016
  if (typeof replacer === "function")
259014
259017
  it2 = replacer.call(iterable, String(i6++), it2);
259015
- let key3, value4;
259018
+ let key2, value4;
259016
259019
  if (Array.isArray(it2)) {
259017
259020
  if (it2.length === 2) {
259018
- key3 = it2[0];
259021
+ key2 = it2[0];
259019
259022
  value4 = it2[1];
259020
259023
  } else
259021
259024
  throw new TypeError(`Expected [key, value] tuple: ${it2}`);
259022
259025
  } else if (it2 && it2 instanceof Object) {
259023
259026
  const keys = Object.keys(it2);
259024
259027
  if (keys.length === 1) {
259025
- key3 = keys[0];
259026
- value4 = it2[key3];
259028
+ key2 = keys[0];
259029
+ value4 = it2[key2];
259027
259030
  } else {
259028
259031
  throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);
259029
259032
  }
259030
259033
  } else {
259031
- key3 = it2;
259034
+ key2 = it2;
259032
259035
  }
259033
- pairs2.items.push(Pair.createPair(key3, value4, ctx));
259036
+ pairs2.items.push(Pair.createPair(key2, value4, ctx));
259034
259037
  }
259035
259038
  return pairs2;
259036
259039
  }
@@ -259071,16 +259074,16 @@ var require_omap = __commonJS((exports) => {
259071
259074
  if (ctx?.onCreate)
259072
259075
  ctx.onCreate(map3);
259073
259076
  for (const pair of this.items) {
259074
- let key3, value4;
259077
+ let key2, value4;
259075
259078
  if (identity2.isPair(pair)) {
259076
- key3 = toJS.toJS(pair.key, "", ctx);
259077
- value4 = toJS.toJS(pair.value, key3, ctx);
259079
+ key2 = toJS.toJS(pair.key, "", ctx);
259080
+ value4 = toJS.toJS(pair.value, key2, ctx);
259078
259081
  } else {
259079
- key3 = toJS.toJS(pair, "", ctx);
259082
+ key2 = toJS.toJS(pair, "", ctx);
259080
259083
  }
259081
- if (map3.has(key3))
259084
+ if (map3.has(key2))
259082
259085
  throw new Error("Ordered maps must not include duplicate keys");
259083
- map3.set(key3, value4);
259086
+ map3.set(key2, value4);
259084
259087
  }
259085
259088
  return map3;
259086
259089
  }
@@ -259101,12 +259104,12 @@ var require_omap = __commonJS((exports) => {
259101
259104
  resolve(seq, onError) {
259102
259105
  const pairs$1 = pairs.resolvePairs(seq, onError);
259103
259106
  const seenKeys = [];
259104
- for (const { key: key3 } of pairs$1.items) {
259105
- if (identity2.isScalar(key3)) {
259106
- if (seenKeys.includes(key3.value)) {
259107
- onError(`Ordered maps must not include duplicate keys: ${key3.value}`);
259107
+ for (const { key: key2 } of pairs$1.items) {
259108
+ if (identity2.isScalar(key2)) {
259109
+ if (seenKeys.includes(key2.value)) {
259110
+ onError(`Ordered maps must not include duplicate keys: ${key2.value}`);
259108
259111
  } else {
259109
- seenKeys.push(key3.value);
259112
+ seenKeys.push(key2.value);
259110
259113
  }
259111
259114
  }
259112
259115
  }
@@ -259280,30 +259283,30 @@ var require_set = __commonJS((exports) => {
259280
259283
  super(schema);
259281
259284
  this.tag = YAMLSet.tag;
259282
259285
  }
259283
- add(key3) {
259286
+ add(key2) {
259284
259287
  let pair;
259285
- if (identity2.isPair(key3))
259286
- pair = key3;
259287
- else if (key3 && typeof key3 === "object" && "key" in key3 && "value" in key3 && key3.value === null)
259288
- pair = new Pair.Pair(key3.key, null);
259288
+ if (identity2.isPair(key2))
259289
+ pair = key2;
259290
+ else if (key2 && typeof key2 === "object" && "key" in key2 && "value" in key2 && key2.value === null)
259291
+ pair = new Pair.Pair(key2.key, null);
259289
259292
  else
259290
- pair = new Pair.Pair(key3, null);
259293
+ pair = new Pair.Pair(key2, null);
259291
259294
  const prev = YAMLMap.findPair(this.items, pair.key);
259292
259295
  if (!prev)
259293
259296
  this.items.push(pair);
259294
259297
  }
259295
- get(key3, keepPair) {
259296
- const pair = YAMLMap.findPair(this.items, key3);
259298
+ get(key2, keepPair) {
259299
+ const pair = YAMLMap.findPair(this.items, key2);
259297
259300
  return !keepPair && identity2.isPair(pair) ? identity2.isScalar(pair.key) ? pair.key.value : pair.key : pair;
259298
259301
  }
259299
- set(key3, value4) {
259302
+ set(key2, value4) {
259300
259303
  if (typeof value4 !== "boolean")
259301
259304
  throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof value4}`);
259302
- const prev = YAMLMap.findPair(this.items, key3);
259305
+ const prev = YAMLMap.findPair(this.items, key2);
259303
259306
  if (prev && !value4) {
259304
259307
  this.items.splice(this.items.indexOf(prev), 1);
259305
259308
  } else if (!prev && value4) {
259306
- this.items.push(new Pair.Pair(key3));
259309
+ this.items.push(new Pair.Pair(key2));
259307
259310
  }
259308
259311
  }
259309
259312
  toJSON(_5, ctx) {
@@ -259538,7 +259541,7 @@ var require_tags = __commonJS((exports) => {
259538
259541
  if (Array.isArray(customTags))
259539
259542
  tags = [];
259540
259543
  else {
259541
- const keys = Array.from(schemas.keys()).filter((key3) => key3 !== "yaml11").map((key3) => JSON.stringify(key3)).join(", ");
259544
+ const keys = Array.from(schemas.keys()).filter((key2) => key2 !== "yaml11").map((key2) => JSON.stringify(key2)).join(", ");
259542
259545
  throw new Error(`Unknown schema "${schemaName}"; use one of ${keys} or define customTags array`);
259543
259546
  }
259544
259547
  }
@@ -259554,7 +259557,7 @@ var require_tags = __commonJS((exports) => {
259554
259557
  const tagObj = typeof tag === "string" ? tagsByName[tag] : tag;
259555
259558
  if (!tagObj) {
259556
259559
  const tagName = JSON.stringify(tag);
259557
- const keys = Object.keys(tagsByName).map((key3) => JSON.stringify(key3)).join(", ");
259560
+ const keys = Object.keys(tagsByName).map((key2) => JSON.stringify(key2)).join(", ");
259558
259561
  throw new Error(`Unknown custom tag ${tagName}; use one of ${keys}`);
259559
259562
  }
259560
259563
  if (!tags2.includes(tagObj))
@@ -259789,13 +259792,13 @@ var require_Document = __commonJS((exports) => {
259789
259792
  setAnchors();
259790
259793
  return node;
259791
259794
  }
259792
- createPair(key3, value4, options = {}) {
259793
- const k5 = this.createNode(key3, null, options);
259795
+ createPair(key2, value4, options = {}) {
259796
+ const k5 = this.createNode(key2, null, options);
259794
259797
  const v7 = this.createNode(value4, null, options);
259795
259798
  return new Pair.Pair(k5, v7);
259796
259799
  }
259797
- delete(key3) {
259798
- return assertCollection(this.contents) ? this.contents.delete(key3) : false;
259800
+ delete(key2) {
259801
+ return assertCollection(this.contents) ? this.contents.delete(key2) : false;
259799
259802
  }
259800
259803
  deleteIn(path5) {
259801
259804
  if (Collection.isEmptyPath(path5)) {
@@ -259806,27 +259809,27 @@ var require_Document = __commonJS((exports) => {
259806
259809
  }
259807
259810
  return assertCollection(this.contents) ? this.contents.deleteIn(path5) : false;
259808
259811
  }
259809
- get(key3, keepScalar) {
259810
- return identity2.isCollection(this.contents) ? this.contents.get(key3, keepScalar) : undefined;
259812
+ get(key2, keepScalar) {
259813
+ return identity2.isCollection(this.contents) ? this.contents.get(key2, keepScalar) : undefined;
259811
259814
  }
259812
259815
  getIn(path5, keepScalar) {
259813
259816
  if (Collection.isEmptyPath(path5))
259814
259817
  return !keepScalar && identity2.isScalar(this.contents) ? this.contents.value : this.contents;
259815
259818
  return identity2.isCollection(this.contents) ? this.contents.getIn(path5, keepScalar) : undefined;
259816
259819
  }
259817
- has(key3) {
259818
- return identity2.isCollection(this.contents) ? this.contents.has(key3) : false;
259820
+ has(key2) {
259821
+ return identity2.isCollection(this.contents) ? this.contents.has(key2) : false;
259819
259822
  }
259820
259823
  hasIn(path5) {
259821
259824
  if (Collection.isEmptyPath(path5))
259822
259825
  return this.contents !== undefined;
259823
259826
  return identity2.isCollection(this.contents) ? this.contents.hasIn(path5) : false;
259824
259827
  }
259825
- set(key3, value4) {
259828
+ set(key2, value4) {
259826
259829
  if (this.contents == null) {
259827
- this.contents = Collection.collectionFromPath(this.schema, [key3], value4);
259830
+ this.contents = Collection.collectionFromPath(this.schema, [key2], value4);
259828
259831
  } else if (assertCollection(this.contents)) {
259829
- this.contents.set(key3, value4);
259832
+ this.contents.set(key2, value4);
259830
259833
  }
259831
259834
  }
259832
259835
  setIn(path5, value4) {
@@ -260110,25 +260113,25 @@ var require_resolve_props = __commonJS((exports) => {
260110
260113
 
260111
260114
  // ../../node_modules/yaml/dist/compose/util-contains-newline.js
260112
260115
  var require_util_contains_newline = __commonJS((exports) => {
260113
- function containsNewline(key3) {
260114
- if (!key3)
260116
+ function containsNewline(key2) {
260117
+ if (!key2)
260115
260118
  return null;
260116
- switch (key3.type) {
260119
+ switch (key2.type) {
260117
260120
  case "alias":
260118
260121
  case "scalar":
260119
260122
  case "double-quoted-scalar":
260120
260123
  case "single-quoted-scalar":
260121
- if (key3.source.includes(`
260124
+ if (key2.source.includes(`
260122
260125
  `))
260123
260126
  return true;
260124
- if (key3.end) {
260125
- for (const st2 of key3.end)
260127
+ if (key2.end) {
260128
+ for (const st2 of key2.end)
260126
260129
  if (st2.type === "newline")
260127
260130
  return true;
260128
260131
  }
260129
260132
  return false;
260130
260133
  case "flow-collection":
260131
- for (const it2 of key3.items) {
260134
+ for (const it2 of key2.items) {
260132
260135
  for (const st2 of it2.start)
260133
260136
  if (st2.type === "newline")
260134
260137
  return true;
@@ -260193,10 +260196,10 @@ var require_resolve_block_map = __commonJS((exports) => {
260193
260196
  let offset = bm.offset;
260194
260197
  let commentEnd = null;
260195
260198
  for (const collItem of bm.items) {
260196
- const { start: start3, key: key3, sep: sep3, value: value4 } = collItem;
260199
+ const { start: start3, key: key2, sep: sep3, value: value4 } = collItem;
260197
260200
  const keyProps = resolveProps.resolveProps(start3, {
260198
260201
  indicator: "explicit-key-ind",
260199
- next: key3 ?? sep3?.[0],
260202
+ next: key2 ?? sep3?.[0],
260200
260203
  offset,
260201
260204
  onError,
260202
260205
  parentIndent: bm.indent,
@@ -260204,10 +260207,10 @@ var require_resolve_block_map = __commonJS((exports) => {
260204
260207
  });
260205
260208
  const implicitKey = !keyProps.found;
260206
260209
  if (implicitKey) {
260207
- if (key3) {
260208
- if (key3.type === "block-seq")
260210
+ if (key2) {
260211
+ if (key2.type === "block-seq")
260209
260212
  onError(offset, "BLOCK_AS_IMPLICIT_KEY", "A block sequence may not be used as an implicit map key");
260210
- else if ("indent" in key3 && key3.indent !== bm.indent)
260213
+ else if ("indent" in key2 && key2.indent !== bm.indent)
260211
260214
  onError(offset, "BAD_INDENT", startColMsg);
260212
260215
  }
260213
260216
  if (!keyProps.anchor && !keyProps.tag && !sep3) {
@@ -260221,17 +260224,17 @@ var require_resolve_block_map = __commonJS((exports) => {
260221
260224
  }
260222
260225
  continue;
260223
260226
  }
260224
- if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key3)) {
260225
- onError(key3 ?? start3[start3.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
260227
+ if (keyProps.newlineAfterProp || utilContainsNewline.containsNewline(key2)) {
260228
+ onError(key2 ?? start3[start3.length - 1], "MULTILINE_IMPLICIT_KEY", "Implicit keys need to be on a single line");
260226
260229
  }
260227
260230
  } else if (keyProps.found?.indent !== bm.indent) {
260228
260231
  onError(offset, "BAD_INDENT", startColMsg);
260229
260232
  }
260230
260233
  ctx.atKey = true;
260231
260234
  const keyStart = keyProps.end;
260232
- const keyNode = key3 ? composeNode(ctx, key3, keyProps, onError) : composeEmptyNode(ctx, keyStart, start3, null, keyProps, onError);
260235
+ const keyNode = key2 ? composeNode(ctx, key2, keyProps, onError) : composeEmptyNode(ctx, keyStart, start3, null, keyProps, onError);
260233
260236
  if (ctx.schema.compat)
260234
- utilFlowIndentCheck.flowIndentCheck(bm.indent, key3, onError);
260237
+ utilFlowIndentCheck.flowIndentCheck(bm.indent, key2, onError);
260235
260238
  ctx.atKey = false;
260236
260239
  if (utilMapIncludes.mapIncludes(ctx, map3.items, keyNode))
260237
260240
  onError(keyStart, "DUPLICATE_KEY", "Map keys must be unique");
@@ -260241,7 +260244,7 @@ var require_resolve_block_map = __commonJS((exports) => {
260241
260244
  offset: keyNode.range[2],
260242
260245
  onError,
260243
260246
  parentIndent: bm.indent,
260244
- startOnNewline: !key3 || key3.type === "block-scalar"
260247
+ startOnNewline: !key2 || key2.type === "block-scalar"
260245
260248
  });
260246
260249
  offset = valueProps.end;
260247
260250
  if (valueProps.found) {
@@ -260397,11 +260400,11 @@ var require_resolve_flow_collection = __commonJS((exports) => {
260397
260400
  let offset = fc.offset + fc.start.source.length;
260398
260401
  for (let i6 = 0;i6 < fc.items.length; ++i6) {
260399
260402
  const collItem = fc.items[i6];
260400
- const { start: start3, key: key3, sep: sep3, value: value4 } = collItem;
260403
+ const { start: start3, key: key2, sep: sep3, value: value4 } = collItem;
260401
260404
  const props = resolveProps.resolveProps(start3, {
260402
260405
  flow: fcName,
260403
260406
  indicator: "explicit-key-ind",
260404
- next: key3 ?? sep3?.[0],
260407
+ next: key2 ?? sep3?.[0],
260405
260408
  offset,
260406
260409
  onError,
260407
260410
  parentIndent: fc.indent,
@@ -260423,8 +260426,8 @@ var require_resolve_flow_collection = __commonJS((exports) => {
260423
260426
  offset = props.end;
260424
260427
  continue;
260425
260428
  }
260426
- if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key3))
260427
- onError(key3, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
260429
+ if (!isMap && ctx.options.strict && utilContainsNewline.containsNewline(key2))
260430
+ onError(key2, "MULTILINE_IMPLICIT_KEY", "Implicit keys of flow sequence pairs need to be on a single line");
260428
260431
  }
260429
260432
  if (i6 === 0) {
260430
260433
  if (props.comma)
@@ -260469,8 +260472,8 @@ var require_resolve_flow_collection = __commonJS((exports) => {
260469
260472
  } else {
260470
260473
  ctx.atKey = true;
260471
260474
  const keyStart = props.end;
260472
- const keyNode = key3 ? composeNode(ctx, key3, props, onError) : composeEmptyNode(ctx, keyStart, start3, null, props, onError);
260473
- if (isBlock(key3))
260475
+ const keyNode = key2 ? composeNode(ctx, key2, props, onError) : composeEmptyNode(ctx, keyStart, start3, null, props, onError);
260476
+ if (isBlock(key2))
260474
260477
  onError(keyNode.range, "BLOCK_IN_FLOW", blockMsg);
260475
260478
  ctx.atKey = false;
260476
260479
  const valueProps = resolveProps.resolveProps(sep3 ?? [], {
@@ -261282,7 +261285,7 @@ var require_composer = __commonJS((exports) => {
261282
261285
  var node_process = __require("node:process");
261283
261286
  var directives4 = require_directives2();
261284
261287
  var Document = require_Document();
261285
- var errors3 = require_errors3();
261288
+ var errors2 = require_errors3();
261286
261289
  var identity2 = require_identity();
261287
261290
  var composeDoc = require_compose_doc();
261288
261291
  var resolveEnd = require_resolve_end();
@@ -261333,9 +261336,9 @@ var require_composer = __commonJS((exports) => {
261333
261336
  this.onError = (source, code2, message, warning) => {
261334
261337
  const pos = getErrorPos(source);
261335
261338
  if (warning)
261336
- this.warnings.push(new errors3.YAMLWarning(pos, code2, message));
261339
+ this.warnings.push(new errors2.YAMLWarning(pos, code2, message));
261337
261340
  else
261338
- this.errors.push(new errors3.YAMLParseError(pos, code2, message));
261341
+ this.errors.push(new errors2.YAMLParseError(pos, code2, message));
261339
261342
  };
261340
261343
  this.directives = new directives4.Directives({ version: options.version || "1.2" });
261341
261344
  this.options = options;
@@ -261419,7 +261422,7 @@ ${cb}` : comment;
261419
261422
  break;
261420
261423
  case "error": {
261421
261424
  const msg = token.source ? `${token.message}: ${JSON.stringify(token.source)}` : token.message;
261422
- const error5 = new errors3.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
261425
+ const error5 = new errors2.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg);
261423
261426
  if (this.atDirectives || !this.doc)
261424
261427
  this.errors.push(error5);
261425
261428
  else
@@ -261429,7 +261432,7 @@ ${cb}` : comment;
261429
261432
  case "doc-end": {
261430
261433
  if (!this.doc) {
261431
261434
  const msg = "Unexpected doc-end without preceding document";
261432
- this.errors.push(new errors3.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg));
261435
+ this.errors.push(new errors2.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", msg));
261433
261436
  break;
261434
261437
  }
261435
261438
  this.doc.directives.docEnd = true;
@@ -261444,7 +261447,7 @@ ${end.comment}` : end.comment;
261444
261447
  break;
261445
261448
  }
261446
261449
  default:
261447
- this.errors.push(new errors3.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
261450
+ this.errors.push(new errors2.YAMLParseError(getErrorPos(token), "UNEXPECTED_TOKEN", `Unsupported token ${token.type}`));
261448
261451
  }
261449
261452
  }
261450
261453
  *end(forceDoc = false, endOffset = -1) {
@@ -261470,7 +261473,7 @@ ${end.comment}` : end.comment;
261470
261473
  var require_cst_scalar = __commonJS((exports) => {
261471
261474
  var resolveBlockScalar = require_resolve_block_scalar();
261472
261475
  var resolveFlowScalar = require_resolve_flow_scalar();
261473
- var errors3 = require_errors3();
261476
+ var errors2 = require_errors3();
261474
261477
  var stringifyString = require_stringifyString();
261475
261478
  function resolveAsScalar(token, strict = true, onError) {
261476
261479
  if (token) {
@@ -261479,7 +261482,7 @@ var require_cst_scalar = __commonJS((exports) => {
261479
261482
  if (onError)
261480
261483
  onError(offset, code2, message);
261481
261484
  else
261482
- throw new errors3.YAMLParseError([offset, offset + 1], code2, message);
261485
+ throw new errors2.YAMLParseError([offset, offset + 1], code2, message);
261483
261486
  };
261484
261487
  switch (token.type) {
261485
261488
  case "scalar":
@@ -261593,9 +261596,9 @@ var require_cst_scalar = __commonJS((exports) => {
261593
261596
  if (!addEndtoBlockProps(props, "end" in token ? token.end : undefined))
261594
261597
  props.push({ type: "newline", offset: -1, indent: indent2, source: `
261595
261598
  ` });
261596
- for (const key3 of Object.keys(token))
261597
- if (key3 !== "type" && key3 !== "offset")
261598
- delete token[key3];
261599
+ for (const key2 of Object.keys(token))
261600
+ if (key2 !== "type" && key2 !== "offset")
261601
+ delete token[key2];
261599
261602
  Object.assign(token, { type: "block-scalar", indent: indent2, props, source: body });
261600
261603
  }
261601
261604
  }
@@ -261644,9 +261647,9 @@ var require_cst_scalar = __commonJS((exports) => {
261644
261647
  default: {
261645
261648
  const indent2 = "indent" in token ? token.indent : -1;
261646
261649
  const end = "end" in token && Array.isArray(token.end) ? token.end.filter((st2) => st2.type === "space" || st2.type === "comment" || st2.type === "newline") : [];
261647
- for (const key3 of Object.keys(token))
261648
- if (key3 !== "type" && key3 !== "offset")
261649
- delete token[key3];
261650
+ for (const key2 of Object.keys(token))
261651
+ if (key2 !== "type" && key2 !== "offset")
261652
+ delete token[key2];
261650
261653
  Object.assign(token, { type: type4, indent: indent2, source, end });
261651
261654
  }
261652
261655
  }
@@ -261698,12 +261701,12 @@ var require_cst_stringify = __commonJS((exports) => {
261698
261701
  }
261699
261702
  }
261700
261703
  }
261701
- function stringifyItem({ start: start3, key: key3, sep: sep3, value: value4 }) {
261704
+ function stringifyItem({ start: start3, key: key2, sep: sep3, value: value4 }) {
261702
261705
  let res = "";
261703
261706
  for (const st2 of start3)
261704
261707
  res += st2.source;
261705
- if (key3)
261706
- res += stringifyToken(key3);
261708
+ if (key2)
261709
+ res += stringifyToken(key2);
261707
261710
  if (sep3)
261708
261711
  for (const st2 of sep3)
261709
261712
  res += st2.source;
@@ -263000,7 +263003,7 @@ var require_parser2 = __commonJS((exports) => {
263000
263003
  });
263001
263004
  } else if (isFlowToken(it2.key) && !includesToken(it2.sep, "newline")) {
263002
263005
  const start4 = getFirstKeyStartProps(it2.start);
263003
- const key3 = it2.key;
263006
+ const key2 = it2.key;
263004
263007
  const sep3 = it2.sep;
263005
263008
  sep3.push(this.sourceToken);
263006
263009
  delete it2.key;
@@ -263009,7 +263012,7 @@ var require_parser2 = __commonJS((exports) => {
263009
263012
  type: "block-map",
263010
263013
  offset: this.offset,
263011
263014
  indent: this.indent,
263012
- items: [{ start: start4, key: key3, sep: sep3 }]
263015
+ items: [{ start: start4, key: key2, sep: sep3 }]
263013
263016
  });
263014
263017
  } else if (start3.length > 0) {
263015
263018
  it2.sep = it2.sep.concat(start3, this.sourceToken);
@@ -263332,7 +263335,7 @@ var require_parser2 = __commonJS((exports) => {
263332
263335
  var require_public_api = __commonJS((exports) => {
263333
263336
  var composer = require_composer();
263334
263337
  var Document = require_Document();
263335
- var errors3 = require_errors3();
263338
+ var errors2 = require_errors3();
263336
263339
  var log = require_log();
263337
263340
  var identity2 = require_identity();
263338
263341
  var lineCounter = require_line_counter();
@@ -263349,8 +263352,8 @@ var require_public_api = __commonJS((exports) => {
263349
263352
  const docs = Array.from(composer$1.compose(parser$1.parse(source)));
263350
263353
  if (prettyErrors && lineCounter2)
263351
263354
  for (const doc of docs) {
263352
- doc.errors.forEach(errors3.prettifyError(source, lineCounter2));
263353
- doc.warnings.forEach(errors3.prettifyError(source, lineCounter2));
263355
+ doc.errors.forEach(errors2.prettifyError(source, lineCounter2));
263356
+ doc.warnings.forEach(errors2.prettifyError(source, lineCounter2));
263354
263357
  }
263355
263358
  if (docs.length > 0)
263356
263359
  return docs;
@@ -263365,13 +263368,13 @@ var require_public_api = __commonJS((exports) => {
263365
263368
  if (!doc)
263366
263369
  doc = _doc;
263367
263370
  else if (doc.options.logLevel !== "silent") {
263368
- doc.errors.push(new errors3.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
263371
+ doc.errors.push(new errors2.YAMLParseError(_doc.range.slice(0, 2), "MULTIPLE_DOCS", "Source contains multiple documents; please use YAML.parseAllDocuments()"));
263369
263372
  break;
263370
263373
  }
263371
263374
  }
263372
263375
  if (prettyErrors && lineCounter2) {
263373
- doc.errors.forEach(errors3.prettifyError(source, lineCounter2));
263374
- doc.warnings.forEach(errors3.prettifyError(source, lineCounter2));
263376
+ doc.errors.forEach(errors2.prettifyError(source, lineCounter2));
263377
+ doc.warnings.forEach(errors2.prettifyError(source, lineCounter2));
263375
263378
  }
263376
263379
  return doc;
263377
263380
  }
@@ -274459,7 +274462,7 @@ function pruneCurrentEnv(currentEnv, env2) {
274459
274462
  var package_default = {
274460
274463
  name: "@settlemint/sdk-cli",
274461
274464
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
274462
- version: "1.1.3-prae38e267",
274465
+ version: "1.1.3-prb2a0e155",
274463
274466
  type: "module",
274464
274467
  private: false,
274465
274468
  license: "FSL-1.1-MIT",
@@ -274503,19 +274506,19 @@ var package_default = {
274503
274506
  },
274504
274507
  devDependencies: {
274505
274508
  "@commander-js/extra-typings": "13.1.0",
274506
- "@inquirer/confirm": "5.1.4",
274507
- "@inquirer/input": "4.1.4",
274509
+ "@inquirer/confirm": "5.1.5",
274510
+ "@inquirer/input": "4.1.5",
274508
274511
  "@inquirer/password": "4.0.8",
274509
- "@inquirer/select": "4.0.7",
274510
- "@settlemint/sdk-js": "1.1.3-prae38e267",
274511
- "@settlemint/sdk-utils": "1.1.3-prae38e267",
274512
+ "@inquirer/select": "4.0.8",
274513
+ "@settlemint/sdk-js": "1.1.3-prb2a0e155",
274514
+ "@settlemint/sdk-utils": "1.1.3-prb2a0e155",
274512
274515
  "@types/node": "22.13.0",
274513
274516
  "@types/semver": "7.5.8",
274514
274517
  "@types/which": "3.0.4",
274515
274518
  "get-tsconfig": "4.10.0",
274516
274519
  giget: "1.2.4",
274517
274520
  "is-in-ci": "1.0.0",
274518
- semver: "7.7.0",
274521
+ semver: "7.7.1",
274519
274522
  slugify: "1.6.6",
274520
274523
  which: "5.0.0",
274521
274524
  yaml: "2.7.0",
@@ -280246,474 +280249,20 @@ var esm_default4 = createPrompt((config3, done) => {
280246
280249
  ];
280247
280250
  });
280248
280251
 
280249
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/key.js
280250
- var isEnterKey2 = (key2) => key2.name === "enter" || key2.name === "return";
280251
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/errors.js
280252
- class AbortPromptError2 extends Error {
280253
- name = "AbortPromptError";
280254
- message = "Prompt was aborted";
280255
- constructor(options) {
280256
- super();
280257
- this.cause = options?.cause;
280258
- }
280259
- }
280260
-
280261
- class CancelPromptError2 extends Error {
280262
- name = "CancelPromptError";
280263
- message = "Prompt was canceled";
280264
- }
280265
-
280266
- class ExitPromptError2 extends Error {
280267
- name = "ExitPromptError";
280268
- }
280269
-
280270
- class HookError2 extends Error {
280271
- name = "HookError";
280272
- }
280273
-
280274
- class ValidationError2 extends Error {
280275
- name = "ValidationError";
280276
- }
280277
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js
280278
- import { AsyncResource as AsyncResource5 } from "node:async_hooks";
280279
-
280280
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/hook-engine.js
280281
- import { AsyncLocalStorage as AsyncLocalStorage2, AsyncResource as AsyncResource4 } from "node:async_hooks";
280282
- var hookStorage2 = new AsyncLocalStorage2;
280283
- function createStore2(rl) {
280284
- const store = {
280285
- rl,
280286
- hooks: [],
280287
- hooksCleanup: [],
280288
- hooksEffect: [],
280289
- index: 0,
280290
- handleChange() {
280291
- }
280292
- };
280293
- return store;
280294
- }
280295
- function withHooks2(rl, cb) {
280296
- const store = createStore2(rl);
280297
- return hookStorage2.run(store, () => {
280298
- function cycle(render) {
280299
- store.handleChange = () => {
280300
- store.index = 0;
280301
- render();
280302
- };
280303
- store.handleChange();
280304
- }
280305
- return cb(cycle);
280306
- });
280307
- }
280308
- function getStore2() {
280309
- const store = hookStorage2.getStore();
280310
- if (!store) {
280311
- throw new HookError2("[Inquirer] Hook functions can only be called from within a prompt");
280312
- }
280313
- return store;
280314
- }
280315
- function readline3() {
280316
- return getStore2().rl;
280317
- }
280318
- function withUpdates2(fn) {
280319
- const wrapped = (...args) => {
280320
- const store = getStore2();
280321
- let shouldUpdate = false;
280322
- const oldHandleChange = store.handleChange;
280323
- store.handleChange = () => {
280324
- shouldUpdate = true;
280325
- };
280326
- const returnValue = fn(...args);
280327
- if (shouldUpdate) {
280328
- oldHandleChange();
280329
- }
280330
- store.handleChange = oldHandleChange;
280331
- return returnValue;
280332
- };
280333
- return AsyncResource4.bind(wrapped);
280334
- }
280335
- function withPointer2(cb) {
280336
- const store = getStore2();
280337
- const { index } = store;
280338
- const pointer = {
280339
- get() {
280340
- return store.hooks[index];
280341
- },
280342
- set(value4) {
280343
- store.hooks[index] = value4;
280344
- },
280345
- initialized: index in store.hooks
280346
- };
280347
- const returnValue = cb(pointer);
280348
- store.index++;
280349
- return returnValue;
280350
- }
280351
- function handleChange2() {
280352
- getStore2().handleChange();
280353
- }
280354
- var effectScheduler2 = {
280355
- queue(cb) {
280356
- const store = getStore2();
280357
- const { index } = store;
280358
- store.hooksEffect.push(() => {
280359
- store.hooksCleanup[index]?.();
280360
- const cleanFn = cb(readline3());
280361
- if (cleanFn != null && typeof cleanFn !== "function") {
280362
- throw new ValidationError2("useEffect return value must be a cleanup function or nothing.");
280363
- }
280364
- store.hooksCleanup[index] = cleanFn;
280365
- });
280366
- },
280367
- run() {
280368
- const store = getStore2();
280369
- withUpdates2(() => {
280370
- store.hooksEffect.forEach((effect) => {
280371
- effect();
280372
- });
280373
- store.hooksEffect.length = 0;
280374
- })();
280375
- },
280376
- clearAll() {
280377
- const store = getStore2();
280378
- store.hooksCleanup.forEach((cleanFn) => {
280379
- cleanFn?.();
280380
- });
280381
- store.hooksEffect.length = 0;
280382
- store.hooksCleanup.length = 0;
280383
- }
280384
- };
280385
-
280386
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/use-state.js
280387
- function useState2(defaultValue) {
280388
- return withPointer2((pointer) => {
280389
- const setFn = (newValue) => {
280390
- if (pointer.get() !== newValue) {
280391
- pointer.set(newValue);
280392
- handleChange2();
280393
- }
280394
- };
280395
- if (pointer.initialized) {
280396
- return [pointer.get(), setFn];
280397
- }
280398
- const value4 = typeof defaultValue === "function" ? defaultValue() : defaultValue;
280399
- pointer.set(value4);
280400
- return [value4, setFn];
280401
- });
280402
- }
280403
-
280404
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/use-effect.js
280405
- function useEffect2(cb, depArray) {
280406
- withPointer2((pointer) => {
280407
- const oldDeps = pointer.get();
280408
- const hasChanged = !Array.isArray(oldDeps) || depArray.some((dep, i6) => !Object.is(dep, oldDeps[i6]));
280409
- if (hasChanged) {
280410
- effectScheduler2.queue(cb);
280411
- }
280412
- pointer.set(depArray);
280413
- });
280414
- }
280415
-
280416
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/theme.js
280417
- var import_yoctocolors_cjs4 = __toESM(require_yoctocolors_cjs(), 1);
280418
- var defaultTheme2 = {
280419
- prefix: {
280420
- idle: import_yoctocolors_cjs4.default.blue("?"),
280421
- done: import_yoctocolors_cjs4.default.green(esm_default.tick)
280422
- },
280423
- spinner: {
280424
- interval: 80,
280425
- frames: ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"].map((frame) => import_yoctocolors_cjs4.default.yellow(frame))
280426
- },
280427
- style: {
280428
- answer: import_yoctocolors_cjs4.default.cyan,
280429
- message: import_yoctocolors_cjs4.default.bold,
280430
- error: (text2) => import_yoctocolors_cjs4.default.red(`> ${text2}`),
280431
- defaultAnswer: (text2) => import_yoctocolors_cjs4.default.dim(`(${text2})`),
280432
- help: import_yoctocolors_cjs4.default.dim,
280433
- highlight: import_yoctocolors_cjs4.default.cyan,
280434
- key: (text2) => import_yoctocolors_cjs4.default.cyan(import_yoctocolors_cjs4.default.bold(`<${text2}>`))
280435
- }
280436
- };
280437
-
280438
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/make-theme.js
280439
- function isPlainObject3(value4) {
280440
- if (typeof value4 !== "object" || value4 === null)
280441
- return false;
280442
- let proto = value4;
280443
- while (Object.getPrototypeOf(proto) !== null) {
280444
- proto = Object.getPrototypeOf(proto);
280445
- }
280446
- return Object.getPrototypeOf(value4) === proto;
280447
- }
280448
- function deepMerge3(...objects) {
280449
- const output = {};
280450
- for (const obj of objects) {
280451
- for (const [key2, value4] of Object.entries(obj)) {
280452
- const prevValue = output[key2];
280453
- output[key2] = isPlainObject3(prevValue) && isPlainObject3(value4) ? deepMerge3(prevValue, value4) : value4;
280454
- }
280455
- }
280456
- return output;
280457
- }
280458
- function makeTheme2(...themes) {
280459
- const themesToMerge = [
280460
- defaultTheme2,
280461
- ...themes.filter((theme) => theme != null)
280462
- ];
280463
- return deepMerge3(...themesToMerge);
280464
- }
280465
-
280466
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/use-prefix.js
280467
- function usePrefix2({ status = "idle", theme }) {
280468
- const [showLoader, setShowLoader] = useState2(false);
280469
- const [tick, setTick] = useState2(0);
280470
- const { prefix, spinner: spinner2 } = makeTheme2(theme);
280471
- useEffect2(() => {
280472
- if (status === "loading") {
280473
- let tickInterval;
280474
- let inc = -1;
280475
- const delayTimeout = setTimeout(AsyncResource5.bind(() => {
280476
- setShowLoader(true);
280477
- tickInterval = setInterval(AsyncResource5.bind(() => {
280478
- inc = inc + 1;
280479
- setTick(inc % spinner2.frames.length);
280480
- }), spinner2.interval);
280481
- }), 300);
280482
- return () => {
280483
- clearTimeout(delayTimeout);
280484
- clearInterval(tickInterval);
280485
- };
280486
- } else {
280487
- setShowLoader(false);
280488
- }
280489
- }, [status]);
280490
- if (showLoader) {
280491
- return spinner2.frames[tick];
280492
- }
280493
- const iconName = status === "loading" ? "idle" : status;
280494
- return typeof prefix === "string" ? prefix : prefix[iconName] ?? prefix["idle"];
280495
- }
280496
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/use-ref.js
280497
- function useRef2(val) {
280498
- return useState2({ current: val })[0];
280499
- }
280500
-
280501
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/use-keypress.js
280502
- function useKeypress2(userHandler) {
280503
- const signal = useRef2(userHandler);
280504
- signal.current = userHandler;
280505
- useEffect2((rl) => {
280506
- let ignore = false;
280507
- const handler = withUpdates2((_input, event) => {
280508
- if (ignore)
280509
- return;
280510
- signal.current(event, rl);
280511
- });
280512
- rl.input.on("keypress", handler);
280513
- return () => {
280514
- ignore = true;
280515
- rl.input.removeListener("keypress", handler);
280516
- };
280517
- }, []);
280518
- }
280519
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/utils.js
280520
- var import_cli_width2 = __toESM(require_cli_width(), 1);
280521
- var import_wrap_ansi2 = __toESM(require_wrap_ansi(), 1);
280522
- function breakLines2(content, width) {
280523
- return content.split(`
280524
- `).flatMap((line) => import_wrap_ansi2.default(line, width, { trim: false, hard: true }).split(`
280525
- `).map((str) => str.trimEnd())).join(`
280526
- `);
280527
- }
280528
- function readlineWidth2() {
280529
- return import_cli_width2.default({ defaultWidth: 80, output: readline3().output });
280530
- }
280531
-
280532
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
280533
- var import_mute_stream2 = __toESM(require_lib(), 1);
280534
- import * as readline4 from "node:readline";
280535
- import { AsyncResource as AsyncResource6 } from "node:async_hooks";
280536
-
280537
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/screen-manager.js
280538
- var import_ansi_escapes3 = __toESM(require_ansi_escapes(), 1);
280539
- import { stripVTControlCharacters as stripVTControlCharacters3 } from "node:util";
280540
- var height2 = (content) => content.split(`
280541
- `).length;
280542
- var lastLine2 = (content) => content.split(`
280543
- `).pop() ?? "";
280544
- function cursorDown2(n6) {
280545
- return n6 > 0 ? import_ansi_escapes3.default.cursorDown(n6) : "";
280546
- }
280547
-
280548
- class ScreenManager2 {
280549
- rl;
280550
- height = 0;
280551
- extraLinesUnderPrompt = 0;
280552
- cursorPos;
280553
- constructor(rl) {
280554
- this.rl = rl;
280555
- this.rl = rl;
280556
- this.cursorPos = rl.getCursorPos();
280557
- }
280558
- write(content) {
280559
- this.rl.output.unmute();
280560
- this.rl.output.write(content);
280561
- this.rl.output.mute();
280562
- }
280563
- render(content, bottomContent = "") {
280564
- const promptLine = lastLine2(content);
280565
- const rawPromptLine = stripVTControlCharacters3(promptLine);
280566
- let prompt = rawPromptLine;
280567
- if (this.rl.line.length > 0) {
280568
- prompt = prompt.slice(0, -this.rl.line.length);
280569
- }
280570
- this.rl.setPrompt(prompt);
280571
- this.cursorPos = this.rl.getCursorPos();
280572
- const width = readlineWidth2();
280573
- content = breakLines2(content, width);
280574
- bottomContent = breakLines2(bottomContent, width);
280575
- if (rawPromptLine.length % width === 0) {
280576
- content += `
280577
- `;
280578
- }
280579
- let output = content + (bottomContent ? `
280580
- ` + bottomContent : "");
280581
- const promptLineUpDiff = Math.floor(rawPromptLine.length / width) - this.cursorPos.rows;
280582
- const bottomContentHeight = promptLineUpDiff + (bottomContent ? height2(bottomContent) : 0);
280583
- if (bottomContentHeight > 0)
280584
- output += import_ansi_escapes3.default.cursorUp(bottomContentHeight);
280585
- output += import_ansi_escapes3.default.cursorTo(this.cursorPos.cols);
280586
- this.write(cursorDown2(this.extraLinesUnderPrompt) + import_ansi_escapes3.default.eraseLines(this.height) + output);
280587
- this.extraLinesUnderPrompt = bottomContentHeight;
280588
- this.height = height2(output);
280589
- }
280590
- checkCursorPos() {
280591
- const cursorPos = this.rl.getCursorPos();
280592
- if (cursorPos.cols !== this.cursorPos.cols) {
280593
- this.write(import_ansi_escapes3.default.cursorTo(cursorPos.cols));
280594
- this.cursorPos = cursorPos;
280595
- }
280596
- }
280597
- done({ clearContent }) {
280598
- this.rl.setPrompt("");
280599
- let output = cursorDown2(this.extraLinesUnderPrompt);
280600
- output += clearContent ? import_ansi_escapes3.default.eraseLines(this.height) : `
280601
- `;
280602
- output += import_ansi_escapes3.default.cursorShow;
280603
- this.write(output);
280604
- this.rl.close();
280605
- }
280606
- }
280607
-
280608
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/promise-polyfill.js
280609
- class PromisePolyfill2 extends Promise {
280610
- static withResolver() {
280611
- let resolve6;
280612
- let reject;
280613
- const promise = new Promise((res, rej) => {
280614
- resolve6 = res;
280615
- reject = rej;
280616
- });
280617
- return { promise, resolve: resolve6, reject };
280618
- }
280619
- }
280620
-
280621
- // ../../node_modules/@inquirer/password/node_modules/@inquirer/core/dist/esm/lib/create-prompt.js
280622
- function getCallSites2() {
280623
- const _prepareStackTrace = Error.prepareStackTrace;
280624
- try {
280625
- let result = [];
280626
- Error.prepareStackTrace = (_5, callSites) => {
280627
- const callSitesWithoutCurrent = callSites.slice(1);
280628
- result = callSitesWithoutCurrent;
280629
- return callSitesWithoutCurrent;
280630
- };
280631
- new Error().stack;
280632
- return result;
280633
- } finally {
280634
- Error.prepareStackTrace = _prepareStackTrace;
280635
- }
280636
- }
280637
- function createPrompt2(view) {
280638
- const callSites = getCallSites2();
280639
- const callerFilename = callSites[1]?.getFileName?.();
280640
- const prompt = (config3, context = {}) => {
280641
- const { input = process.stdin, signal } = context;
280642
- const cleanups = new Set;
280643
- const output = new import_mute_stream2.default;
280644
- output.pipe(context.output ?? process.stdout);
280645
- const rl = readline4.createInterface({
280646
- terminal: true,
280647
- input,
280648
- output
280649
- });
280650
- const screen = new ScreenManager2(rl);
280651
- const { promise, resolve: resolve6, reject } = PromisePolyfill2.withResolver();
280652
- const cancel3 = () => reject(new CancelPromptError2);
280653
- if (signal) {
280654
- const abort = () => reject(new AbortPromptError2({ cause: signal.reason }));
280655
- if (signal.aborted) {
280656
- abort();
280657
- return Object.assign(promise, { cancel: cancel3 });
280658
- }
280659
- signal.addEventListener("abort", abort);
280660
- cleanups.add(() => signal.removeEventListener("abort", abort));
280661
- }
280662
- cleanups.add(onExit((code2, signal2) => {
280663
- reject(new ExitPromptError2(`User force closed the prompt with ${code2} ${signal2}`));
280664
- }));
280665
- const checkCursorPos = () => screen.checkCursorPos();
280666
- rl.input.on("keypress", checkCursorPos);
280667
- cleanups.add(() => rl.input.removeListener("keypress", checkCursorPos));
280668
- return withHooks2(rl, (cycle) => {
280669
- const hooksCleanup = AsyncResource6.bind(() => effectScheduler2.clearAll());
280670
- rl.on("close", hooksCleanup);
280671
- cleanups.add(() => rl.removeListener("close", hooksCleanup));
280672
- cycle(() => {
280673
- try {
280674
- const nextView = view(config3, (value4) => {
280675
- setImmediate(() => resolve6(value4));
280676
- });
280677
- if (nextView === undefined) {
280678
- throw new Error(`Prompt functions must return a string.
280679
- at ${callerFilename}`);
280680
- }
280681
- const [content, bottomContent] = typeof nextView === "string" ? [nextView] : nextView;
280682
- screen.render(content, bottomContent);
280683
- effectScheduler2.run();
280684
- } catch (error5) {
280685
- reject(error5);
280686
- }
280687
- });
280688
- return Object.assign(promise.then((answer) => {
280689
- effectScheduler2.clearAll();
280690
- return answer;
280691
- }, (error5) => {
280692
- effectScheduler2.clearAll();
280693
- throw error5;
280694
- }).finally(() => {
280695
- cleanups.forEach((cleanup) => cleanup());
280696
- screen.done({ clearContent: Boolean(context.clearPromptOnDone) });
280697
- output.end();
280698
- }).then(() => promise), { cancel: cancel3 });
280699
- });
280700
- };
280701
- return prompt;
280702
- }
280703
280252
  // ../../node_modules/@inquirer/password/dist/esm/index.js
280704
- var import_ansi_escapes4 = __toESM(require_ansi_escapes(), 1);
280705
- var esm_default5 = createPrompt2((config3, done) => {
280253
+ var import_ansi_escapes3 = __toESM(require_ansi_escapes(), 1);
280254
+ var esm_default5 = createPrompt((config3, done) => {
280706
280255
  const { validate: validate3 = () => true } = config3;
280707
- const theme = makeTheme2(config3.theme);
280708
- const [status, setStatus] = useState2("idle");
280709
- const [errorMsg, setError] = useState2();
280710
- const [value4, setValue] = useState2("");
280711
- const prefix = usePrefix2({ status, theme });
280712
- useKeypress2(async (key3, rl) => {
280256
+ const theme = makeTheme(config3.theme);
280257
+ const [status, setStatus] = useState("idle");
280258
+ const [errorMsg, setError] = useState();
280259
+ const [value4, setValue] = useState("");
280260
+ const prefix = usePrefix({ status, theme });
280261
+ useKeypress(async (key2, rl) => {
280713
280262
  if (status !== "idle") {
280714
280263
  return;
280715
280264
  }
280716
- if (isEnterKey2(key3)) {
280265
+ if (isEnterKey(key2)) {
280717
280266
  const answer = value4;
280718
280267
  setStatus("loading");
280719
280268
  const isValid2 = await validate3(answer);
@@ -280738,7 +280287,7 @@ var esm_default5 = createPrompt2((config3, done) => {
280738
280287
  const maskChar = typeof config3.mask === "string" ? config3.mask : "*";
280739
280288
  formattedValue = maskChar.repeat(value4.length);
280740
280289
  } else if (status !== "done") {
280741
- helpTip = `${theme.style.help("[input is masked]")}${import_ansi_escapes4.default.cursorHide}`;
280290
+ helpTip = `${theme.style.help("[input is masked]")}${import_ansi_escapes3.default.cursorHide}`;
280742
280291
  }
280743
280292
  if (status === "done") {
280744
280293
  formattedValue = theme.style.answer(formattedValue);
@@ -281810,7 +281359,7 @@ var basename2 = function(p6, extension) {
281810
281359
  return extension && lastSegment.endsWith(extension) ? lastSegment.slice(0, -extension.length) : lastSegment;
281811
281360
  };
281812
281361
  // ../../node_modules/defu/dist/defu.mjs
281813
- function isPlainObject4(value4) {
281362
+ function isPlainObject3(value4) {
281814
281363
  if (value4 === null || typeof value4 !== "object") {
281815
281364
  return false;
281816
281365
  }
@@ -281827,27 +281376,27 @@ function isPlainObject4(value4) {
281827
281376
  return true;
281828
281377
  }
281829
281378
  function _defu(baseObject, defaults2, namespace = ".", merger) {
281830
- if (!isPlainObject4(defaults2)) {
281379
+ if (!isPlainObject3(defaults2)) {
281831
281380
  return _defu(baseObject, {}, namespace, merger);
281832
281381
  }
281833
281382
  const object = Object.assign({}, defaults2);
281834
- for (const key3 in baseObject) {
281835
- if (key3 === "__proto__" || key3 === "constructor") {
281383
+ for (const key2 in baseObject) {
281384
+ if (key2 === "__proto__" || key2 === "constructor") {
281836
281385
  continue;
281837
281386
  }
281838
- const value4 = baseObject[key3];
281387
+ const value4 = baseObject[key2];
281839
281388
  if (value4 === null || value4 === undefined) {
281840
281389
  continue;
281841
281390
  }
281842
- if (merger && merger(object, key3, value4, namespace)) {
281391
+ if (merger && merger(object, key2, value4, namespace)) {
281843
281392
  continue;
281844
281393
  }
281845
- if (Array.isArray(value4) && Array.isArray(object[key3])) {
281846
- object[key3] = [...value4, ...object[key3]];
281847
- } else if (isPlainObject4(value4) && isPlainObject4(object[key3])) {
281848
- object[key3] = _defu(value4, object[key3], (namespace ? `${namespace}.` : "") + key3.toString(), merger);
281394
+ if (Array.isArray(value4) && Array.isArray(object[key2])) {
281395
+ object[key2] = [...value4, ...object[key2]];
281396
+ } else if (isPlainObject3(value4) && isPlainObject3(object[key2])) {
281397
+ object[key2] = _defu(value4, object[key2], (namespace ? `${namespace}.` : "") + key2.toString(), merger);
281849
281398
  } else {
281850
- object[key3] = value4;
281399
+ object[key2] = value4;
281851
281400
  }
281852
281401
  }
281853
281402
  return object;
@@ -281856,15 +281405,15 @@ function createDefu(merger) {
281856
281405
  return (...arguments_4) => arguments_4.reduce((p6, c3) => _defu(p6, c3, "", merger), {});
281857
281406
  }
281858
281407
  var defu = createDefu();
281859
- var defuFn = createDefu((object, key3, currentValue) => {
281860
- if (object[key3] !== undefined && typeof currentValue === "function") {
281861
- object[key3] = currentValue(object[key3]);
281408
+ var defuFn = createDefu((object, key2, currentValue) => {
281409
+ if (object[key2] !== undefined && typeof currentValue === "function") {
281410
+ object[key2] = currentValue(object[key2]);
281862
281411
  return true;
281863
281412
  }
281864
281413
  });
281865
- var defuArrayFn = createDefu((object, key3, currentValue) => {
281866
- if (Array.isArray(object[key3]) && typeof currentValue === "function") {
281867
- object[key3] = currentValue(object[key3]);
281414
+ var defuArrayFn = createDefu((object, key2, currentValue) => {
281415
+ if (Array.isArray(object[key2]) && typeof currentValue === "function") {
281416
+ object[key2] = currentValue(object[key2]);
281868
281417
  return true;
281869
281418
  }
281870
281419
  });
@@ -282126,11 +281675,11 @@ function cacheDirectory() {
282126
281675
  }
282127
281676
  function normalizeHeaders(headers = {}) {
282128
281677
  const normalized = {};
282129
- for (const [key3, value4] of Object.entries(headers)) {
281678
+ for (const [key2, value4] of Object.entries(headers)) {
282130
281679
  if (!value4) {
282131
281680
  continue;
282132
281681
  }
282133
- normalized[key3.toLowerCase()] = value4;
281682
+ normalized[key2.toLowerCase()] = value4;
282134
281683
  }
282135
281684
  return normalized;
282136
281685
  }
@@ -284312,7 +283861,7 @@ function jsonOutput(data) {
284312
283861
  var composer = require_composer();
284313
283862
  var Document = require_Document();
284314
283863
  var Schema = require_Schema();
284315
- var errors3 = require_errors3();
283864
+ var errors2 = require_errors3();
284316
283865
  var Alias = require_Alias();
284317
283866
  var identity2 = require_identity();
284318
283867
  var Pair = require_Pair();
@@ -284328,9 +283877,9 @@ var visit2 = require_visit();
284328
283877
  var $Composer = composer.Composer;
284329
283878
  var $Document = Document.Document;
284330
283879
  var $Schema = Schema.Schema;
284331
- var $YAMLError = errors3.YAMLError;
284332
- var $YAMLParseError = errors3.YAMLParseError;
284333
- var $YAMLWarning = errors3.YAMLWarning;
283880
+ var $YAMLError = errors2.YAMLError;
283881
+ var $YAMLParseError = errors2.YAMLParseError;
283882
+ var $YAMLWarning = errors2.YAMLWarning;
284334
283883
  var $Alias = Alias.Alias;
284335
283884
  var $isAlias = identity2.isAlias;
284336
283885
  var $isCollection = identity2.isCollection;
@@ -284676,7 +284225,7 @@ async function getServicesAndMapResults({
284676
284225
  const application = await settlemint.application.read(applicationUniqueName);
284677
284226
  const services = await servicesSpinner(settlemint, applicationUniqueName, types2);
284678
284227
  const results = (types2 ?? SERVICE_TYPES).filter((serviceType) => !types2 || types2.includes(serviceType)).map((serviceType) => {
284679
- const [_5, labels] = Object.entries(LABELS_MAP).find(([key3, value4]) => value4.command === serviceType) ?? [
284228
+ const [_5, labels] = Object.entries(LABELS_MAP).find(([key2, value4]) => value4.command === serviceType) ?? [
284680
284229
  null,
284681
284230
  { plural: serviceType }
284682
284231
  ];
@@ -284904,11 +284453,11 @@ function createCommand4() {
284904
284453
 
284905
284454
  // src/utils/commands/passthrough-options.ts
284906
284455
  function mapPassthroughOptions(options, command) {
284907
- const optionArgs = Object.entries(options).map(([key3, value4]) => {
284456
+ const optionArgs = Object.entries(options).map(([key2, value4]) => {
284908
284457
  if (value4 === true) {
284909
- return `--${key3}`;
284458
+ return `--${key2}`;
284910
284459
  }
284911
- return `--${key3}=${value4}`;
284460
+ return `--${key2}=${value4}`;
284912
284461
  });
284913
284462
  return [...optionArgs, ...command.args];
284914
284463
  }
@@ -285832,4 +285381,4 @@ async function sdkCliCommand(argv = process.argv) {
285832
285381
  // src/cli.ts
285833
285382
  sdkCliCommand();
285834
285383
 
285835
- //# debugId=57ECE5FE40C5397F64756E2164756E21
285384
+ //# debugId=D566046FD7C6B0E964756E2164756E21