File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " @prosdevlab/experience-sdk " : minor
3+ " @prosdevlab/experience-sdk-plugins " : minor
4+ ---
5+
6+ feat: add display condition plugins with event-driven architecture
7+
8+ Add 4 new display condition plugins with comprehensive testing and documentation:
9+
10+ ** New Plugins:**
11+ - Exit Intent: Velocity-based mouse tracking with session awareness
12+ - Scroll Depth: Multiple thresholds with advanced engagement metrics
13+ - Page Visits: Session and lifetime counters with first-visit detection
14+ - Time Delay: Millisecond-precision delays with visibility API integration
15+
16+ ** Core Enhancements:**
17+ - Event-driven trigger architecture (` trigger:* ` events)
18+ - Composable display conditions (AND/OR/NOT logic)
19+ - TriggerState interface for type-safe context updates
20+
21+ ** Developer Experience:**
22+ - 101 new tests across 4 plugins (314 total)
23+ - 12 integration tests for plugin composition
24+ - Complete API documentation with examples
25+ - Pure functions for easier testing
26+
27+ All plugins are backward compatible and work independently or together.
28+
You can’t perform that action at this time.
0 commit comments