Skip to content

Commit fb674af

Browse files
rehanvdmclaudefelipefreitag
authored
fix: add new domain statuses (#287)
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com> Co-authored-by: Felipe Freitag <felipe.freitag@resend.com>
1 parent 403a588 commit fb674af

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "resend-cli",
3-
"version": "2.2.0",
3+
"version": "2.2.1",
44
"description": "The official CLI for Resend",
55
"license": "MIT",
66
"repository": {
@@ -46,7 +46,7 @@
4646
"esbuild": "0.28.0",
4747
"esbuild-wasm": "0.28.0",
4848
"picocolors": "1.1.1",
49-
"resend": "6.12.0"
49+
"resend": "6.12.2"
5050
},
5151
"pkg": {
5252
"scripts": [

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/commands/domains/get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const getDomainCommand = new Command('get')
1818
'after',
1919
buildHelpText({
2020
output:
21-
' Full domain object including records array and current status.\n\nDomain status values: not_started | pending | verified | failed | temporary_failure',
21+
' Full domain object including records array and current status.\n\nDomain status values: not_started | pending | verified | failed | partially_verified | partially_failed',
2222
errorCodes: ['auth_error', 'fetch_error'],
2323
examples: [
2424
'resend domains get 4dd369bc-aa82-4ff3-97de-514ae3000ee0',

src/commands/domains/utils.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ export function statusIndicator(status: string): string {
4747
return '⏳ Pending';
4848
case 'not_started':
4949
return '○ Not started';
50+
case 'partially_verified':
51+
return '◐ Partially verified';
52+
case 'partially_failed':
53+
return '◐ Partially failed';
5054
case 'failed':
5155
case 'temporary_failure':
5256
return '✗ Failed';

0 commit comments

Comments
 (0)