@sylphx/sdk 0.21.1 → 0.23.0

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.
@@ -18,7 +18,10 @@ import { monitorEventLoopDelay } from 'node:perf_hooks';
18
18
  * durability (SOC 2 Type II, GDPR Article 32, HIPAA 164.312(b)) plug
19
19
  * their own persistent `HistoryStore` — a thin interface that the SDK
20
20
  * calls with each new entry. Adapter packages for Postgres / S3 / cold
21
- * storage ship separately.
21
+ * storage ship separately (Sylphx's own services use the Postgres
22
+ * adapter in `@sylphx/core/lib/health/history-store`, which doubles as
23
+ * the reference persistent implementation: warm-start chain continuity
24
+ * across restarts + ring-buffer row retention).
22
25
  *
23
26
  * # Cardinal rule (carried from ADR-141 / 142 / 143)
24
27
  *
@@ -397,6 +397,7 @@ var HistoryRecorderImpl = class {
397
397
  this.prevHash = entryHash || GENESIS_PREV_HASH;
398
398
  return entry;
399
399
  } catch {
400
+ await this.warmStart();
400
401
  return null;
401
402
  }
402
403
  }