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],
],
})