@adhdev/daemon-standalone 0.9.77-rc.47 → 0.9.77-rc.48

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/index.js CHANGED
@@ -29454,26 +29454,8 @@ ${lastSnapshot}`;
29454
29454
  }
29455
29455
  }
29456
29456
  }
29457
- if (transport.syncMeshLedger) {
29458
- for (const local of localMeshes) {
29459
- try {
29460
- await syncMeshLedger(local.id, transport);
29461
- } catch (e) {
29462
- result.errors.push(`Ledger sync failed for "${local.name}": ${e.message}`);
29463
- }
29464
- }
29465
- }
29466
29457
  return result;
29467
29458
  }
29468
- async function syncMeshLedger(meshId, transport) {
29469
- if (!transport.syncMeshLedger) return;
29470
- const { readLedgerEntries: readLedgerEntries2, appendRemoteLedgerEntries: appendRemoteLedgerEntries2 } = await Promise.resolve().then(() => (init_mesh_ledger(), mesh_ledger_exports));
29471
- const localEntries = readLedgerEntries2(meshId);
29472
- const res = await transport.syncMeshLedger(meshId, { newEntries: localEntries });
29473
- if (res.missingEntries && res.missingEntries.length > 0) {
29474
- appendRemoteLedgerEntries2(meshId, res.missingEntries);
29475
- }
29476
- }
29477
29459
  init_mesh_ledger();
29478
29460
  init_mesh_work_queue();
29479
29461
  init_mesh_events();