Skip to content

v0.2.2

Compare
Choose a tag to compare
@motorina0 motorina0 released this 04 Jul 07:16
· 12 commits to main since this release

This Release contains several fixes necessary for the nostrmarket usage (and valid for general use):

  • event should be considered unique in the context of a subscription. See comment here
  • do not share the subscriptions object between relays (see here)
    • changes by the first relay affected the state of all the others, resulting in errors
  • fix: separate handling of "REQ" and "CLOSE"
  • fix: removing last relay stops all relays (lambda in loop)
  • fix: do not re-connect all relays when a new relay is added
  • feat: init relay state when added to the list
  • fix: do not lose all subscriptions when the last relay is added
  • fix: init new relay with all previous subscriptions
  • feat: add predefined list of relays to the UI
  • chore: remove un-used files. Backward compatibility lost with the original library
  • error threshold reached (what if months pass?). Threshold should be per day.
  • revive relay after 2 hours from the last error threshold
  • show last 20 NOTICE messages on UI
  • show last 20 error messages on UI (for each relay)