@cello-protocol/daemon 0.0.177 → 0.0.178

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/daemon.js CHANGED
@@ -3869,16 +3869,12 @@ async function startDaemonHoldingLock(config, singletonLock) {
3869
3869
  now: () => Date.now(),
3870
3870
  logger,
3871
3871
  sweepTargets: (ownerAgentId) => documentLayer.sweepTargets(ownerAgentId),
3872
- partySync: (ownerAgentId, documentId, partyAgentId) => documentLayer.partySync(ownerAgentId, documentId, partyAgentId),
3872
+ pendingFor: (ownerAgentId, documentId, partyAgentId) => documentLayer.pendingFor(ownerAgentId, documentId, partyAgentId),
3873
3873
  initiateReconcile: (ownerAgentId, peerAgentId, documentIds) => documentLayer.initiateReconcile(ownerAgentId, peerAgentId, documentIds),
3874
3874
  ...(Number.isFinite(Number(process.env["CELLO_DOCUMENT_RECONCILE_BACKOFF_MS"])) &&
3875
3875
  Number(process.env["CELLO_DOCUMENT_RECONCILE_BACKOFF_MS"]) >= 250
3876
3876
  ? { backoffBaseMs: Number(process.env["CELLO_DOCUMENT_RECONCILE_BACKOFF_MS"]) }
3877
3877
  : {}),
3878
- ...(Number.isFinite(Number(process.env["CELLO_DOCUMENT_RECONCILE_CURRENT_MS"])) &&
3879
- Number(process.env["CELLO_DOCUMENT_RECONCILE_CURRENT_MS"]) >= 250
3880
- ? { believedCurrentMs: Number(process.env["CELLO_DOCUMENT_RECONCILE_CURRENT_MS"]) }
3881
- : {}),
3882
3878
  });
3883
3879
  // Overridable for tests (the delivery tick precedent); floored so a misread env cannot busy-loop.
3884
3880
  const reconcileTickOverride = Number(process.env["CELLO_DOCUMENT_RECONCILE_SWEEP_MS"]);