@signaliz/cli 1.0.39 → 1.0.40
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 +3 -0
- package/dist/bin.js +18 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -18,6 +18,9 @@ signaliz find-email --company-domain example.com --full-name "Jane Doe" --skip-c
|
|
|
18
18
|
signaliz verify-email jane@example.com
|
|
19
19
|
# Force a fresh-provider verification instead of reusing cached proof
|
|
20
20
|
signaliz verify-email jane@example.com --skip-cache
|
|
21
|
+
# Return early when a provider check runs long, then resume the exact run
|
|
22
|
+
signaliz verify-email jane@example.com --skip-cache --no-wait --json
|
|
23
|
+
signaliz verify-email --verification-run-id run_... --json
|
|
21
24
|
signaliz company-signals --domain example.com --research-prompt "expansion priorities"
|
|
22
25
|
# Resume a queued run in a later agent/process without duplicate spend
|
|
23
26
|
signaliz company-signals --signal-run-id run_...
|
package/dist/bin.js
CHANGED
|
@@ -13,7 +13,7 @@ var HELP = `Signaliz CLI
|
|
|
13
13
|
|
|
14
14
|
Four product commands:
|
|
15
15
|
signaliz find-email --company-domain example.com --full-name "Jane Doe" [--skip-cache]
|
|
16
|
-
signaliz verify-email jane@example.com
|
|
16
|
+
signaliz verify-email [jane@example.com] [--verification-run-id run_...] [--no-wait] [--max-wait-ms 600000]
|
|
17
17
|
signaliz company-signals --domain example.com [--research-prompt "..."] [--no-summary] [--max-wait-ms 1200000]
|
|
18
18
|
signaliz company-signals --signal-run-id run_... Resume without duplicate spend
|
|
19
19
|
signaliz signal-to-copy --company-domain example.com --person-name "Jane Doe" \\
|
|
@@ -292,10 +292,24 @@ async function verifyEmail(args) {
|
|
|
292
292
|
batchOutput(result2);
|
|
293
293
|
return;
|
|
294
294
|
}
|
|
295
|
-
const email = args
|
|
296
|
-
|
|
297
|
-
|
|
295
|
+
const email = args[0] && !args[0].startsWith("--") ? args[0] : flag("email");
|
|
296
|
+
const verificationRunId = flag("verification-run-id");
|
|
297
|
+
if (!email && !verificationRunId) fail("Usage: signaliz verify-email [jane@example.com] [--verification-run-id run_...]");
|
|
298
|
+
const result = await createClient().verifyEmail(email, {
|
|
299
|
+
skipCache: hasFlag("skip-cache"),
|
|
300
|
+
verificationRunId,
|
|
301
|
+
waitForResult: !hasFlag("no-wait"),
|
|
302
|
+
maxWaitMs: numberFlag("max-wait-ms"),
|
|
303
|
+
pollIntervalMs: numberFlag("poll-interval-ms")
|
|
304
|
+
});
|
|
298
305
|
output(result, () => {
|
|
306
|
+
if (result.status === "processing") {
|
|
307
|
+
process.stdout.write(`Verification processing: ${result.verificationRunId}
|
|
308
|
+
`);
|
|
309
|
+
process.stdout.write(`Retry after ${result.nextPollAfterSeconds || 3} seconds with --verification-run-id ${result.verificationRunId}
|
|
310
|
+
`);
|
|
311
|
+
return;
|
|
312
|
+
}
|
|
299
313
|
process.stdout.write(`${result.email}: ${result.isDeliverable ? "deliverable" : "not deliverable"}
|
|
300
314
|
`);
|
|
301
315
|
process.stdout.write(`Valid: ${result.isValid}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaliz/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.40",
|
|
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.
|
|
31
|
+
"@signaliz/sdk": "^1.0.39"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"tsup": "^8.0.0",
|