diff --git a/docs/util/nip86.md b/docs/util/nip86.md index 81c5581..eaf26ff 100644 --- a/docs/util/nip86.md +++ b/docs/util/nip86.md @@ -8,7 +8,9 @@ Implementation of NIP-86 for managing Nostr relays through authenticated RPC req export enum ManagementMethod { SupportedMethods = "supportedmethods", BanPubkey = "banpubkey", + UnbanPubkey = "unbanpubkey", AllowPubkey = "allowpubkey", + UnallowPubkey = "unallowpubkey", ListBannedPubkeys = "listbannedpubkeys", ListAllowedPubkeys = "listallowedpubkeys", ListEventsNeedingModeration = "listeventsneedingmoderation", diff --git a/packages/util/src/Nip86.ts b/packages/util/src/Nip86.ts index d1610cb..c9ed562 100644 --- a/packages/util/src/Nip86.ts +++ b/packages/util/src/Nip86.ts @@ -4,8 +4,9 @@ import {makeHttpAuthHeader} from "./Nip98.js" export enum ManagementMethod { SupportedMethods = "supportedmethods", BanPubkey = "banpubkey", + UnbanPubkey = "unbanpubkey", AllowPubkey = "allowpubkey", - DisallowPubkey = "disallowpubkey", + UnallowPubkey = "unallowpubkey", ListBannedPubkeys = "listbannedpubkeys", ListAllowedPubkeys = "listallowedpubkeys", ListEventsNeedingModeration = "listeventsneedingmoderation",