@songsid/agend 2.4.0-beta.1 → 2.4.0-beta.2

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.
@@ -1 +1 @@
1
- {"format":1,"commit":"eacc64084e587870fa5a350fec7992b5b4602ba6","ref":"v2.4.0-beta.1","channel":"release","modified":false,"from":"git"}
1
+ {"format":1,"commit":"21a64627d1fc7125a62a9ef97892a4858d393647","ref":"v2.4.0-beta.2","channel":"release","modified":false,"from":"git"}
package/dist/daemon.js CHANGED
@@ -2552,6 +2552,7 @@ export class Daemon extends EventEmitter {
2552
2552
  path: entry.path,
2553
2553
  offset: entry.offset,
2554
2554
  marker: entry.marker,
2555
+ ...(entry.wire !== undefined ? { wire: entry.wire } : {}),
2555
2556
  // A cancel or stop moves the epoch: the watch ends quietly (a cancel cleared the record, a stop leaves it).
2556
2557
  current: () => !this.deliveryWritesStopping && spawn === this.spawnGeneration && fence === this.launchFenceEpoch
2557
2558
  && epoch === this.deliveryEpoch,
@@ -2629,7 +2630,7 @@ export class Daemon extends EventEmitter {
2629
2630
  && !this.deliveryWritesStopping;
2630
2631
  let redelivered = 0, taken = 0, unverifiable = 0;
2631
2632
  for (const entry of entries) {
2632
- const kind = await scanTranscriptForDeliveryMarker(entry.path, entry.offset, entry.backend, { marker: entry.marker });
2633
+ const kind = await scanTranscriptForDeliveryMarker(entry.path, entry.offset, entry.backend, { marker: entry.marker, ...(entry.wire !== undefined ? { wire: entry.wire } : {}) });
2633
2634
  // This CLI is gone already, or a cancel came: the next CLI settles them (a cancel cleared them).
2634
2635
  if (!fresh())
2635
2636
  return;