Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/textlint-13.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
akiomik authored Nov 26, 2023
2 parents 6e853fa + 397a370 commit 94fb3f6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 09.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Event Deletion

A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted.

Each tag entry must contain an "e" event id and/or NIP-33 `a` tags intended for deletion.
Each tag entry must contain an "e" event id and/or `a` tags intended for deletion.

The event's `content` field MAY contain a text note describing the reason for the deletion.

Expand Down
4 changes: 2 additions & 2 deletions 57.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ A `zap request` is an event of kind `9734` that is _not_ published to relays, bu
In addition, the event MAY include the following tags:

- `e` is an optional hex-encoded event id. Clients MUST include this if zapping an event rather than a person.
- `a` is an optional NIP-33 event coordinate that allows tipping parameterized replaceable events such as NIP-23 long-form notes.
- `a` is an optional event coordinate that allows tipping parameterized replaceable events such as NIP-23 long-form notes.

Example:

Expand Down Expand Up @@ -110,7 +110,7 @@ When a client sends a `zap request` event to a server's lnurl-pay callback URL,
4. It MUST have 0 or 1 `e` tags
5. There should be a `relays` tag with the relays to send the `zap receipt` to.
6. If there is an `amount` tag, it MUST be equal to the `amount` query parameter.
7. If there is an `a` tag, it MUST be a valid NIP-33 event coordinate
7. If there is an `a` tag, it MUST be a valid event coordinate

The event MUST then be stored for use later, when the invoice is paid.

Expand Down
4 changes: 4 additions & 0 deletions 75.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Example event:
The following tags are OPTIONAL.

- `closed_at` - timestamp for determining which zaps are included in the tally. Zap receipts published after the `closed_at` timestamp SHOULD NOT count towards the goal progress.
- `image` - an image for the goal
- `summary` - a brief description

```json
{
Expand All @@ -43,6 +45,8 @@ The following tags are OPTIONAL.
["relays", "wss://alicerelay.example.com", "wss://bobrelay.example.com", ...],
["amount", "210000"],
["closed_at", "<unix timestamp in seconds>"],
["image", "<image URL>"],
["summary", "<description of the goal>"],
],
"content": "Nostrasia travel expenses",
...
Expand Down
2 changes: 1 addition & 1 deletion 89.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The third value of the tag SHOULD be the platform where this recommendation migh

* `content` is an optional `metadata`-like stringified JSON object, as described in NIP-01. This content is useful when the pubkey creating the `kind:31990` is not an application. If `content` is empty, the `kind:0` of the pubkey should be used to display application information (e.g. name, picture, web, LUD16, etc.)
* `k` tags' value is the event kind that is supported by this `kind:31990`.
Using a `k` tag(s) (instead of having the kind onf the NIP-33 `d` tag) provides:
Using a `k` tag(s) (instead of having the kind of the `d` tag) provides:
* Multiple `k` tags can exist in the same event if the application supports more than one event kind and their handler URLs are the same.
* The same pubkey can have multiple events with different apps that handle the same event kind.
* `bech32` in a URL MUST be replaced by clients with the NIP-19-encoded entity that should be loaded by the application.
Expand Down

0 comments on commit 94fb3f6

Please sign in to comment.