Skip to content

Commit

Permalink
chore: spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed May 29, 2024
1 parent 43a10a9 commit f11f178
Showing 1 changed file with 28 additions and 25 deletions.
53 changes: 28 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,15 @@ Returns the response event directly or to the Webhook URL if provided.

```json
{
"id":"a16ycf4a01bcxx........xxxxx",
"pubkey":"a16y69effexxxx........xxxxx",
"created_at":1700000021,
"kind":23194,
"tags":[
["p","a16y6sfa01bcxx........xxxxx"]
"id": "a16ycf4a01bcxx........xxxxx",
"pubkey": "a16y69effexxxx........xxxxx",
"created_at": 1700000021,
"kind": 23194,
"tags": [
[
"p",
"a16y6sfa01bcxx........xxxxx"
]
],
"content": "<encrypted content>",
"sig":"<signature>"
Expand Down Expand Up @@ -141,9 +144,9 @@ Publishes any **signed** event to the specified relay.

```json
{
"eventId": "a16ycf4a01bcxx........xxxxx",
"relayUrl": "wss://relay.custom.com/v1",
"state": "PUBLISHED",
"eventId": "a16ycf4a01bcxx........xxxxx",
"relayUrl": "wss://relay.custom.com/v1",
"state": "PUBLISHED",
}
```

Expand Down Expand Up @@ -205,14 +208,14 @@ Notifies about new events matching the filter provided via webhooks.
"created_at": 1709033612,
"kind": 23195,
"tags": [
[
"p",
"f490f5xxxxx........xxxxx"
],
[
"e",
"a41aefxxxxx........xxxxx"
]
[
"p",
"f490f5xxxxx........xxxxx"
],
[
"e",
"a41aefxxxxx........xxxxx"
]
],
"content": "<encrypted content>",
"sig": "<signature>"
Expand Down Expand Up @@ -260,14 +263,14 @@ Notifies about `23196` kind events (NWC notifications) of the connection pubkey
"created_at": 1709033612,
"kind": 23196,
"tags": [
[
"p",
"f490f5xxxxx........xxxxx"
],
[
"e",
"a41aefxxxxx........xxxxx"
]
[
"p",
"f490f5xxxxx........xxxxx"
],
[
"e",
"a41aefxxxxx........xxxxx"
]
],
"content": "<encrypted content>",
"sig": "<signature>"
Expand Down

0 comments on commit f11f178

Please sign in to comment.