@settlemint/sdk-cli 2.5.13-pr9681ba8f → 2.5.13

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
@@ -4722,7 +4722,7 @@ var require_colors = __commonJS((exports, module) => {
4722
4722
  }
4723
4723
  return (message) => message;
4724
4724
  }
4725
- function bold3(message) {
4725
+ function bold2(message) {
4726
4726
  if (depth.getColorDepth() >= 4) {
4727
4727
  return `\x1B[1m${message}\x1B[22m`;
4728
4728
  }
@@ -4730,14 +4730,14 @@ var require_colors = __commonJS((exports, module) => {
4730
4730
  }
4731
4731
  module.exports = {
4732
4732
  getColor,
4733
- bold: bold3
4733
+ bold: bold2
4734
4734
  };
4735
4735
  });
4736
4736
 
4737
4737
  // ../../node_modules/.bun/@dotenvx+dotenvx@1.48.4/node_modules/@dotenvx/dotenvx/src/shared/logger.js
4738
4738
  var require_logger = __commonJS((exports, module) => {
4739
4739
  var packageJson = require_packageJson();
4740
- var { getColor, bold: bold3 } = require_colors();
4740
+ var { getColor, bold: bold2 } = require_colors();
4741
4741
  var levels = {
4742
4742
  error: 0,
4743
4743
  warn: 1,
@@ -4749,7 +4749,7 @@ var require_logger = __commonJS((exports, module) => {
4749
4749
  debug: 5,
4750
4750
  silly: 6
4751
4751
  };
4752
- var error43 = (m) => bold3(getColor("red")(m));
4752
+ var error43 = (m) => bold2(getColor("red")(m));
4753
4753
  var warn = getColor("orangered");
4754
4754
  var success2 = getColor("green");
4755
4755
  var successv = getColor("olive");
@@ -6211,11 +6211,11 @@ var require_picomatch = __commonJS((exports, module) => {
6211
6211
  return { isMatch: false, output: "" };
6212
6212
  }
6213
6213
  const opts = options || {};
6214
- const format3 = opts.format || (posix ? utils.toPosixSlashes : null);
6214
+ const format2 = opts.format || (posix ? utils.toPosixSlashes : null);
6215
6215
  let match = input === glob;
6216
- let output = match && format3 ? format3(input) : input;
6216
+ let output = match && format2 ? format2(input) : input;
6217
6217
  if (match === false) {
6218
- output = format3 ? format3(input) : input;
6218
+ output = format2 ? format2(input) : input;
6219
6219
  match = output === glob;
6220
6220
  }
6221
6221
  if (match === false || opts.capture === true) {
@@ -7025,7 +7025,7 @@ var require_main = __commonJS((exports, module) => {
7025
7025
  function supportsAnsi() {
7026
7026
  return process.stdout.isTTY;
7027
7027
  }
7028
- function dim3(text) {
7028
+ function dim2(text) {
7029
7029
  return supportsAnsi() ? `\x1B[2m${text}\x1B[0m` : text;
7030
7030
  }
7031
7031
  var LINE = /(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;
@@ -7222,7 +7222,7 @@ var require_main = __commonJS((exports, module) => {
7222
7222
  lastError = e;
7223
7223
  }
7224
7224
  }
7225
- _log(`injecting env (${keysCount}) from ${shortPaths.join(",")} ${dim3(`-- tip: ${_getRandomTip()}`)}`);
7225
+ _log(`injecting env (${keysCount}) from ${shortPaths.join(",")} ${dim2(`-- tip: ${_getRandomTip()}`)}`);
7226
7226
  }
7227
7227
  if (lastError) {
7228
7228
  return { parsed: parsedAll, error: lastError };
@@ -8949,7 +8949,7 @@ var require_utils4 = __commonJS((exports) => {
8949
8949
  let v = u8n(hashLen);
8950
8950
  let k = u8n(hashLen);
8951
8951
  let i = 0;
8952
- const reset3 = () => {
8952
+ const reset2 = () => {
8953
8953
  v.fill(1);
8954
8954
  k.fill(0);
8955
8955
  i = 0;
@@ -8977,12 +8977,12 @@ var require_utils4 = __commonJS((exports) => {
8977
8977
  return (0, utils_js_1.concatBytes)(...out);
8978
8978
  };
8979
8979
  const genUntil = (seed, pred) => {
8980
- reset3();
8980
+ reset2();
8981
8981
  reseed(seed);
8982
8982
  let res = undefined;
8983
8983
  while (!(res = pred(gen())))
8984
8984
  reseed();
8985
- reset3();
8985
+ reset2();
8986
8986
  return res;
8987
8987
  };
8988
8988
  return genUntil;
@@ -11452,10 +11452,10 @@ var require_weierstrass = __commonJS((exports) => {
11452
11452
  normalizeS() {
11453
11453
  return this.hasHighS() ? new Signature(this.r, Fn.neg(this.s), this.recovery) : this;
11454
11454
  }
11455
- toBytes(format3) {
11456
- if (format3 === "compact")
11455
+ toBytes(format2) {
11456
+ if (format2 === "compact")
11457
11457
  return (0, utils_ts_1.concatBytes)(Fn.toBytes(this.r), Fn.toBytes(this.s));
11458
- if (format3 === "der")
11458
+ if (format2 === "der")
11459
11459
  return (0, utils_ts_1.hexToBytes)(exports.DER.hexFromSig(this));
11460
11460
  throw new Error("invalid format");
11461
11461
  }
@@ -11588,20 +11588,20 @@ var require_weierstrass = __commonJS((exports) => {
11588
11588
  msgHash = (0, utils_ts_1.ensureBytes)("msgHash", msgHash);
11589
11589
  publicKey = (0, utils_ts_1.ensureBytes)("publicKey", publicKey);
11590
11590
  validateSigVerOpts(opts);
11591
- const { lowS, prehash, format: format3 } = opts;
11591
+ const { lowS, prehash, format: format2 } = opts;
11592
11592
  if ("strict" in opts)
11593
11593
  throw new Error("options.strict was renamed to lowS");
11594
- if (format3 !== undefined && !["compact", "der", "js"].includes(format3))
11594
+ if (format2 !== undefined && !["compact", "der", "js"].includes(format2))
11595
11595
  throw new Error('format must be "compact", "der" or "js"');
11596
11596
  const isHex = typeof sg === "string" || (0, utils_ts_1.isBytes)(sg);
11597
- const isObj = !isHex && !format3 && typeof sg === "object" && sg !== null && typeof sg.r === "bigint" && typeof sg.s === "bigint";
11597
+ const isObj = !isHex && !format2 && typeof sg === "object" && sg !== null && typeof sg.r === "bigint" && typeof sg.s === "bigint";
11598
11598
  if (!isHex && !isObj)
11599
11599
  throw new Error("invalid signature, expected Uint8Array, hex string or Signature instance");
11600
11600
  let _sig = undefined;
11601
11601
  let P;
11602
11602
  try {
11603
11603
  if (isObj) {
11604
- if (format3 === undefined || format3 === "js") {
11604
+ if (format2 === undefined || format2 === "js") {
11605
11605
  _sig = new Signature(sg.r, sg.s);
11606
11606
  } else {
11607
11607
  throw new Error("invalid format");
@@ -11609,13 +11609,13 @@ var require_weierstrass = __commonJS((exports) => {
11609
11609
  }
11610
11610
  if (isHex) {
11611
11611
  try {
11612
- if (format3 !== "compact")
11612
+ if (format2 !== "compact")
11613
11613
  _sig = Signature.fromDER(sg);
11614
11614
  } catch (derError) {
11615
11615
  if (!(derError instanceof exports.DER.Err))
11616
11616
  throw derError;
11617
11617
  }
11618
- if (!_sig && format3 !== "der")
11618
+ if (!_sig && format2 !== "der")
11619
11619
  _sig = Signature.fromCompact(sg);
11620
11620
  }
11621
11621
  P = Point.fromHex(publicKey);
@@ -14540,7 +14540,7 @@ var require_isIgnoringDotenvKeys = __commonJS((exports, module) => {
14540
14540
  var require_main2 = __commonJS((exports, module) => {
14541
14541
  var path = __require("path");
14542
14542
  var { setLogLevel, setLogName, setLogVersion, logger } = require_logger();
14543
- var { getColor, bold: bold3 } = require_colors();
14543
+ var { getColor, bold: bold2 } = require_colors();
14544
14544
  var Ls = require_ls();
14545
14545
  var Run = require_run();
14546
14546
  var Sets = require_sets();
@@ -14786,7 +14786,7 @@ var require_main2 = __commonJS((exports, module) => {
14786
14786
  setLogLevel,
14787
14787
  logger,
14788
14788
  getColor,
14789
- bold: bold3
14789
+ bold: bold2
14790
14790
  };
14791
14791
  });
14792
14792
 
@@ -41726,11 +41726,11 @@ var require_lib12 = __commonJS((exports, module) => {
41726
41726
  [Symbol.for("newline")]: newline,
41727
41727
  ...rest
41728
41728
  } = this.content;
41729
- const format3 = indent === undefined ? " " : indent;
41729
+ const format2 = indent === undefined ? " " : indent;
41730
41730
  const eol = newline === undefined ? `
41731
41731
  ` : newline;
41732
41732
  const content = sort ? packageSort(rest) : rest;
41733
- const fileContent = `${JSON.stringify(content, null, format3)}
41733
+ const fileContent = `${JSON.stringify(content, null, format2)}
41734
41734
  `.replace(/\n/g, eol);
41735
41735
  if (fileContent.trim() !== this.#readFileContent.trim()) {
41736
41736
  const written = await writeFile2(this.filename, fileContent);
@@ -75039,14 +75039,14 @@ ${lanes.join(`
75039
75039
  const {
75040
75040
  languageVersion,
75041
75041
  setExternalModuleIndicator: overrideSetExternalModuleIndicator,
75042
- impliedNodeFormat: format3,
75042
+ impliedNodeFormat: format2,
75043
75043
  jsDocParsingMode
75044
75044
  } = typeof languageVersionOrOptions === "object" ? languageVersionOrOptions : { languageVersion: languageVersionOrOptions };
75045
75045
  if (languageVersion === 100) {
75046
75046
  result = Parser.parseSourceFile(fileName, sourceText, languageVersion, undefined, setParentNodes, 6, noop, jsDocParsingMode);
75047
75047
  } else {
75048
- const setIndicator = format3 === undefined ? overrideSetExternalModuleIndicator : (file2) => {
75049
- file2.impliedNodeFormat = format3;
75048
+ const setIndicator = format2 === undefined ? overrideSetExternalModuleIndicator : (file2) => {
75049
+ file2.impliedNodeFormat = format2;
75050
75050
  return (overrideSetExternalModuleIndicator || setExternalModuleIndicator)(file2);
75051
75051
  };
75052
75052
  result = Parser.parseSourceFile(fileName, sourceText, languageVersion, undefined, setParentNodes, scriptKind, setIndicator, jsDocParsingMode);
@@ -146463,8 +146463,8 @@ ${lanes.join(`
146463
146463
  writeNode(hint, node, sourceFile, beginPrint());
146464
146464
  return endPrint();
146465
146465
  }
146466
- function printList(format3, nodes, sourceFile) {
146467
- writeList(format3, nodes, sourceFile, beginPrint());
146466
+ function printList(format2, nodes, sourceFile) {
146467
+ writeList(format2, nodes, sourceFile, beginPrint());
146468
146468
  return endPrint();
146469
146469
  }
146470
146470
  function printBundle(bundle) {
@@ -146482,13 +146482,13 @@ ${lanes.join(`
146482
146482
  reset22();
146483
146483
  writer = previousWriter;
146484
146484
  }
146485
- function writeList(format3, nodes, sourceFile, output) {
146485
+ function writeList(format2, nodes, sourceFile, output) {
146486
146486
  const previousWriter = writer;
146487
146487
  setWriter(output, undefined);
146488
146488
  if (sourceFile) {
146489
146489
  setSourceFile(sourceFile);
146490
146490
  }
146491
- emitList(undefined, nodes, format3);
146491
+ emitList(undefined, nodes, format2);
146492
146492
  reset22();
146493
146493
  writer = previousWriter;
146494
146494
  }
@@ -147853,9 +147853,9 @@ ${lanes.join(`
147853
147853
  }
147854
147854
  function emitBlockStatements(node, forceSingleLine) {
147855
147855
  emitTokenWithComment(19, node.pos, writePunctuation, node);
147856
- const format3 = forceSingleLine || getEmitFlags(node) & 1 ? 768 : 129;
147857
- emitList(node, node.statements, format3);
147858
- emitTokenWithComment(20, node.statements.end, writePunctuation, node, !!(format3 & 1));
147856
+ const format2 = forceSingleLine || getEmitFlags(node) & 1 ? 768 : 129;
147857
+ emitList(node, node.statements, format2);
147858
+ emitTokenWithComment(20, node.statements.end, writePunctuation, node, !!(format2 & 1));
147859
147859
  }
147860
147860
  function emitVariableStatement(node) {
147861
147861
  emitDecoratorsAndModifiers(node, node.modifiers, false);
@@ -148604,15 +148604,15 @@ ${lanes.join(`
148604
148604
  }
148605
148605
  function emitCaseOrDefaultClauseRest(parentNode, statements, colonPos) {
148606
148606
  const emitAsSingleStatement = statements.length === 1 && (!currentSourceFile || nodeIsSynthesized(parentNode) || nodeIsSynthesized(statements[0]) || rangeStartPositionsAreOnSameLine(parentNode, statements[0], currentSourceFile));
148607
- let format3 = 163969;
148607
+ let format2 = 163969;
148608
148608
  if (emitAsSingleStatement) {
148609
148609
  writeToken(59, colonPos, writePunctuation, parentNode);
148610
148610
  writeSpace();
148611
- format3 &= ~(1 | 128);
148611
+ format2 &= ~(1 | 128);
148612
148612
  } else {
148613
148613
  emitTokenWithComment(59, colonPos, writePunctuation, parentNode);
148614
148614
  }
148615
- emitList(parentNode, statements, format3);
148615
+ emitList(parentNode, statements, format2);
148616
148616
  }
148617
148617
  function emitHeritageClause(node) {
148618
148618
  writeSpace();
@@ -149091,8 +149091,8 @@ ${lanes.join(`
149091
149091
  function emitParametersForIndexSignature(parentNode, parameters) {
149092
149092
  emitList(parentNode, parameters, 8848);
149093
149093
  }
149094
- function writeDelimiter(format3) {
149095
- switch (format3 & 60) {
149094
+ function writeDelimiter(format2) {
149095
+ switch (format2 & 60) {
149096
149096
  case 0:
149097
149097
  break;
149098
149098
  case 16:
@@ -149113,58 +149113,58 @@ ${lanes.join(`
149113
149113
  break;
149114
149114
  }
149115
149115
  }
149116
- function emitList(parentNode, children, format3, parenthesizerRule, start, count) {
149117
- emitNodeList(emit, parentNode, children, format3 | (parentNode && getEmitFlags(parentNode) & 2 ? 65536 : 0), parenthesizerRule, start, count);
149116
+ function emitList(parentNode, children, format2, parenthesizerRule, start, count) {
149117
+ emitNodeList(emit, parentNode, children, format2 | (parentNode && getEmitFlags(parentNode) & 2 ? 65536 : 0), parenthesizerRule, start, count);
149118
149118
  }
149119
- function emitExpressionList(parentNode, children, format3, parenthesizerRule, start, count) {
149120
- emitNodeList(emitExpression, parentNode, children, format3, parenthesizerRule, start, count);
149119
+ function emitExpressionList(parentNode, children, format2, parenthesizerRule, start, count) {
149120
+ emitNodeList(emitExpression, parentNode, children, format2, parenthesizerRule, start, count);
149121
149121
  }
149122
- function emitNodeList(emit2, parentNode, children, format3, parenthesizerRule, start = 0, count = children ? children.length - start : 0) {
149122
+ function emitNodeList(emit2, parentNode, children, format2, parenthesizerRule, start = 0, count = children ? children.length - start : 0) {
149123
149123
  const isUndefined = children === undefined;
149124
- if (isUndefined && format3 & 16384) {
149124
+ if (isUndefined && format2 & 16384) {
149125
149125
  return;
149126
149126
  }
149127
149127
  const isEmpty2 = children === undefined || start >= children.length || count === 0;
149128
- if (isEmpty2 && format3 & 32768) {
149128
+ if (isEmpty2 && format2 & 32768) {
149129
149129
  onBeforeEmitNodeArray == null || onBeforeEmitNodeArray(children);
149130
149130
  onAfterEmitNodeArray == null || onAfterEmitNodeArray(children);
149131
149131
  return;
149132
149132
  }
149133
- if (format3 & 15360) {
149134
- writePunctuation(getOpeningBracket(format3));
149133
+ if (format2 & 15360) {
149134
+ writePunctuation(getOpeningBracket(format2));
149135
149135
  if (isEmpty2 && children) {
149136
149136
  emitTrailingCommentsOfPosition(children.pos, true);
149137
149137
  }
149138
149138
  }
149139
149139
  onBeforeEmitNodeArray == null || onBeforeEmitNodeArray(children);
149140
149140
  if (isEmpty2) {
149141
- if (format3 & 1 && !(preserveSourceNewlines && (!parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile)))) {
149141
+ if (format2 & 1 && !(preserveSourceNewlines && (!parentNode || currentSourceFile && rangeIsOnSingleLine(parentNode, currentSourceFile)))) {
149142
149142
  writeLine();
149143
- } else if (format3 & 256 && !(format3 & 524288)) {
149143
+ } else if (format2 & 256 && !(format2 & 524288)) {
149144
149144
  writeSpace();
149145
149145
  }
149146
149146
  } else {
149147
- emitNodeListItems(emit2, parentNode, children, format3, parenthesizerRule, start, count, children.hasTrailingComma, children);
149147
+ emitNodeListItems(emit2, parentNode, children, format2, parenthesizerRule, start, count, children.hasTrailingComma, children);
149148
149148
  }
149149
149149
  onAfterEmitNodeArray == null || onAfterEmitNodeArray(children);
149150
- if (format3 & 15360) {
149150
+ if (format2 & 15360) {
149151
149151
  if (isEmpty2 && children) {
149152
149152
  emitLeadingCommentsOfPosition(children.end);
149153
149153
  }
149154
- writePunctuation(getClosingBracket(format3));
149154
+ writePunctuation(getClosingBracket(format2));
149155
149155
  }
149156
149156
  }
149157
- function emitNodeListItems(emit2, parentNode, children, format3, parenthesizerRule, start, count, hasTrailingComma, childrenTextRange) {
149158
- const mayEmitInterveningComments = (format3 & 262144) === 0;
149157
+ function emitNodeListItems(emit2, parentNode, children, format2, parenthesizerRule, start, count, hasTrailingComma, childrenTextRange) {
149158
+ const mayEmitInterveningComments = (format2 & 262144) === 0;
149159
149159
  let shouldEmitInterveningComments = mayEmitInterveningComments;
149160
- const leadingLineTerminatorCount = getLeadingLineTerminatorCount(parentNode, children[start], format3);
149160
+ const leadingLineTerminatorCount = getLeadingLineTerminatorCount(parentNode, children[start], format2);
149161
149161
  if (leadingLineTerminatorCount) {
149162
149162
  writeLine(leadingLineTerminatorCount);
149163
149163
  shouldEmitInterveningComments = false;
149164
- } else if (format3 & 256) {
149164
+ } else if (format2 & 256) {
149165
149165
  writeSpace();
149166
149166
  }
149167
- if (format3 & 128) {
149167
+ if (format2 & 128) {
149168
149168
  increaseIndent();
149169
149169
  }
149170
149170
  const emitListItem = getEmitListItem(emit2, parenthesizerRule);
@@ -149172,30 +149172,30 @@ ${lanes.join(`
149172
149172
  let shouldDecreaseIndentAfterEmit = false;
149173
149173
  for (let i2 = 0;i2 < count; i2++) {
149174
149174
  const child = children[start + i2];
149175
- if (format3 & 32) {
149175
+ if (format2 & 32) {
149176
149176
  writeLine();
149177
- writeDelimiter(format3);
149177
+ writeDelimiter(format2);
149178
149178
  } else if (previousSibling) {
149179
- if (format3 & 60 && previousSibling.end !== (parentNode ? parentNode.end : -1)) {
149179
+ if (format2 & 60 && previousSibling.end !== (parentNode ? parentNode.end : -1)) {
149180
149180
  const previousSiblingEmitFlags = getEmitFlags(previousSibling);
149181
149181
  if (!(previousSiblingEmitFlags & 2048)) {
149182
149182
  emitLeadingCommentsOfPosition(previousSibling.end);
149183
149183
  }
149184
149184
  }
149185
- writeDelimiter(format3);
149186
- const separatingLineTerminatorCount = getSeparatingLineTerminatorCount(previousSibling, child, format3);
149185
+ writeDelimiter(format2);
149186
+ const separatingLineTerminatorCount = getSeparatingLineTerminatorCount(previousSibling, child, format2);
149187
149187
  if (separatingLineTerminatorCount > 0) {
149188
- if ((format3 & (3 | 128)) === 0) {
149188
+ if ((format2 & (3 | 128)) === 0) {
149189
149189
  increaseIndent();
149190
149190
  shouldDecreaseIndentAfterEmit = true;
149191
149191
  }
149192
- if (shouldEmitInterveningComments && format3 & 60 && !positionIsSynthesized(child.pos)) {
149192
+ if (shouldEmitInterveningComments && format2 & 60 && !positionIsSynthesized(child.pos)) {
149193
149193
  const commentRange = getCommentRange(child);
149194
- emitTrailingCommentsOfPosition(commentRange.pos, !!(format3 & 512), true);
149194
+ emitTrailingCommentsOfPosition(commentRange.pos, !!(format2 & 512), true);
149195
149195
  }
149196
149196
  writeLine(separatingLineTerminatorCount);
149197
149197
  shouldEmitInterveningComments = false;
149198
- } else if (previousSibling && format3 & 512) {
149198
+ } else if (previousSibling && format2 & 512) {
149199
149199
  writeSpace();
149200
149200
  }
149201
149201
  }
@@ -149215,7 +149215,7 @@ ${lanes.join(`
149215
149215
  }
149216
149216
  const emitFlags = previousSibling ? getEmitFlags(previousSibling) : 0;
149217
149217
  const skipTrailingComments = commentsDisabled || !!(emitFlags & 2048);
149218
- const emitTrailingComma = hasTrailingComma && format3 & 64 && format3 & 16;
149218
+ const emitTrailingComma = hasTrailingComma && format2 & 64 && format2 & 16;
149219
149219
  if (emitTrailingComma) {
149220
149220
  if (previousSibling && !skipTrailingComments) {
149221
149221
  emitTokenWithComment(28, previousSibling.end, writePunctuation, previousSibling);
@@ -149223,16 +149223,16 @@ ${lanes.join(`
149223
149223
  writePunctuation(",");
149224
149224
  }
149225
149225
  }
149226
- if (previousSibling && (parentNode ? parentNode.end : -1) !== previousSibling.end && format3 & 60 && !skipTrailingComments) {
149226
+ if (previousSibling && (parentNode ? parentNode.end : -1) !== previousSibling.end && format2 & 60 && !skipTrailingComments) {
149227
149227
  emitLeadingCommentsOfPosition(emitTrailingComma && (childrenTextRange == null ? undefined : childrenTextRange.end) ? childrenTextRange.end : previousSibling.end);
149228
149228
  }
149229
- if (format3 & 128) {
149229
+ if (format2 & 128) {
149230
149230
  decreaseIndent();
149231
149231
  }
149232
- const closingLineTerminatorCount = getClosingLineTerminatorCount(parentNode, children[start + count - 1], format3, childrenTextRange);
149232
+ const closingLineTerminatorCount = getClosingLineTerminatorCount(parentNode, children[start + count - 1], format2, childrenTextRange);
149233
149233
  if (closingLineTerminatorCount) {
149234
149234
  writeLine(closingLineTerminatorCount);
149235
- } else if (format3 & (2097152 | 256)) {
149235
+ } else if (format2 & (2097152 | 256)) {
149236
149236
  writeSpace();
149237
149237
  }
149238
149238
  }
@@ -149348,9 +149348,9 @@ ${lanes.join(`
149348
149348
  decreaseIndent();
149349
149349
  }
149350
149350
  }
149351
- function getLeadingLineTerminatorCount(parentNode, firstChild, format3) {
149352
- if (format3 & 2 || preserveSourceNewlines) {
149353
- if (format3 & 65536) {
149351
+ function getLeadingLineTerminatorCount(parentNode, firstChild, format2) {
149352
+ if (format2 & 2 || preserveSourceNewlines) {
149353
+ if (format2 & 65536) {
149354
149354
  return 1;
149355
149355
  }
149356
149356
  if (firstChild === undefined) {
@@ -149368,14 +149368,14 @@ ${lanes.join(`
149368
149368
  }
149369
149369
  return rangeStartPositionsAreOnSameLine(parentNode, firstChild, currentSourceFile) ? 0 : 1;
149370
149370
  }
149371
- if (synthesizedNodeStartsOnNewLine(firstChild, format3)) {
149371
+ if (synthesizedNodeStartsOnNewLine(firstChild, format2)) {
149372
149372
  return 1;
149373
149373
  }
149374
149374
  }
149375
- return format3 & 1 ? 1 : 0;
149375
+ return format2 & 1 ? 1 : 0;
149376
149376
  }
149377
- function getSeparatingLineTerminatorCount(previousNode, nextNode, format3) {
149378
- if (format3 & 2 || preserveSourceNewlines) {
149377
+ function getSeparatingLineTerminatorCount(previousNode, nextNode, format2) {
149378
+ if (format2 & 2 || preserveSourceNewlines) {
149379
149379
  if (previousNode === undefined || nextNode === undefined) {
149380
149380
  return 0;
149381
149381
  }
@@ -149387,18 +149387,18 @@ ${lanes.join(`
149387
149387
  } else if (!preserveSourceNewlines && originalNodesHaveSameParent(previousNode, nextNode)) {
149388
149388
  return rangeEndIsOnSameLineAsRangeStart(previousNode, nextNode, currentSourceFile) ? 0 : 1;
149389
149389
  }
149390
- return format3 & 65536 ? 1 : 0;
149391
- } else if (synthesizedNodeStartsOnNewLine(previousNode, format3) || synthesizedNodeStartsOnNewLine(nextNode, format3)) {
149390
+ return format2 & 65536 ? 1 : 0;
149391
+ } else if (synthesizedNodeStartsOnNewLine(previousNode, format2) || synthesizedNodeStartsOnNewLine(nextNode, format2)) {
149392
149392
  return 1;
149393
149393
  }
149394
149394
  } else if (getStartsOnNewLine(nextNode)) {
149395
149395
  return 1;
149396
149396
  }
149397
- return format3 & 1 ? 1 : 0;
149397
+ return format2 & 1 ? 1 : 0;
149398
149398
  }
149399
- function getClosingLineTerminatorCount(parentNode, lastChild, format3, childrenTextRange) {
149400
- if (format3 & 2 || preserveSourceNewlines) {
149401
- if (format3 & 65536) {
149399
+ function getClosingLineTerminatorCount(parentNode, lastChild, format2, childrenTextRange) {
149400
+ if (format2 & 2 || preserveSourceNewlines) {
149401
+ if (format2 & 65536) {
149402
149402
  return 1;
149403
149403
  }
149404
149404
  if (lastChild === undefined) {
@@ -149411,11 +149411,11 @@ ${lanes.join(`
149411
149411
  }
149412
149412
  return rangeEndPositionsAreOnSameLine(parentNode, lastChild, currentSourceFile) ? 0 : 1;
149413
149413
  }
149414
- if (synthesizedNodeStartsOnNewLine(lastChild, format3)) {
149414
+ if (synthesizedNodeStartsOnNewLine(lastChild, format2)) {
149415
149415
  return 1;
149416
149416
  }
149417
149417
  }
149418
- if (format3 & 1 && !(format3 & 131072)) {
149418
+ if (format2 & 1 && !(format2 & 131072)) {
149419
149419
  return 1;
149420
149420
  }
149421
149421
  return 0;
@@ -149441,15 +149441,15 @@ ${lanes.join(`
149441
149441
  writeLine(trailingNewlines);
149442
149442
  }
149443
149443
  }
149444
- function synthesizedNodeStartsOnNewLine(node, format3) {
149444
+ function synthesizedNodeStartsOnNewLine(node, format2) {
149445
149445
  if (nodeIsSynthesized(node)) {
149446
149446
  const startsOnNewLine = getStartsOnNewLine(node);
149447
149447
  if (startsOnNewLine === undefined) {
149448
- return (format3 & 65536) !== 0;
149448
+ return (format2 & 65536) !== 0;
149449
149449
  }
149450
149450
  return startsOnNewLine;
149451
149451
  }
149452
- return (format3 & 65536) !== 0;
149452
+ return (format2 & 65536) !== 0;
149453
149453
  }
149454
149454
  function getLinesBetweenNodes(parent2, node1, node2) {
149455
149455
  if (getEmitFlags(parent2) & 262144) {
@@ -150279,11 +150279,11 @@ ${lanes.join(`
150279
150279
  brackets2[8192] = ["[", "]"];
150280
150280
  return brackets2;
150281
150281
  }
150282
- function getOpeningBracket(format3) {
150283
- return brackets[format3 & 15360][0];
150282
+ function getOpeningBracket(format2) {
150283
+ return brackets[format2 & 15360][0];
150284
150284
  }
150285
- function getClosingBracket(format3) {
150286
- return brackets[format3 & 15360][1];
150285
+ function getClosingBracket(format2) {
150286
+ return brackets[format2 & 15360][1];
150287
150287
  }
150288
150288
  function emitListItemNoParenthesizer(node, emit, _parenthesizerRule, _index) {
150289
150289
  emit(node);
@@ -159645,13 +159645,13 @@ ${lanes.join(`
159645
159645
  brightWhite: (str) => str
159646
159646
  };
159647
159647
  }
159648
- function bold3(str) {
159648
+ function bold2(str) {
159649
159649
  return `\x1B[1m${str}\x1B[22m`;
159650
159650
  }
159651
159651
  const isWindows2 = sys2.getEnvironmentVariable("OS") && sys2.getEnvironmentVariable("OS").toLowerCase().includes("windows");
159652
159652
  const isWindowsTerminal = sys2.getEnvironmentVariable("WT_SESSION");
159653
159653
  const isVSCode = sys2.getEnvironmentVariable("TERM_PROGRAM") && sys2.getEnvironmentVariable("TERM_PROGRAM") === "vscode";
159654
- function blue3(str) {
159654
+ function blue2(str) {
159655
159655
  if (isWindows2 && !isWindowsTerminal && !isVSCode) {
159656
159656
  return brightWhite(str);
159657
159657
  }
@@ -159669,8 +159669,8 @@ ${lanes.join(`
159669
159669
  return `\x1B[97m${str}\x1B[39m`;
159670
159670
  }
159671
159671
  return {
159672
- bold: bold3,
159673
- blue: blue3,
159672
+ bold: bold2,
159673
+ blue: blue2,
159674
159674
  brightWhite,
159675
159675
  blueBackground
159676
159676
  };
@@ -167734,7 +167734,7 @@ interface Symbol {
167734
167734
  try {
167735
167735
  return map2(primaryNavBarMenuItems(rootNavigationBarNode(sourceFile)), convertToPrimaryNavBarMenuItem);
167736
167736
  } finally {
167737
- reset3();
167737
+ reset2();
167738
167738
  }
167739
167739
  }
167740
167740
  function getNavigationTree(sourceFile, cancellationToken) {
@@ -167743,10 +167743,10 @@ interface Symbol {
167743
167743
  try {
167744
167744
  return convertToTree(rootNavigationBarNode(sourceFile));
167745
167745
  } finally {
167746
- reset3();
167746
+ reset2();
167747
167747
  }
167748
167748
  }
167749
- function reset3() {
167749
+ function reset2() {
167750
167750
  curSourceFile = undefined;
167751
167751
  curCancellationToken = undefined;
167752
167752
  parentsStack = [];
@@ -174644,18 +174644,18 @@ ${newComment.split(`
174644
174644
  function getNavigationTree2(fileName) {
174645
174645
  return getNavigationTree(syntaxTreeCache.getCurrentSourceFile(fileName), cancellationToken);
174646
174646
  }
174647
- function getSemanticClassifications3(fileName, span, format3) {
174647
+ function getSemanticClassifications3(fileName, span, format2) {
174648
174648
  synchronizeHostData();
174649
- const responseFormat = format3 || "original";
174649
+ const responseFormat = format2 || "original";
174650
174650
  if (responseFormat === "2020") {
174651
174651
  return getSemanticClassifications2(program2, cancellationToken, getValidSourceFile(fileName), span);
174652
174652
  } else {
174653
174653
  return getSemanticClassifications(program2.getTypeChecker(), cancellationToken, getValidSourceFile(fileName), program2.getClassifiableNames(), span);
174654
174654
  }
174655
174655
  }
174656
- function getEncodedSemanticClassifications3(fileName, span, format3) {
174656
+ function getEncodedSemanticClassifications3(fileName, span, format2) {
174657
174657
  synchronizeHostData();
174658
- const responseFormat = format3 || "original";
174658
+ const responseFormat = format2 || "original";
174659
174659
  if (responseFormat === "original") {
174660
174660
  return getEncodedSemanticClassifications(program2.getTypeChecker(), cancellationToken, getValidSourceFile(fileName), program2.getClassifiableNames(), span);
174661
174661
  } else {
@@ -186485,11 +186485,11 @@ ${newComment.split(`
186485
186485
  completionNodes[completionNodes.length - 1] = factory.replaceDecoratorsAndModifiers(lastNode, presentDecorators.concat(getModifiers(lastNode) || []));
186486
186486
  }
186487
186487
  }
186488
- const format3 = 1 | 131072;
186488
+ const format2 = 1 | 131072;
186489
186489
  if (formatContext) {
186490
- insertText = printer.printAndFormatSnippetList(format3, factory.createNodeArray(completionNodes), sourceFile, formatContext);
186490
+ insertText = printer.printAndFormatSnippetList(format2, factory.createNodeArray(completionNodes), sourceFile, formatContext);
186491
186491
  } else {
186492
- insertText = printer.printSnippetList(format3, factory.createNodeArray(completionNodes), sourceFile);
186492
+ insertText = printer.printSnippetList(format2, factory.createNodeArray(completionNodes), sourceFile);
186493
186493
  }
186494
186494
  }
186495
186495
  return { insertText, filterText, isSnippet, importAdder, eraseRange };
@@ -186643,19 +186643,19 @@ ${newComment.split(`
186643
186643
  write();
186644
186644
  }
186645
186645
  }
186646
- function printSnippetList(format3, list2, sourceFile) {
186647
- const unescaped = printUnescapedSnippetList(format3, list2, sourceFile);
186646
+ function printSnippetList(format2, list2, sourceFile) {
186647
+ const unescaped = printUnescapedSnippetList(format2, list2, sourceFile);
186648
186648
  return escapes ? ts_textChanges_exports.applyChanges(unescaped, escapes) : unescaped;
186649
186649
  }
186650
- function printUnescapedSnippetList(format3, list2, sourceFile) {
186650
+ function printUnescapedSnippetList(format2, list2, sourceFile) {
186651
186651
  escapes = undefined;
186652
186652
  writer.clear();
186653
- printer.writeList(format3, list2, sourceFile, writer);
186653
+ printer.writeList(format2, list2, sourceFile, writer);
186654
186654
  return writer.getText();
186655
186655
  }
186656
- function printAndFormatSnippetList(format3, list2, sourceFile, formatContext) {
186656
+ function printAndFormatSnippetList(format2, list2, sourceFile, formatContext) {
186657
186657
  const syntheticFile = {
186658
- text: printUnescapedSnippetList(format3, list2, sourceFile),
186658
+ text: printUnescapedSnippetList(format2, list2, sourceFile),
186659
186659
  getLineAndCharacterOfPosition(pos) {
186660
186660
  return getLineAndCharacterOfPosition(this, pos);
186661
186661
  }
@@ -197017,8 +197017,8 @@ ${options.prefix}` : `
197017
197017
  return change.text;
197018
197018
  }
197019
197019
  const { options = {}, range: { pos } } = change;
197020
- const format3 = (n2) => getFormattedTextOfNode(n2, targetSourceFile, sourceFile, pos, options, newLineCharacter, formatContext, validate3);
197021
- const text = change.kind === 2 ? change.nodes.map((n2) => removeSuffix(format3(n2), newLineCharacter)).join(((_a = change.options) == null ? undefined : _a.joiner) || newLineCharacter) : format3(change.node);
197020
+ const format2 = (n2) => getFormattedTextOfNode(n2, targetSourceFile, sourceFile, pos, options, newLineCharacter, formatContext, validate3);
197021
+ const text = change.kind === 2 ? change.nodes.map((n2) => removeSuffix(format2(n2), newLineCharacter)).join(((_a = change.options) == null ? undefined : _a.joiner) || newLineCharacter) : format2(change.node);
197022
197022
  const noIndent = options.indentation !== undefined || getLineStartPositionForPosition(pos, targetSourceFile) === pos ? text : text.replace(/^\s+/, "");
197023
197023
  return (options.prefix || "") + noIndent + (!options.suffix || endsWith(noIndent, options.suffix) ? "" : options.suffix);
197024
197024
  }
@@ -210059,8 +210059,8 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
210059
210059
  }
210060
210060
  getEncodedSemanticClassifications(args) {
210061
210061
  const { file: file2, project } = this.getFileAndProject(args);
210062
- const format3 = args.format === "2020" ? "2020" : "original";
210063
- return project.getLanguageService().getEncodedSemanticClassifications(file2, args, format3);
210062
+ const format2 = args.format === "2020" ? "2020" : "original";
210063
+ return project.getLanguageService().getEncodedSemanticClassifications(file2, args, format2);
210064
210064
  }
210065
210065
  getProject(projectFileName) {
210066
210066
  return projectFileName === undefined ? undefined : this.projectService.findProject(projectFileName);
@@ -223705,7 +223705,7 @@ function indent(e11, t9) {
223705
223705
  function code(e11) {
223706
223706
  return text`${cmd(Se.Style, $e.Underline)}${e11}${cmd(Se.Style, $e.NoUnderline)}`;
223707
223707
  }
223708
- function bold3(e11) {
223708
+ function bold2(e11) {
223709
223709
  return text`${cmd(Se.Style, $e.Bold)}${e11}${cmd(Se.Style, $e.Normal)}`;
223710
223710
  }
223711
223711
  function hint(e11) {
@@ -224792,7 +224792,7 @@ async function* run$1() {
224792
224792
  } else if (!semverComply(r7, Xe)) {
224793
224793
  yield failedTask(mt.CHECK_TS_VERSION);
224794
224794
  throw errorMessage(`The version of ${code("typescript")} in your dependencies is out of date.
224795
- ` + hint(`${code("gql.tada")} requires at least ${bold3(Xe)}`));
224795
+ ` + hint(`${code("gql.tada")} requires at least ${bold2(Xe)}`));
224796
224796
  }
224797
224797
  yield completedTask(mt.CHECK_TS_VERSION);
224798
224798
  yield runningTask(mt.CHECK_DEPENDENCIES);
@@ -224818,7 +224818,7 @@ async function* run$1() {
224818
224818
  } else if (!semverComply(l4, Ze)) {
224819
224819
  yield failedTask(mt.CHECK_DEPENDENCIES);
224820
224820
  throw errorMessage(`The version of ${code("@0no-co/graphqlsp")} in your dependencies is out of date.
224821
- ` + hint(`${code("gql.tada")} requires at least ${bold3(Ze)}`));
224821
+ ` + hint(`${code("gql.tada")} requires at least ${bold2(Ze)}`));
224822
224822
  }
224823
224823
  }
224824
224824
  var c3 = await (async (e12) => {
@@ -224840,7 +224840,7 @@ async function* run$1() {
224840
224840
  } else if (!semverComply(c3, "1.0.0")) {
224841
224841
  yield failedTask(mt.CHECK_DEPENDENCIES);
224842
224842
  throw errorMessage(`The version of ${code("gql.tada")} in your dependencies is out of date.
224843
- ` + hint(`It's recommended to upgrade ${code("gql.tada")} to at least ${bold3(Ze)}`));
224843
+ ` + hint(`It's recommended to upgrade ${code("gql.tada")} to at least ${bold2(Ze)}`));
224844
224844
  }
224845
224845
  yield completedTask(mt.CHECK_DEPENDENCIES);
224846
224846
  yield runningTask(mt.CHECK_TSCONFIG);
@@ -234491,7 +234491,7 @@ function createHmacDrbg(hashLen, qByteLen, hmacFn) {
234491
234491
  let v6 = u8n(hashLen);
234492
234492
  let k5 = u8n(hashLen);
234493
234493
  let i7 = 0;
234494
- const reset3 = () => {
234494
+ const reset2 = () => {
234495
234495
  v6.fill(1);
234496
234496
  k5.fill(0);
234497
234497
  i7 = 0;
@@ -234519,12 +234519,12 @@ function createHmacDrbg(hashLen, qByteLen, hmacFn) {
234519
234519
  return concatBytes(...out);
234520
234520
  };
234521
234521
  const genUntil = (seed, pred) => {
234522
- reset3();
234522
+ reset2();
234523
234523
  reseed(seed);
234524
234524
  let res = undefined;
234525
234525
  while (!(res = pred(gen2())))
234526
234526
  reseed();
234527
- reset3();
234527
+ reset2();
234528
234528
  return res;
234529
234529
  };
234530
234530
  return genUntil;
@@ -235187,10 +235187,10 @@ function _splitEndoScalar(k5, basis, n7) {
235187
235187
  }
235188
235188
  return { k1neg, k1, k2neg, k2: k22 };
235189
235189
  }
235190
- function validateSigFormat(format3) {
235191
- if (!["compact", "recovered", "der"].includes(format3))
235190
+ function validateSigFormat(format2) {
235191
+ if (!["compact", "recovered", "der"].includes(format2))
235192
235192
  throw new Error('Signature format must be "compact", "recovered", or "der"');
235193
- return format3;
235193
+ return format2;
235194
235194
  }
235195
235195
  function validateSigOpts(opts, def) {
235196
235196
  const optsn = {};
@@ -235834,11 +235834,11 @@ function ecdsa(Point, hash2, ecdsaOpts = {}) {
235834
235834
  throw new Error(`invalid signature ${title}: out of range 1..Point.Fn.ORDER`);
235835
235835
  return num;
235836
235836
  }
235837
- function validateSigLength(bytes, format3) {
235838
- validateSigFormat(format3);
235837
+ function validateSigLength(bytes, format2) {
235838
+ validateSigFormat(format2);
235839
235839
  const size2 = lengths.signature;
235840
- const sizer = format3 === "compact" ? size2 : format3 === "recovered" ? size2 + 1 : undefined;
235841
- return _abytes2(bytes, sizer, `${format3} signature`);
235840
+ const sizer = format2 === "compact" ? size2 : format2 === "recovered" ? size2 + 1 : undefined;
235841
+ return _abytes2(bytes, sizer, `${format2} signature`);
235842
235842
  }
235843
235843
 
235844
235844
  class Signature {
@@ -235849,16 +235849,16 @@ function ecdsa(Point, hash2, ecdsaOpts = {}) {
235849
235849
  this.recovery = recovery;
235850
235850
  Object.freeze(this);
235851
235851
  }
235852
- static fromBytes(bytes, format3 = defaultSigOpts_format) {
235853
- validateSigLength(bytes, format3);
235852
+ static fromBytes(bytes, format2 = defaultSigOpts_format) {
235853
+ validateSigLength(bytes, format2);
235854
235854
  let recid;
235855
- if (format3 === "der") {
235855
+ if (format2 === "der") {
235856
235856
  const { r: r8, s: s8 } = DER.toSig(_abytes2(bytes));
235857
235857
  return new Signature(r8, s8);
235858
235858
  }
235859
- if (format3 === "recovered") {
235859
+ if (format2 === "recovered") {
235860
235860
  recid = bytes[0];
235861
- format3 = "compact";
235861
+ format2 = "compact";
235862
235862
  bytes = bytes.subarray(1);
235863
235863
  }
235864
235864
  const L5 = Fn.BYTES;
@@ -235866,8 +235866,8 @@ function ecdsa(Point, hash2, ecdsaOpts = {}) {
235866
235866
  const s7 = bytes.subarray(L5, L5 * 2);
235867
235867
  return new Signature(Fn.fromBytes(r7), Fn.fromBytes(s7), recid);
235868
235868
  }
235869
- static fromHex(hex, format3) {
235870
- return this.fromBytes(hexToBytes2(hex), format3);
235869
+ static fromHex(hex, format2) {
235870
+ return this.fromBytes(hexToBytes2(hex), format2);
235871
235871
  }
235872
235872
  addRecoveryBit(recovery) {
235873
235873
  return new Signature(this.r, this.s, recovery);
@@ -235898,21 +235898,21 @@ function ecdsa(Point, hash2, ecdsaOpts = {}) {
235898
235898
  hasHighS() {
235899
235899
  return isBiggerThanHalfOrder(this.s);
235900
235900
  }
235901
- toBytes(format3 = defaultSigOpts_format) {
235902
- validateSigFormat(format3);
235903
- if (format3 === "der")
235901
+ toBytes(format2 = defaultSigOpts_format) {
235902
+ validateSigFormat(format2);
235903
+ if (format2 === "der")
235904
235904
  return hexToBytes2(DER.hexFromSig(this));
235905
235905
  const r7 = Fn.toBytes(this.r);
235906
235906
  const s7 = Fn.toBytes(this.s);
235907
- if (format3 === "recovered") {
235907
+ if (format2 === "recovered") {
235908
235908
  if (this.recovery == null)
235909
235909
  throw new Error("recovery bit must be present");
235910
235910
  return concatBytes(Uint8Array.of(this.recovery), r7, s7);
235911
235911
  }
235912
235912
  return concatBytes(r7, s7);
235913
235913
  }
235914
- toHex(format3) {
235915
- return bytesToHex2(this.toBytes(format3));
235914
+ toHex(format2) {
235915
+ return bytesToHex2(this.toBytes(format2));
235916
235916
  }
235917
235917
  assertValidity() {}
235918
235918
  static fromCompact(hex) {
@@ -236027,12 +236027,12 @@ function ecdsa(Point, hash2, ecdsaOpts = {}) {
236027
236027
  return sig;
236028
236028
  }
236029
236029
  function verify(signature, message, publicKey, opts = {}) {
236030
- const { lowS, prehash, format: format3 } = validateSigOpts(opts, defaultSigOpts);
236030
+ const { lowS, prehash, format: format2 } = validateSigOpts(opts, defaultSigOpts);
236031
236031
  publicKey = ensureBytes("publicKey", publicKey);
236032
236032
  message = validateMsgAndHash(ensureBytes("message", message), prehash);
236033
236033
  if ("strict" in opts)
236034
236034
  throw new Error("options.strict was renamed to lowS");
236035
- const sig = format3 === undefined ? tryParsingSig(signature) : Signature.fromBytes(ensureBytes("sig", signature), format3);
236035
+ const sig = format2 === undefined ? tryParsingSig(signature) : Signature.fromBytes(ensureBytes("sig", signature), format2);
236036
236036
  if (sig === false)
236037
236037
  return false;
236038
236038
  try {
@@ -236873,8 +236873,8 @@ var init_getNodeError = __esm(() => {
236873
236873
  });
236874
236874
 
236875
236875
  // ../../node_modules/.bun/viem@2.34.0+f2e3f0548df57a15/node_modules/viem/_esm/utils/formatters/extract.js
236876
- function extract2(value_, { format: format3 }) {
236877
- if (!format3)
236876
+ function extract2(value_, { format: format2 }) {
236877
+ if (!format2)
236878
236878
  return {};
236879
236879
  const value5 = {};
236880
236880
  function extract_(formatted2) {
@@ -236886,18 +236886,18 @@ function extract2(value_, { format: format3 }) {
236886
236886
  extract_(formatted2[key2]);
236887
236887
  }
236888
236888
  }
236889
- const formatted = format3(value_ || {});
236889
+ const formatted = format2(value_ || {});
236890
236890
  extract_(formatted);
236891
236891
  return value5;
236892
236892
  }
236893
236893
 
236894
236894
  // ../../node_modules/.bun/viem@2.34.0+f2e3f0548df57a15/node_modules/viem/_esm/utils/formatters/formatter.js
236895
- function defineFormatter(type5, format3) {
236895
+ function defineFormatter(type5, format2) {
236896
236896
  return ({ exclude, format: overrides }) => {
236897
236897
  return {
236898
236898
  exclude,
236899
236899
  format: (args) => {
236900
- const formatted = format3(args);
236900
+ const formatted = format2(args);
236901
236901
  if (exclude) {
236902
236902
  for (const key2 of exclude) {
236903
236903
  delete formatted[key2];
@@ -238494,8 +238494,8 @@ async function call(client, args) {
238494
238494
  const rpcBlockOverrides = blockOverrides ? toRpc2(blockOverrides) : undefined;
238495
238495
  const rpcStateOverride = serializeStateOverride(stateOverride);
238496
238496
  const chainFormat = client.chain?.formatters?.transactionRequest?.format;
238497
- const format3 = chainFormat || formatTransactionRequest;
238498
- const request2 = format3({
238497
+ const format2 = chainFormat || formatTransactionRequest;
238498
+ const request2 = format2({
238499
238499
  ...extract2(rest, { format: chainFormat }),
238500
238500
  from: account?.address,
238501
238501
  accessList,
@@ -240862,14 +240862,14 @@ var require_bool = __commonJS((exports) => {
240862
240862
 
240863
240863
  // ../../node_modules/.bun/yaml@2.8.1/node_modules/yaml/dist/stringify/stringifyNumber.js
240864
240864
  var require_stringifyNumber = __commonJS((exports) => {
240865
- function stringifyNumber({ format: format4, minFractionDigits, tag, value: value5 }) {
240865
+ function stringifyNumber({ format: format3, minFractionDigits, tag, value: value5 }) {
240866
240866
  if (typeof value5 === "bigint")
240867
240867
  return String(value5);
240868
240868
  const num2 = typeof value5 === "number" ? value5 : Number(value5);
240869
240869
  if (!isFinite(num2))
240870
240870
  return isNaN(num2) ? ".nan" : num2 < 0 ? "-.inf" : ".inf";
240871
240871
  let n8 = JSON.stringify(value5);
240872
- if (!format4 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n8)) {
240872
+ if (!format3 && minFractionDigits && (!tag || tag === "tag:yaml.org,2002:float") && /^\d/.test(n8)) {
240873
240873
  let i8 = n8.indexOf(".");
240874
240874
  if (i8 < 0) {
240875
240875
  i8 = n8.length;
@@ -246633,7 +246633,51 @@ class Separator {
246633
246633
  return Boolean(choice && typeof choice === "object" && "type" in choice && choice.type === "separator");
246634
246634
  }
246635
246635
  }
246636
- // ../../node_modules/.bun/yoctocolors@2.1.2/node_modules/yoctocolors/base.js
246636
+ // ../../node_modules/.bun/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
246637
+ var exports_base = {};
246638
+ __export(exports_base, {
246639
+ yellowBright: () => yellowBright,
246640
+ yellow: () => yellow,
246641
+ whiteBright: () => whiteBright,
246642
+ white: () => white,
246643
+ underline: () => underline,
246644
+ strikethrough: () => strikethrough,
246645
+ reset: () => reset,
246646
+ redBright: () => redBright,
246647
+ red: () => red,
246648
+ overline: () => overline,
246649
+ magentaBright: () => magentaBright,
246650
+ magenta: () => magenta,
246651
+ italic: () => italic,
246652
+ inverse: () => inverse,
246653
+ hidden: () => hidden,
246654
+ greenBright: () => greenBright,
246655
+ green: () => green,
246656
+ gray: () => gray,
246657
+ dim: () => dim,
246658
+ cyanBright: () => cyanBright,
246659
+ cyan: () => cyan,
246660
+ bold: () => bold,
246661
+ blueBright: () => blueBright,
246662
+ blue: () => blue,
246663
+ black: () => black,
246664
+ bgYellowBright: () => bgYellowBright,
246665
+ bgYellow: () => bgYellow,
246666
+ bgWhiteBright: () => bgWhiteBright,
246667
+ bgWhite: () => bgWhite,
246668
+ bgRedBright: () => bgRedBright,
246669
+ bgRed: () => bgRed,
246670
+ bgMagentaBright: () => bgMagentaBright,
246671
+ bgMagenta: () => bgMagenta,
246672
+ bgGreenBright: () => bgGreenBright,
246673
+ bgGreen: () => bgGreen,
246674
+ bgGray: () => bgGray,
246675
+ bgCyanBright: () => bgCyanBright,
246676
+ bgCyan: () => bgCyan,
246677
+ bgBlueBright: () => bgBlueBright,
246678
+ bgBlue: () => bgBlue,
246679
+ bgBlack: () => bgBlack
246680
+ });
246637
246681
  import tty from "node:tty";
246638
246682
  var hasColors = tty?.WriteStream?.prototype?.hasColors?.() ?? false;
246639
246683
  var format = (open, close) => {
@@ -246650,10 +246694,8 @@ var format = (open, close) => {
246650
246694
  }
246651
246695
  let result = openCode;
246652
246696
  let lastIndex = 0;
246653
- const reopenOnNestedClose = close === 22;
246654
- const replaceCode = (reopenOnNestedClose ? closeCode : "") + openCode;
246655
246697
  while (index !== -1) {
246656
- result += string.slice(lastIndex, index) + replaceCode;
246698
+ result += string.slice(lastIndex, index) + openCode;
246657
246699
  lastIndex = index + closeCode.length;
246658
246700
  index = string.indexOf(closeCode, lastIndex);
246659
246701
  }
@@ -246702,7 +246744,6 @@ var bgBlueBright = format(104, 49);
246702
246744
  var bgMagentaBright = format(105, 49);
246703
246745
  var bgCyanBright = format(106, 49);
246704
246746
  var bgWhiteBright = format(107, 49);
246705
-
246706
246747
  // ../utils/dist/terminal.js
246707
246748
  import { spawn } from "node:child_process";
246708
246749
 
@@ -246715,119 +246756,6 @@ var is_in_ci_default = isInCi;
246715
246756
  // ../../node_modules/.bun/yocto-spinner@1.0.0/node_modules/yocto-spinner/index.js
246716
246757
  import process4 from "node:process";
246717
246758
  import { stripVTControlCharacters as stripVTControlCharacters2 } from "node:util";
246718
-
246719
- // ../../node_modules/.bun/yoctocolors@2.1.1/node_modules/yoctocolors/base.js
246720
- var exports_base = {};
246721
- __export(exports_base, {
246722
- yellowBright: () => yellowBright2,
246723
- yellow: () => yellow2,
246724
- whiteBright: () => whiteBright2,
246725
- white: () => white2,
246726
- underline: () => underline2,
246727
- strikethrough: () => strikethrough2,
246728
- reset: () => reset2,
246729
- redBright: () => redBright2,
246730
- red: () => red2,
246731
- overline: () => overline2,
246732
- magentaBright: () => magentaBright2,
246733
- magenta: () => magenta2,
246734
- italic: () => italic2,
246735
- inverse: () => inverse2,
246736
- hidden: () => hidden2,
246737
- greenBright: () => greenBright2,
246738
- green: () => green2,
246739
- gray: () => gray2,
246740
- dim: () => dim2,
246741
- cyanBright: () => cyanBright2,
246742
- cyan: () => cyan2,
246743
- bold: () => bold2,
246744
- blueBright: () => blueBright2,
246745
- blue: () => blue2,
246746
- black: () => black2,
246747
- bgYellowBright: () => bgYellowBright2,
246748
- bgYellow: () => bgYellow2,
246749
- bgWhiteBright: () => bgWhiteBright2,
246750
- bgWhite: () => bgWhite2,
246751
- bgRedBright: () => bgRedBright2,
246752
- bgRed: () => bgRed2,
246753
- bgMagentaBright: () => bgMagentaBright2,
246754
- bgMagenta: () => bgMagenta2,
246755
- bgGreenBright: () => bgGreenBright2,
246756
- bgGreen: () => bgGreen2,
246757
- bgGray: () => bgGray2,
246758
- bgCyanBright: () => bgCyanBright2,
246759
- bgCyan: () => bgCyan2,
246760
- bgBlueBright: () => bgBlueBright2,
246761
- bgBlue: () => bgBlue2,
246762
- bgBlack: () => bgBlack2
246763
- });
246764
- import tty2 from "node:tty";
246765
- var hasColors2 = tty2?.WriteStream?.prototype?.hasColors?.() ?? false;
246766
- var format2 = (open, close) => {
246767
- if (!hasColors2) {
246768
- return (input) => input;
246769
- }
246770
- const openCode = `\x1B[${open}m`;
246771
- const closeCode = `\x1B[${close}m`;
246772
- return (input) => {
246773
- const string = input + "";
246774
- let index = string.indexOf(closeCode);
246775
- if (index === -1) {
246776
- return openCode + string + closeCode;
246777
- }
246778
- let result = openCode;
246779
- let lastIndex = 0;
246780
- while (index !== -1) {
246781
- result += string.slice(lastIndex, index) + openCode;
246782
- lastIndex = index + closeCode.length;
246783
- index = string.indexOf(closeCode, lastIndex);
246784
- }
246785
- result += string.slice(lastIndex) + closeCode;
246786
- return result;
246787
- };
246788
- };
246789
- var reset2 = format2(0, 0);
246790
- var bold2 = format2(1, 22);
246791
- var dim2 = format2(2, 22);
246792
- var italic2 = format2(3, 23);
246793
- var underline2 = format2(4, 24);
246794
- var overline2 = format2(53, 55);
246795
- var inverse2 = format2(7, 27);
246796
- var hidden2 = format2(8, 28);
246797
- var strikethrough2 = format2(9, 29);
246798
- var black2 = format2(30, 39);
246799
- var red2 = format2(31, 39);
246800
- var green2 = format2(32, 39);
246801
- var yellow2 = format2(33, 39);
246802
- var blue2 = format2(34, 39);
246803
- var magenta2 = format2(35, 39);
246804
- var cyan2 = format2(36, 39);
246805
- var white2 = format2(37, 39);
246806
- var gray2 = format2(90, 39);
246807
- var bgBlack2 = format2(40, 49);
246808
- var bgRed2 = format2(41, 49);
246809
- var bgGreen2 = format2(42, 49);
246810
- var bgYellow2 = format2(43, 49);
246811
- var bgBlue2 = format2(44, 49);
246812
- var bgMagenta2 = format2(45, 49);
246813
- var bgCyan2 = format2(46, 49);
246814
- var bgWhite2 = format2(47, 49);
246815
- var bgGray2 = format2(100, 49);
246816
- var redBright2 = format2(91, 39);
246817
- var greenBright2 = format2(92, 39);
246818
- var yellowBright2 = format2(93, 39);
246819
- var blueBright2 = format2(94, 39);
246820
- var magentaBright2 = format2(95, 39);
246821
- var cyanBright2 = format2(96, 39);
246822
- var whiteBright2 = format2(97, 39);
246823
- var bgRedBright2 = format2(101, 49);
246824
- var bgGreenBright2 = format2(102, 49);
246825
- var bgYellowBright2 = format2(103, 49);
246826
- var bgBlueBright2 = format2(104, 49);
246827
- var bgMagentaBright2 = format2(105, 49);
246828
- var bgCyanBright2 = format2(106, 49);
246829
- var bgWhiteBright2 = format2(107, 49);
246830
- // ../../node_modules/.bun/yocto-spinner@1.0.0/node_modules/yocto-spinner/index.js
246831
246759
  var isUnicodeSupported2 = process4.platform !== "win32" || Boolean(process4.env.WT_SESSION) || process4.env.TERM_PROGRAM === "vscode";
246832
246760
  var isInteractive = (stream) => Boolean(stream.isTTY && process4.env.TERM !== "dumb" && !("CI" in process4.env));
246833
246761
  var infoSymbol = exports_base.blue(isUnicodeSupported2 ? "ℹ" : "i");
@@ -256791,13 +256719,13 @@ function _stringbool(Classes, _params) {
256791
256719
  });
256792
256720
  return outerPipe;
256793
256721
  }
256794
- function _stringFormat(Class2, format3, fnOrRegex, _params = {}) {
256722
+ function _stringFormat(Class2, format2, fnOrRegex, _params = {}) {
256795
256723
  const params = normalizeParams(_params);
256796
256724
  const def = {
256797
256725
  ...normalizeParams(_params),
256798
256726
  check: "string_format",
256799
256727
  type: "string",
256800
- format: format3,
256728
+ format: format2,
256801
256729
  fn: typeof fnOrRegex === "function" ? fnOrRegex : (val) => fnOrRegex.test(val),
256802
256730
  ...params
256803
256731
  };
@@ -256929,13 +256857,13 @@ class JSONSchemaGenerator {
256929
256857
  case "string": {
256930
256858
  const json = _json;
256931
256859
  json.type = "string";
256932
- const { minimum, maximum, format: format3, patterns, contentEncoding } = schema._zod.bag;
256860
+ const { minimum, maximum, format: format2, patterns, contentEncoding } = schema._zod.bag;
256933
256861
  if (typeof minimum === "number")
256934
256862
  json.minLength = minimum;
256935
256863
  if (typeof maximum === "number")
256936
256864
  json.maxLength = maximum;
256937
- if (format3) {
256938
- json.format = formatMap[format3] ?? format3;
256865
+ if (format2) {
256866
+ json.format = formatMap[format2] ?? format2;
256939
256867
  if (json.format === "")
256940
256868
  delete json.format;
256941
256869
  }
@@ -256958,8 +256886,8 @@ class JSONSchemaGenerator {
256958
256886
  }
256959
256887
  case "number": {
256960
256888
  const json = _json;
256961
- const { minimum, maximum, format: format3, multipleOf, exclusiveMaximum, exclusiveMinimum } = schema._zod.bag;
256962
- if (typeof format3 === "string" && format3.includes("int"))
256889
+ const { minimum, maximum, format: format2, multipleOf, exclusiveMaximum, exclusiveMinimum } = schema._zod.bag;
256890
+ if (typeof format2 === "string" && format2.includes("int"))
256963
256891
  json.type = "integer";
256964
256892
  else
256965
256893
  json.type = "number";
@@ -258006,8 +257934,8 @@ var ZodCustomStringFormat = /* @__PURE__ */ $constructor("ZodCustomStringFormat"
258006
257934
  $ZodCustomStringFormat.init(inst, def);
258007
257935
  ZodStringFormat.init(inst, def);
258008
257936
  });
258009
- function stringFormat(format3, fnOrRegex, _params = {}) {
258010
- return _stringFormat(ZodCustomStringFormat, format3, fnOrRegex, _params);
257937
+ function stringFormat(format2, fnOrRegex, _params = {}) {
257938
+ return _stringFormat(ZodCustomStringFormat, format2, fnOrRegex, _params);
258011
257939
  }
258012
257940
  function hostname2(_params) {
258013
257941
  return _stringFormat(ZodCustomStringFormat, "hostname", exports_regexes.hostname, _params);
@@ -264945,7 +264873,7 @@ function pruneCurrentEnv(currentEnv, env2) {
264945
264873
  var package_default = {
264946
264874
  name: "@settlemint/sdk-cli",
264947
264875
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
264948
- version: "2.5.13-pr9681ba8f",
264876
+ version: "2.5.13",
264949
264877
  type: "module",
264950
264878
  private: false,
264951
264879
  license: "FSL-1.1-MIT",
@@ -264999,10 +264927,10 @@ var package_default = {
264999
264927
  "@inquirer/input": "4.2.1",
265000
264928
  "@inquirer/password": "4.0.17",
265001
264929
  "@inquirer/select": "4.3.1",
265002
- "@settlemint/sdk-hasura": "2.5.13-pr9681ba8f",
265003
- "@settlemint/sdk-js": "2.5.13-pr9681ba8f",
265004
- "@settlemint/sdk-utils": "2.5.13-pr9681ba8f",
265005
- "@settlemint/sdk-viem": "2.5.13-pr9681ba8f",
264930
+ "@settlemint/sdk-hasura": "2.5.13",
264931
+ "@settlemint/sdk-js": "2.5.13",
264932
+ "@settlemint/sdk-utils": "2.5.13",
264933
+ "@settlemint/sdk-viem": "2.5.13",
265006
264934
  "@types/node": "24.3.0",
265007
264935
  "@types/semver": "7.7.0",
265008
264936
  "@types/which": "3.0.4",
@@ -265014,12 +264942,12 @@ var package_default = {
265014
264942
  viem: "2.34.0",
265015
264943
  which: "5.0.0",
265016
264944
  yaml: "2.8.1",
265017
- yoctocolors: "2.1.2",
264945
+ yoctocolors: "2.1.1",
265018
264946
  "yocto-spinner": "^1.0.0"
265019
264947
  },
265020
264948
  peerDependencies: {
265021
264949
  hardhat: "<= 4",
265022
- "@settlemint/sdk-js": "2.5.13-pr9681ba8f"
264950
+ "@settlemint/sdk-js": "2.5.13"
265023
264951
  },
265024
264952
  peerDependenciesMeta: {
265025
264953
  hardhat: {
@@ -272039,8 +271967,8 @@ async function getBlock(client, { blockHash, blockNumber, blockTag = client.expe
272039
271967
  }
272040
271968
  if (!block)
272041
271969
  throw new BlockNotFoundError({ blockHash, blockNumber });
272042
- const format3 = client.chain?.formatters?.block?.format || formatBlock;
272043
- return format3(block);
271970
+ const format2 = client.chain?.formatters?.block?.format || formatBlock;
271971
+ return format2(block);
272044
271972
  }
272045
271973
 
272046
271974
  // ../../node_modules/.bun/viem@2.34.0+f2e3f0548df57a15/node_modules/viem/_esm/actions/public/getGasPrice.js
@@ -272538,8 +272466,8 @@ async function estimateGas(client, args) {
272538
272466
  })();
272539
272467
  assertRequest(args);
272540
272468
  const chainFormat = client.chain?.formatters?.transactionRequest?.format;
272541
- const format3 = chainFormat || formatTransactionRequest;
272542
- const request2 = format3({
272469
+ const format2 = chainFormat || formatTransactionRequest;
272470
+ const request2 = format2({
272543
272471
  ...extract2(rest, { format: chainFormat }),
272544
272472
  from: account?.address,
272545
272473
  accessList,
@@ -274356,8 +274284,8 @@ async function createAccessList(client, args) {
274356
274284
  const blockNumberHex = typeof blockNumber === "bigint" ? numberToHex(blockNumber) : undefined;
274357
274285
  const block = blockNumberHex || blockTag;
274358
274286
  const chainFormat = client.chain?.formatters?.transactionRequest?.format;
274359
- const format3 = chainFormat || formatTransactionRequest;
274360
- const request2 = format3({
274287
+ const format2 = chainFormat || formatTransactionRequest;
274288
+ const request2 = format2({
274361
274289
  ...extract2(rest, { format: chainFormat }),
274362
274290
  from: account?.address,
274363
274291
  blobs,
@@ -275278,8 +275206,8 @@ async function getTransaction(client, { blockHash, blockNumber, blockTag: blockT
275278
275206
  hash: hash2,
275279
275207
  index: index2
275280
275208
  });
275281
- const format3 = client.chain?.formatters?.transaction?.format || formatTransaction;
275282
- return format3(transaction);
275209
+ const format2 = client.chain?.formatters?.transaction?.format || formatTransaction;
275210
+ return format2(transaction);
275283
275211
  }
275284
275212
 
275285
275213
  // ../../node_modules/.bun/viem@2.34.0+f2e3f0548df57a15/node_modules/viem/_esm/actions/public/getTransactionConfirmations.js
@@ -275303,8 +275231,8 @@ async function getTransactionReceipt(client, { hash: hash2 }) {
275303
275231
  }, { dedupe: true });
275304
275232
  if (!receipt)
275305
275233
  throw new TransactionReceiptNotFoundError({ hash: hash2 });
275306
- const format3 = client.chain?.formatters?.transactionReceipt?.format || formatTransactionReceipt;
275307
- return format3(receipt);
275234
+ const format2 = client.chain?.formatters?.transactionReceipt?.format || formatTransactionReceipt;
275235
+ return format2(receipt);
275308
275236
  }
275309
275237
 
275310
275238
  // ../../node_modules/.bun/viem@2.34.0+f2e3f0548df57a15/node_modules/viem/_esm/actions/public/multicall.js
@@ -286105,8 +286033,8 @@ async function estimateGas2(client, args) {
286105
286033
  const block = blockNumberHex || blockTag;
286106
286034
  assertRequest(args);
286107
286035
  const chainFormat = client.chain?.formatters?.transactionRequest?.format;
286108
- const format3 = chainFormat || formatTransactionRequest;
286109
- const request2 = format3({
286036
+ const format2 = chainFormat || formatTransactionRequest;
286037
+ const request2 = format2({
286110
286038
  ...extract2(rest, { format: chainFormat }),
286111
286039
  from: account?.address,
286112
286040
  accessList,
@@ -303103,7 +303031,7 @@ function hardhatDeployLocalCommand() {
303103
303031
  description: "Deploy and verify contracts on Etherscan",
303104
303032
  command: "scs hardhat deploy local --verify"
303105
303033
  }
303106
- ])).option("-m, --module <ignitionmodule>", 'The module to deploy with Ignition, defaults to "ignition/modules/main.ts"').option("--deployment-id <deploymentId>", "Set the id of the deployment").option("-r, --reset", "Wipes the existing deployment state before deploying").option("-v, --verify", "Verify the deployment on Etherscan").action(async ({ module, reset: reset3, verify, deploymentId }) => {
303034
+ ])).option("-m, --module <ignitionmodule>", 'The module to deploy with Ignition, defaults to "ignition/modules/main.ts"').option("--deployment-id <deploymentId>", "Set the id of the deployment").option("-r, --reset", "Wipes the existing deployment state before deploying").option("-v, --verify", "Verify the deployment on Etherscan").action(async ({ module, reset: reset2, verify, deploymentId }) => {
303107
303035
  intro("Deploying smart contracts to local network using Hardhat/Ignition");
303108
303036
  await validateIfRequiredPackagesAreInstalled(["hardhat"]);
303109
303037
  const { command, args } = await getPackageManagerExecutable();
@@ -303112,7 +303040,7 @@ function hardhatDeployLocalCommand() {
303112
303040
  "hardhat",
303113
303041
  "ignition",
303114
303042
  "deploy",
303115
- ...reset3 ? ["--reset"] : [],
303043
+ ...reset2 ? ["--reset"] : [],
303116
303044
  ...verify ? ["--verify"] : [],
303117
303045
  ...deploymentId ? ["--deployment-id", deploymentId] : [],
303118
303046
  "--network",
@@ -303298,7 +303226,7 @@ function hardhatDeployRemoteCommand() {
303298
303226
  ])).option("-m, --module <ignitionmodule>", 'The module to deploy with Ignition, defaults to "ignition/modules/main.ts"').option("--deployment-id <deploymentId>", "Set the id of the deployment").option("-r, --reset", "Wipes the existing deployment state before deploying").option("-v, --verify", "Verify the deployment on Etherscan").option("--default-sender <defaultSender>", "Set the default sender for the deployment").option("--parameters <parameters>", "A relative path to a JSON file to use for the module parameters").option("--strategy <strategy>", `Set the deployment strategy to use (default: "basic")`).option("--blockchain-node <blockchainNode>", "Blockchain Node unique name (optional, defaults to the blockchain node in the environment)").option("--prod", "Connect to your production environment").option("-a, --accept-defaults", "Accept the default and previously set values");
303299
303227
  cmd2.action(async ({
303300
303228
  module,
303301
- reset: reset3,
303229
+ reset: reset2,
303302
303230
  verify,
303303
303231
  deploymentId,
303304
303232
  defaultSender,
@@ -303351,7 +303279,7 @@ function hardhatDeployRemoteCommand() {
303351
303279
  "hardhat",
303352
303280
  "ignition",
303353
303281
  "deploy",
303354
- ...reset3 ? ["--reset"] : [],
303282
+ ...reset2 ? ["--reset"] : [],
303355
303283
  ...verify ? ["--verify"] : [],
303356
303284
  ...deploymentId ? ["--deployment-id", deploymentId] : [],
303357
303285
  ...parameters ? ["--parameters", parameters] : [],
@@ -304178,4 +304106,4 @@ async function sdkCliCommand(argv = process.argv) {
304178
304106
  // src/cli.ts
304179
304107
  sdkCliCommand();
304180
304108
 
304181
- //# debugId=A705B1A979BC951864756E2164756E21
304109
+ //# debugId=3CF810108DA09BA864756E2164756E21