js,json -> jsonc

This commit is contained in:
hakkadaikon 2024-11-18 02:33:29 +09:00 committed by fiatjaf_
parent ac60e1d662
commit f3244a0903
6 changed files with 17 additions and 17 deletions

8
46.md
View file

@ -58,7 +58,7 @@ _user_ passes this token to _remote-signer_, which then sends `connect` *respons
## Request Events `kind: 24133`
```js
```jsonc
{
"kind": 24133,
"pubkey": <local_keypair_pubkey>,
@ -136,7 +136,7 @@ The `content` field is a JSON-RPC-like message that is [NIP-04](04.md) encrypted
### Signature request
```js
```jsonc
{
"kind": 24133,
"pubkey": "eff37350d839ce3707332348af4549a96051bd695d3223af4aabce4993531d86",
@ -156,7 +156,7 @@ The `content` field is a JSON-RPC-like message that is [NIP-04](04.md) encrypted
### Response event
```js
```jsonc
{
"kind": 24133,
"pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
@ -196,7 +196,7 @@ _client_ should display (in a popup or new tab) the URL from the `error` field a
### Announcing _remote-signer_ metadata
_remote-signer_ MAY publish it's metadata by using [NIP-05](05.md) and [NIP-89](89.md). With NIP-05, a request to `<remote-signer>/.well-known/nostr.json?name=_` MAY return this:
```
```jsonc
{
"names":{
"_": <remote-signer-app-pubkey>,