anchor.diff:    ).
   
   encode_sse(Change) ->
  -  << "id: ", (integer_to_binary(Change))/binary, "\n",
  +  Seq = maps:get(<<"seq">>, Change),
  +  << "id: ", (integer_to_binary(Seq))/binary, "\n",
        "data: ", (jsx:encode(Change))/binary >>.
  
positive.code:                     {ok, {erlang:max(LastSeq, Seq), ChangeQ}}
                    end
                end,
    
    %% retrieve change options from the options given to the feed
    %% TODO: have changes_since function accepting a map
    ChangeOpts = parse_options(Options),
    
    Ref = erlang:monitor(process, Db#db.pid),
    
    %% initialize the changes
    State0 =
    #{parent => Parent,
  
negative.code:     Opts
    ),
    State#{ last_seq => LastSeq1, changes => Changes1}.
  
  
  parse_options(Options) ->
    maps:fold(
  