Add Tags.Has and nip11.Self

This commit is contained in:
Jon Staab
2025-09-27 06:37:06 -07:00
committed by fiatjaf
parent 113657314e
commit 9ba61b56e6
2 changed files with 11 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ type RelayInformationDocument struct {
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
PubKey *nostr.PubKey `json:"pubkey,omitempty"`
Self *nostr.PubKey `json:"self,omitempty"`
Contact string `json:"contact,omitempty"`
SupportedNIPs []any `json:"supported_nips,omitempty"`
Software string `json:"software,omitempty"`