resend-cli 2.19.0 → 2.20.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 +14 -2
- package/dist/cli.cjs +157 -152
- package/package.json +2 -2
- package/skills/resend-cli/SKILL.md +2 -2
- package/skills/resend-cli/references/webhooks.md +14 -1
package/README.md
CHANGED
|
@@ -301,7 +301,7 @@ resend emails send \
|
|
|
301
301
|
--text "See attached." \
|
|
302
302
|
--cc manager@example.com \
|
|
303
303
|
--bcc delivered+1@resend.dev \
|
|
304
|
-
--reply-to
|
|
304
|
+
--reply-to support@example.com
|
|
305
305
|
```
|
|
306
306
|
|
|
307
307
|
**Overriding the API key for one send:**
|
|
@@ -437,6 +437,7 @@ Use `all` with `--events` to subscribe to every event.
|
|
|
437
437
|
- `get`
|
|
438
438
|
- `update`
|
|
439
439
|
- `delete`
|
|
440
|
+
- `rotate-signing-secret`
|
|
440
441
|
- `listen`
|
|
441
442
|
- `events` (`list`, `get`, `attempts`, `replay`)
|
|
442
443
|
|
|
@@ -498,7 +499,7 @@ resend webhooks get wh_abc123
|
|
|
498
499
|
resend webhooks get wh_abc123 --json
|
|
499
500
|
```
|
|
500
501
|
|
|
501
|
-
The signing secret is not returned from `get`.
|
|
502
|
+
The signing secret is not returned from `get`. Use `resend webhooks rotate-signing-secret <id>` to get a new one.
|
|
502
503
|
|
|
503
504
|
#### **`resend webhooks update`**
|
|
504
505
|
|
|
@@ -536,6 +537,17 @@ resend webhooks delete wh_abc123 --yes
|
|
|
536
537
|
|
|
537
538
|
To pause delivery temporarily, prefer `resend webhooks update <id> --status disabled`.
|
|
538
539
|
|
|
540
|
+
#### **`resend webhooks rotate-signing-secret`**
|
|
541
|
+
|
|
542
|
+
Generates a new signing secret for the webhook and returns it. For 24 hours, payloads are signed with both the new and the previous secret, so either one verifies them. After that, only the new secret does. Like `create`, the `signing_secret` is shown once — save it immediately.
|
|
543
|
+
|
|
544
|
+
Omit the ID in a terminal to pick from a list.
|
|
545
|
+
|
|
546
|
+
```bash
|
|
547
|
+
resend webhooks rotate-signing-secret wh_abc123
|
|
548
|
+
resend webhooks rotate-signing-secret wh_abc123 --json
|
|
549
|
+
```
|
|
550
|
+
|
|
539
551
|
#### **`resend webhooks listen`**
|
|
540
552
|
|
|
541
553
|
Built-in local development helper. It:
|