From 0a4a2861cb854d41a5722d7d8baa4711a3f60536 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Thu, 26 Feb 2026 13:39:43 -0800 Subject: [PATCH] Add nip nip86 methods --- docs/util/nip86.md | 2 ++ packages/util/src/Nip86.ts | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) 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",