pub fn extract_current_document(did_log: &str) -> Result<Value, EditFlowError>Expand description
Extract the published DID document from the most recent
non-empty line of a did.jsonl log. The line is parsed as a
LogEntry and its state field is returned.
Implemented inline (rather than calling didwebvh-rs) because
vta-cli-common doesn’t depend on that crate; the LogEntry
surface we need is just the state JSON value.