refactor(daemon): give stream events proper types

Validate known events before delivery and leave the cursor untouched on malformed batches.

53b1925b parent 6cd888d5 +513 −444
browse files