Return KVT from create_history_stream() #47
Reference in New Issue
Block a user
No description provided.
Delete Branch "return_kvt_from_history_stream"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While working on lykin I realised that
create_history_stream()was returning messages in the form ofSsbMessageValueand notSsbMessageKVT. Returning a KVT provides more flexibility and information; most importantly, it includes the message key.This PR updates the
create_history_stream()method to return a stream ofSsbMessageKVT.I have bumped the minor version (which acts as the major version in our case, since we are still at
0.x.y) to reflect the breaking change of the API.looks good, can always easily transform sequences of kvts to message values