resend-cli 2.18.0 → 2.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -438,7 +438,7 @@ Use `all` with `--events` to subscribe to every event.
438
438
  - `update`
439
439
  - `delete`
440
440
  - `listen`
441
- - `events` (`list`, `get`, `attempts`)
441
+ - `events` (`list`, `get`, `attempts`, `replay`)
442
442
 
443
443
  #### Aliases
444
444
 
@@ -571,6 +571,7 @@ Inspects what Resend already delivered to a webhook. Use it to debug an endpoint
571
571
  1. `resend webhooks events list <webhook-id>` — find the event
572
572
  2. `resend webhooks events get <webhook-id> <event-id>` — see the payload we sent
573
573
  3. `resend webhooks events attempts <webhook-id> <event-id>` — see what your endpoint returned
574
+ 4. `resend webhooks events replay <webhook-id> <event-id>` — queue another delivery
574
575
 
575
576
  Running `resend webhooks events <webhook-id>` with no subcommand runs `list`.
576
577
 
@@ -581,13 +582,14 @@ Both list subcommands paginate forward only — there is no `--before`.
581
582
  | `--limit <n>` | Max results to return (`1`–`100`, default `10`) |
582
583
  | `--after <cursor>` | Return results after this ID (next page) |
583
584
 
584
- `events list` reports each event's `type`, `status` (`pending`, `attempting`, `success`, `failed`), and `created_at`. `events get` adds `next_attempt_at` and the payload that was sent. `events attempts` reports the `http_status_code` and response body your endpoint returned for each try.
585
+ `events list` reports each event's `type`, `status` (`pending`, `attempting`, `success`, `failed`), and `created_at`. `events get` adds `next_attempt_at` and the payload that was sent. `events attempts` reports the `http_status_code` and response body your endpoint returned for each try. `events replay` queues one more delivery attempt and returns `{"object":"webhook_event","id":"<event-id>"}`; it does not schedule automatic retries.
585
586
 
586
587
  ```bash
587
588
  resend webhooks events list wh_abc123
588
589
  resend webhooks events list wh_abc123 --limit 50 --json
589
590
  resend webhooks events get wh_abc123 msg_1srOrx2ZWZBpBUvZwXKQmoEYga2
590
591
  resend webhooks events attempts wh_abc123 msg_1srOrx2ZWZBpBUvZwXKQmoEYga2
592
+ resend webhooks events replay wh_abc123 msg_1srOrx2ZWZBpBUvZwXKQmoEYga2
591
593
  ```
592
594
 
593
595
  ---