@mailmodo/cli 0.0.20-beta.pr22.32 → 0.0.20-beta.pr22.36

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.
@@ -124,15 +124,15 @@ export default class Domain extends BaseCommand {
124
124
  if (!response.ok) {
125
125
  this.handleApiError(response);
126
126
  }
127
- const { dkim, dmarc, spf } = response.data;
127
+ const { dkim, dmarc, returnPath, domainStatus } = response.data;
128
128
  if (jsonOutput) {
129
- this.log(JSON.stringify({ dkim, dmarc, spf }, null, 2));
129
+ this.log(JSON.stringify({ dkim, dmarc, returnPath, domainStatus }, null, 2));
130
130
  return;
131
131
  }
132
- this.log(` SPF ${spf ? chalk.green('✓') : chalk.red('✗ Not found')}`);
133
- this.log(` DKIM ${dkim ? chalk.green('✓') : chalk.red('✗ Not found')}`);
134
- this.log(` DMARC ${dmarc ? chalk.green('✓') : chalk.red('✗ Not found')}`);
135
- const allPassed = spf && dkim && dmarc;
132
+ this.log(` DKIM ${dkim ? chalk.green('✓') : chalk.red('✗ Not found')}`);
133
+ this.log(` DMARC ${dmarc ? chalk.green('✓') : chalk.red('✗ Not found')}`);
134
+ this.log(` Return Path ${returnPath ? chalk.green('✓') : chalk.red('✗ Not found')}`);
135
+ const allPassed = domainStatus === 'VERIFIED';
136
136
  if (allPassed) {
137
137
  this.log(`\n ${chalk.green('✓')} Domain verified.\n`);
138
138
  }
@@ -144,6 +144,11 @@ export default class Domain extends BaseCommand {
144
144
  this.log(` - Including the full domain in the Host field`);
145
145
  this.log(` - Cloudflare: proxy must be OFF (grey cloud, not orange)`);
146
146
  }
147
+ if (!returnPath) {
148
+ this.log(`\n Return Path common mistakes:`);
149
+ this.log(` - Missing or incorrect CNAME for mm-bounce subdomain`);
150
+ this.log(` - Cloudflare: proxy must be OFF (grey cloud, not orange)`);
151
+ }
147
152
  this.log(`\n Fix the records and run ${chalk.cyan('mailmodo domain --verify')} again.`);
148
153
  this.log(` Help: ${chalk.cyan(DNS_GUIDE_URL)}\n`);
149
154
  }
@@ -381,44 +381,6 @@
381
381
  "index.js"
382
382
  ]
383
383
  },
384
- "logout": {
385
- "aliases": [],
386
- "args": {},
387
- "description": "Sign out by removing saved credentials from this machine",
388
- "examples": [
389
- "<%= config.bin %> logout"
390
- ],
391
- "flags": {
392
- "json": {
393
- "description": "Output as JSON",
394
- "name": "json",
395
- "allowNo": false,
396
- "type": "boolean"
397
- },
398
- "yes": {
399
- "char": "y",
400
- "description": "Skip confirmation prompts",
401
- "name": "yes",
402
- "allowNo": false,
403
- "type": "boolean"
404
- }
405
- },
406
- "hasDynamicHelp": false,
407
- "hiddenAliases": [],
408
- "id": "logout",
409
- "pluginAlias": "@mailmodo/cli",
410
- "pluginName": "@mailmodo/cli",
411
- "pluginType": "core",
412
- "strict": true,
413
- "enableJsonFlag": false,
414
- "isESM": true,
415
- "relativePath": [
416
- "dist",
417
- "commands",
418
- "logout",
419
- "index.js"
420
- ]
421
- },
422
384
  "logs": {
423
385
  "aliases": [],
424
386
  "args": {},
@@ -578,6 +540,44 @@
578
540
  "index.js"
579
541
  ]
580
542
  },
543
+ "logout": {
544
+ "aliases": [],
545
+ "args": {},
546
+ "description": "Sign out by removing saved credentials from this machine",
547
+ "examples": [
548
+ "<%= config.bin %> logout"
549
+ ],
550
+ "flags": {
551
+ "json": {
552
+ "description": "Output as JSON",
553
+ "name": "json",
554
+ "allowNo": false,
555
+ "type": "boolean"
556
+ },
557
+ "yes": {
558
+ "char": "y",
559
+ "description": "Skip confirmation prompts",
560
+ "name": "yes",
561
+ "allowNo": false,
562
+ "type": "boolean"
563
+ }
564
+ },
565
+ "hasDynamicHelp": false,
566
+ "hiddenAliases": [],
567
+ "id": "logout",
568
+ "pluginAlias": "@mailmodo/cli",
569
+ "pluginName": "@mailmodo/cli",
570
+ "pluginType": "core",
571
+ "strict": true,
572
+ "enableJsonFlag": false,
573
+ "isESM": true,
574
+ "relativePath": [
575
+ "dist",
576
+ "commands",
577
+ "logout",
578
+ "index.js"
579
+ ]
580
+ },
581
581
  "status": {
582
582
  "aliases": [],
583
583
  "args": {},
@@ -618,5 +618,5 @@
618
618
  ]
619
619
  }
620
620
  },
621
- "version": "0.0.20-beta.pr22.32"
621
+ "version": "0.0.20-beta.pr22.36"
622
622
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mailmodo/cli",
3
3
  "description": "Email lifecycle automation for the AI-native builder generation.",
4
- "version": "0.0.20-beta.pr22.32",
4
+ "version": "0.0.20-beta.pr22.36",
5
5
  "author": "provishalk",
6
6
  "bin": {
7
7
  "mailmodo": "bin/run.js"