Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e...

126103bfddc8df25...
npub1zfss807aer0j26mwp2la0ume0jqde3823rmu97ra6sgyyg956e0s6xw445
hex
d198e5539a8f9b314c8095a072c7323f792e731bbb8644f709b9f65c68e5d951nevent
nevent1qqsdrx892wdglxe3fjqftgrjcuer77fwwvdmhpjy7uymnajudrjaj5gprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgspycgrhlwu3he9ddhq407h7duheqxucn4g3a7zlp7agyzzyz6dvhccdsz39Kind-1 (TextNote)
Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet , I wonder if we could have an option to disable wait_for_ok() for the send event API. Sometimes I just want to send an event but collect the report later.
Use cases:
- A user sends a NIP-17 message. My app will update the UI immediately, then I will listen for OK notifications via
client.notificationsand update the UI accordingly.
Raw JSON
{
"kind": 1,
"id": "d198e5539a8f9b314c8095a072c7323f792e731bbb8644f709b9f65c68e5d951",
"pubkey": "126103bfddc8df256b6e0abfd7f3797c80dcc4ea88f7c2f87dd4104220b4d65f",
"created_at": 1771032185,
"tags": [
[
"p",
"68d81165918100b7da43fc28f7d1fc12554466e1115886b9e7bb326f65ec4272"
]
],
"content": "Hi nostr:npub1drvpzev3syqt0kjrls50050uzf25gehpz9vgdw08hvex7e0vgfeq0eseet , I wonder if we could have an option to disable `wait_for_ok()` for the send event API. Sometimes I just want to send an event but collect the report later.\n\nUse cases:\n- A user sends a NIP-17 message. My app will update the UI immediately, then I will listen for OK notifications via `client.notifications` and update the UI accordingly.",
"sig": "a0954b98a2c22afddde6208301e652f5c21d88716b0f3db9cd00d5a16e45754374c46e26eabbdbc928c42ff91229bb637a4162352f97e1e49c9db044815a0181"
}