heyreach-cli 0.1.3 → 0.1.4

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/dist/index.js CHANGED
@@ -84,6 +84,7 @@ function extractMessage(raw) {
84
84
  }
85
85
  if (parts.length > 0) return parts.join(". ");
86
86
  }
87
+ if (nested?.errorMessage) return String(nested.errorMessage);
87
88
  return raw;
88
89
  }
89
90
  function safeParse(text) {
@@ -2646,7 +2647,7 @@ import { Command } from "commander";
2646
2647
  var program = new Command();
2647
2648
  program.name("heyreach").description(
2648
2649
  "HeyReach CLI \u2014 manage LinkedIn campaigns, leads, lists, inbox, webhooks, and more from your terminal."
2649
- ).version("0.1.3").option("--pretty", "Pretty-print JSON output").option("--quiet", "Suppress output, exit codes only").option("--fields <fields>", "Comma-separated fields to include in output").option("--api-key <key>", "HeyReach workspace API key").option("--org-key <key>", "HeyReach Organization API key");
2650
+ ).version("0.1.4").option("--pretty", "Pretty-print JSON output").option("--quiet", "Suppress output, exit codes only").option("--fields <fields>", "Comma-separated fields to include in output").option("--api-key <key>", "HeyReach workspace API key").option("--org-key <key>", "HeyReach Organization API key");
2650
2651
  registerAllCommands(program);
2651
2652
  program.parse();
2652
2653
  //# sourceMappingURL=index.js.map