Re-write net docs
This commit is contained in:
@@ -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],
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user