Commit Graph

5 Commits

Author SHA1 Message Date
Mo Elzubeir 4ccf060a3e fix: avoid caching non-positive TTL entries 2026-05-29 14:39:04 -05:00
Mo Elzubeir d820a39223 chore: prepare JavaScript SDK for npm publish 2026-05-29 13:46:11 -05:00
Mo Elzubeir c860cf6d88 docs: expand JavaScript SDK documentation 2026-05-29 13:35:09 -05:00
Mo Elzubeir 252ea713b1 feat: add entity analytics, pluggable cache, and pitfalls docs
- Add Cache interface with MemoryCache and NoopCache implementations
- Make SocialhoseClient accept injectable cache option
- Remove Next.js next.revalidate coupling from transport
- Add entity analytics: getEntityBrief, getEntityStats, getEntityBriefs,
  getCampaignIdByMatch with exact sentiment/platform faceting and
  cumulative-differenced timeline
- Add 23 new tests (29 total) covering entity analytics, cache injection,
  sentiment reconciliation, bounded concurrency, and timeline differencing
- Update README with entity analytics, custom caching, and pitfalls sections
- Fix CI branch: main -> master
2026-05-29 13:10:05 -05:00
Mo Elzubeir e34552ac33 feat: add JavaScript Socialhose API SDK 2026-05-29 12:46:42 -05:00