Re-write net docs

This commit is contained in:
Jon Staab
2025-06-10 15:07:58 -07:00
parent 5b73c507b7
commit 1a81768e8e
22 changed files with 580 additions and 840 deletions
+10
View File
@@ -0,0 +1,10 @@
import {makeEvent} from "./Events.js"
import {CLIENT_AUTH} from "./Kinds.js"
export const makeRelayAuth = (url: string, challenge: string) =>
makeEvent(CLIENT_AUTH, {
tags: [
["relay", url],
["challenge", challenge],
],
})
+1
View File
@@ -7,6 +7,7 @@ export * from "./Handler.js"
export * from "./Kinds.js"
export * from "./Links.js"
export * from "./List.js"
export * from "./Nip42.js"
export * from "./Nip86.js"
export * from "./Nip98.js"
export * from "./Profile.js"