@settlemint/sdk-cli 2.0.0-pr0a183ee8 → 2.0.0-pr11a87e39

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
@@ -244713,6 +244713,8 @@ var require_binary = __commonJS((exports) => {
244713
244713
  }
244714
244714
  },
244715
244715
  stringify({ comment, type: type4, value: value4 }, ctx, onComment, onChompKeep) {
244716
+ if (!value4)
244717
+ return "";
244716
244718
  const buf = value4;
244717
244719
  let str;
244718
244720
  if (typeof node_buffer.Buffer === "function") {
@@ -245199,7 +245201,7 @@ var require_timestamp = __commonJS((exports) => {
245199
245201
  }
245200
245202
  return new Date(date);
245201
245203
  },
245202
- stringify: ({ value: value4 }) => value4.toISOString().replace(/(T00:00:00)?\.000Z$/, "")
245204
+ stringify: ({ value: value4 }) => value4?.toISOString().replace(/(T00:00:00)?\.000Z$/, "") ?? ""
245203
245205
  };
245204
245206
  exports.floatTime = floatTime;
245205
245207
  exports.intTime = intTime;
@@ -246376,8 +246378,8 @@ var require_compose_collection = __commonJS((exports) => {
246376
246378
  ctx.schema.tags.push(Object.assign({}, kt3, { default: false }));
246377
246379
  tag = kt3;
246378
246380
  } else {
246379
- if (kt3?.collection) {
246380
- onError(tagToken, "BAD_COLLECTION_TYPE", `${kt3.tag} used for ${expType} collection, but expects ${kt3.collection}`, true);
246381
+ if (kt3) {
246382
+ onError(tagToken, "BAD_COLLECTION_TYPE", `${kt3.tag} used for ${expType} collection, but expects ${kt3.collection ?? "scalar"}`, true);
246381
246383
  } else {
246382
246384
  onError(tagToken, "TAG_RESOLVE_FAILED", `Unresolved tag: ${tagName}`, true);
246383
246385
  }
@@ -248824,7 +248826,17 @@ var require_parser2 = __commonJS((exports) => {
248824
248826
  default: {
248825
248827
  const bv = this.startBlockValue(map3);
248826
248828
  if (bv) {
248827
- if (atMapIndent && bv.type !== "block-seq") {
248829
+ if (bv.type === "block-seq") {
248830
+ if (!it2.explicitKey && it2.sep && !includesToken(it2.sep, "newline")) {
248831
+ yield* this.pop({
248832
+ type: "error",
248833
+ offset: this.offset,
248834
+ message: "Unexpected block-seq-ind on same line with key",
248835
+ source: this.source
248836
+ });
248837
+ return;
248838
+ }
248839
+ } else if (atMapIndent) {
248828
248840
  map3.items.push({ start: start3 });
248829
248841
  }
248830
248842
  this.stack.push(bv);
@@ -259524,7 +259536,7 @@ function pruneCurrentEnv(currentEnv, env2) {
259524
259536
  var package_default = {
259525
259537
  name: "@settlemint/sdk-cli",
259526
259538
  description: "Command-line interface for SettleMint SDK, providing development tools and project management capabilities",
259527
- version: "2.0.0-pr0a183ee8",
259539
+ version: "2.0.0-pr11a87e39",
259528
259540
  type: "module",
259529
259541
  private: false,
259530
259542
  license: "FSL-1.1-MIT",
@@ -259571,9 +259583,9 @@ var package_default = {
259571
259583
  "@inquirer/input": "4.1.8",
259572
259584
  "@inquirer/password": "4.0.11",
259573
259585
  "@inquirer/select": "4.1.0",
259574
- "@settlemint/sdk-js": "2.0.0-pr0a183ee8",
259575
- "@settlemint/sdk-utils": "2.0.0-pr0a183ee8",
259576
- "@types/node": "22.13.13",
259586
+ "@settlemint/sdk-js": "2.0.0-pr11a87e39",
259587
+ "@settlemint/sdk-utils": "2.0.0-pr11a87e39",
259588
+ "@types/node": "22.13.14",
259577
259589
  "@types/semver": "7.7.0",
259578
259590
  "@types/which": "3.0.4",
259579
259591
  "get-tsconfig": "4.10.0",
@@ -259582,7 +259594,7 @@ var package_default = {
259582
259594
  semver: "7.7.1",
259583
259595
  slugify: "1.6.6",
259584
259596
  which: "5.0.0",
259585
- yaml: "2.7.0",
259597
+ yaml: "2.7.1",
259586
259598
  yoctocolors: "2.1.1"
259587
259599
  },
259588
259600
  peerDependencies: {
@@ -274090,4 +274102,4 @@ async function sdkCliCommand(argv = process.argv) {
274090
274102
  // src/cli.ts
274091
274103
  sdkCliCommand();
274092
274104
 
274093
- //# debugId=1578E91995D1E38664756E2164756E21
274105
+ //# debugId=11F0A987551401DB64756E2164756E21