# Packages
No description provided by the author
# Functions
AntiSyncBots tries to prevent people from syncing kind:1s from this relay to else by always requiring an author parameter at least.
DecryptDM decrypts a DM, kind 4, 1059 or 1060.
EncryptDM encrypts a DM, kind 4, 1059 or 1060.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MakeReply creates an appropriate reply event from a provided event that is being replied to (not quoting, just the right tags, timestamps and kind).
No description provided by the author
NoComplexFilters disallows filters with more than 3 tags or total of 6 of kinds and tags in sum..
NoEmptyFilters disallows filters that don't have at least a tag, a kind, an author or an id, or since or until.
No description provided by the author
No description provided by the author
PreventExcessTags returns a function that can be used as a RejectFilter that will reject events with more indexable (single-character) tags than the specified number.
PreventLargeTags rejects events that have indexable tag values greater than maxTagValueLen.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
RemoveListener removes WebSocket conn from listeners (no need to cancel contexts as they are all inherited from the main connection context).
RemoveListenerId removes a specific subscription id from listeners for a given ws client and cancel its specific context.
No description provided by the author
No description provided by the author
RestrictToSpecifiedKinds returns a function that can be used as a RejectFilter that will reject any events with kinds different than the specified ones.
SetListener adds a filter to a connection.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
function types used in the relay state.
function types used in the relay state.
No description provided by the author
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.
function types used in the relay state.