@signaliz/cli 1.0.46 → 1.0.47

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.
Files changed (2) hide show
  1. package/dist/bin.js +4 -2
  2. package/package.json +2 -2
package/dist/bin.js CHANGED
@@ -362,10 +362,12 @@ async function verifyEmail(args) {
362
362
  `);
363
363
  return;
364
364
  }
365
- process.stdout.write(`${result.email}: ${result.isDeliverable ? "deliverable" : "not deliverable"}
365
+ process.stdout.write(`${result.email}: ${result.verifiedForSending ? "verified for sending" : "not verified for sending"}
366
366
  `);
367
367
  process.stdout.write(`Valid: ${result.isValid}
368
+ Deliverable: ${result.isDeliverable}
368
369
  Catch-all: ${result.isCatchAll}
370
+ Verdict: ${result.verificationVerdict}
369
371
  `);
370
372
  });
371
373
  }
@@ -588,7 +590,7 @@ main().catch((error) => {
588
590
  process.stdout.write(`${stringifyMachineJson({
589
591
  success: false,
590
592
  error: "product_request_failed",
591
- error_code: signalizError?.code || "CLI_ERROR",
593
+ error_code: signalizError?.code || (error instanceof RangeError ? "INPUT_001" : "CLI_ERROR"),
592
594
  message,
593
595
  retry_eligible: signalizError?.isRetryable ?? false,
594
596
  ...signalizError?.retryAfter !== void 0 ? {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaliz/cli",
3
- "version": "1.0.46",
3
+ "version": "1.0.47",
4
4
  "description": "Signaliz CLI for Find Email, Verify Email, Company Signal Enrichment, and Signal to Copy AI.",
5
5
  "bin": {
6
6
  "signaliz": "dist/bin.js"
@@ -28,7 +28,7 @@
28
28
  "node": ">=18"
29
29
  },
30
30
  "dependencies": {
31
- "@signaliz/sdk": "^1.0.47"
31
+ "@signaliz/sdk": "^1.0.49"
32
32
  },
33
33
  "devDependencies": {
34
34
  "tsup": "^8.0.0",