upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike O'Bank <111360219+mikeobank@users.noreply.github.com>2023-10-20 22:56:29 +0200
committerfiatjaf_ <fiatjaf@gmail.com>2023-10-21 16:05:32 -0300
commitca73c5dd5ea19dec29a2781f1d3bd93ef95985f9 (patch)
tree5c28d36d669d7f0ad697533e0bcf9ddb3d950d96
parent4216f0bf2f73b4a395568b6874132aca94f55094 (diff)
Clarify Unsigned Event Object type
-rw-r--r--07.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/07.md b/07.md
index a9b6b34..24d8d45 100644
--- a/07.md
+++ b/07.md
@@ -12,7 +12,7 @@ That object must define the following methods:
12 12
13``` 13```
14async window.nostr.getPublicKey(): string // returns a public key as hex 14async window.nostr.getPublicKey(): string // returns a public key as hex
15async window.nostr.signEvent(event: Event): Event // takes an event object, adds `id`, `pubkey` and `sig` and returns it 15async window.nostr.signEvent(event: { created_at: number, kind: number, tags: string[][], content: string }): Event // takes an event object, adds `id`, `pubkey` and `sig` and returns it
16``` 16```
17 17
18Aside from these two basic above, the following functions can also be implemented optionally: 18Aside from these two basic above, the following functions can also be implemented optionally: