- commit
- 8745d13982ee67d67ac5c78cb7c5f6ba65c76075
- parent
- 7f79b8b491524b99ce65349f6ad0b7756a5b5f8b
- author
- Dami <dami.etoile@gmail.com>
| M | docs/ | 2 | +- |
| M | src/ | 2 | +- |
@@ -116,4 +116,4 @@ Names: `profiles`, `relays`, `calendar`, `moderation`, `articles`, `zaps`, `pres
116116 117117 ## Websocket118118 119-The relay itself: `wss://<name>.bind.ws`. NIP-01 with 09, 13, 40, 42, 45, 50, 62, 70 and 77, an `AUTH` challenge on connect, and `EOSE` hints per NIP-67. Kind 24133 passes the write and read rules so a NIP-46 signer can use the relay as transport.119+The relay itself: `wss://<name>.bind.ws`. NIP-01 with 09, 13, 17 and 59 as private kinds, 29 and 43 for the group, 40, 42, 45, 50, 56, 62, 70 and 77, an `AUTH` challenge on connect, and `EOSE` hints per NIP-67. Kind 24133 passes the write and read rules so a NIP-46 signer or client can use the relay as transport: it is delivered to a socket that has proved a party's key with `AUTH`, or to a subscription that names one in `#p` or `authors`, and never to a bare subscription to the kind.@@ -110,7 +110,7 @@ export function landing(req: Request, env: Env): Response {
110110 const bad = new URL(req.url).searchParams.get("bad");111111 const days = leaseDays(env);112112 const interfaces = table(["Endpoint", "Protocol", "Auth", "Notes"], [113- [`wss://<name>.${domain}`, "NIP-01, 42, 45, 77", "optional NIP-42", "Sockets hibernate. Negentropy sessions end when the object hibernates."],113+ [`wss://<name>.${domain}`, "NIP-01, 09, 13, 17, 29, 40, 42, 43, 45, 46 transport, 50, 56, 59, 62, 67, 70, 77", "optional NIP-42", "Sockets hibernate. Negentropy sessions end when the object hibernates."],114114 ["GET / (accept nostr+json)", "NIP-11", "none", "limitation, retention, payments_url, self"],115115 ["POST /", "NIP-86", "NIP-98, owner", "claim and the management methods"],116116 ["POST /lease", "lease", "optional NIP-98", `A temporary relay for ${leaseDays(env)} days. A signature reserves the claim for that key.`],