From 230f63dd5fb1e0d3465c6962ffafbc7fa29e4983 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sun, 15 Jan 2023 15:37:42 -0300 Subject: [PATCH] nip-07 extensions to also add .id and .pubkey when signing. --- 07.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07.md b/07.md index 0bd3de67..20c671a7 100644 --- a/07.md +++ b/07.md @@ -12,7 +12,7 @@ That object must define the following methods: ``` async window.nostr.getPublicKey(): string // returns a public key as hex -async window.nostr.signEvent(event: Event): Event // takes an event object and returns it with the `sig` +async window.nostr.signEvent(event: Event): Event // takes an event object, adds `id`, `pubkey` and `sig` and returns it ``` Aside from these two basic above, the following functions can also be implemented optionally: