@signaliz/cli 1.0.24 → 1.0.25
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 +2 -0
- package/dist/bin.js +6 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@ signaliz find-email --company-domain example.com --full-name "Jane Doe"
|
|
|
16
16
|
# Force a fresh-provider quality check instead of reusing cached email or verification data
|
|
17
17
|
signaliz find-email --company-domain example.com --full-name "Jane Doe" --skip-cache
|
|
18
18
|
signaliz verify-email jane@example.com
|
|
19
|
+
# Force a fresh-provider verification instead of reusing cached proof
|
|
20
|
+
signaliz verify-email jane@example.com --skip-cache
|
|
19
21
|
signaliz company-signals --domain example.com --research-prompt "expansion priorities"
|
|
20
22
|
# Resume a queued run in a later agent/process without duplicate spend
|
|
21
23
|
signaliz company-signals --signal-run-id run_...
|
package/dist/bin.js
CHANGED
|
@@ -205,7 +205,6 @@ async function findEmail() {
|
|
|
205
205
|
const result2 = await createClient().findEmails(rows.map((value) => {
|
|
206
206
|
const row = record(value);
|
|
207
207
|
return {
|
|
208
|
-
signalRunId: row.signalRunId || row.signal_run_id,
|
|
209
208
|
companyDomain: row.companyDomain || row.company_domain || row.domain,
|
|
210
209
|
fullName: row.fullName || row.full_name || row.name,
|
|
211
210
|
firstName: row.firstName || row.first_name,
|
|
@@ -248,13 +247,16 @@ async function verifyEmail(args) {
|
|
|
248
247
|
const rows = readBatchInput();
|
|
249
248
|
if (rows) {
|
|
250
249
|
const emails = rows.map((value) => typeof value === "string" ? value : String(record(value).email || ""));
|
|
251
|
-
const result2 = await createClient().verifyEmails(emails,
|
|
250
|
+
const result2 = await createClient().verifyEmails(emails, {
|
|
251
|
+
...batchOptions(),
|
|
252
|
+
skipCache: hasFlag("skip-cache")
|
|
253
|
+
});
|
|
252
254
|
batchOutput(result2);
|
|
253
255
|
return;
|
|
254
256
|
}
|
|
255
257
|
const email = args.find((value) => !value.startsWith("--")) || flag("email");
|
|
256
258
|
if (!email) fail("Usage: signaliz verify-email jane@example.com");
|
|
257
|
-
const result = await createClient().verifyEmail(email);
|
|
259
|
+
const result = await createClient().verifyEmail(email, { skipCache: hasFlag("skip-cache") });
|
|
258
260
|
output(result, () => {
|
|
259
261
|
process.stdout.write(`${result.email}: ${result.isDeliverable ? "deliverable" : "not deliverable"}
|
|
260
262
|
`);
|
|
@@ -270,6 +272,7 @@ async function companySignals() {
|
|
|
270
272
|
const row = record(value);
|
|
271
273
|
const online = row.online ?? !hasFlag("offline");
|
|
272
274
|
return {
|
|
275
|
+
signalRunId: row.signalRunId || row.signal_run_id,
|
|
273
276
|
companyDomain: row.companyDomain || row.company_domain || row.domain,
|
|
274
277
|
companyName: row.companyName || row.company_name || row.name,
|
|
275
278
|
researchPrompt: row.researchPrompt || row.research_prompt || flag("research-prompt") || flag("prompt"),
|