@xyo-network/xl1-cli-lib 1.15.23 → 1.15.25

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.
@@ -353,7 +353,7 @@ var ProducerActor = class _ProducerActor extends Actor {
353
353
  async calculateBlocksUntilProducerDeclarationExpiration(currentBlock) {
354
354
  const ranges = await this.stakeIntentService.getDeclaredCandidateRanges(this.account.address, "producer");
355
355
  const lastRange = ranges.toSorted((a, b) => a[1] > b[1] ? 1 : -1).at(-1);
356
- const [, currentDeclarationEnd] = lastRange || [
356
+ const [, currentDeclarationEnd] = lastRange ?? [
357
357
  void 0,
358
358
  currentBlock
359
359
  ];
@@ -1899,7 +1899,7 @@ var waitForHostPort = /* @__PURE__ */ __name((host, port) => {
1899
1899
 
1900
1900
  // src/runCLI.ts
1901
1901
  var config;
1902
- var version = isDefined17("1.15.22") ? "1.15.22" : "unknown";
1902
+ var version = isDefined17("1.15.24") ? "1.15.24" : "unknown";
1903
1903
  var getContextFromConfig = /* @__PURE__ */ __name((config3) => {
1904
1904
  const logger = initLogger(config3);
1905
1905
  const orchestrator = new Orchestrator(logger);