@signaliz/sdk 1.0.21 → 1.0.23
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 +41 -706
- package/dist/chunk-EQ3WI2UU.mjs +594 -0
- package/dist/index.d.mts +76 -4753
- package/dist/index.d.ts +76 -4753
- package/dist/index.js +175 -9762
- package/dist/index.mjs +3 -59
- package/dist/mcp-config.js +178 -9702
- package/dist/mcp-config.mjs +6 -6
- package/package.json +5 -6
- package/dist/chunk-SLU4VF5G.mjs +0 -10153
- package/dist/cli.d.mts +0 -1
- package/dist/cli.d.ts +0 -1
- package/dist/cli.js +0 -11986
- package/dist/cli.mjs +0 -1694
package/dist/mcp-config.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
Signaliz
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EQ3WI2UU.mjs";
|
|
5
5
|
|
|
6
6
|
// src/mcp-config.ts
|
|
7
7
|
import * as fs from "fs";
|
|
@@ -75,8 +75,8 @@ async function handleSetup(apiKey) {
|
|
|
75
75
|
async function handleTest(apiKey) {
|
|
76
76
|
const signaliz = new Signaliz({ apiKey });
|
|
77
77
|
try {
|
|
78
|
-
const
|
|
79
|
-
console.log(`\u2705 Connected to
|
|
78
|
+
const health = await signaliz.health();
|
|
79
|
+
console.log(`\u2705 Connected to Signaliz (${health.status}; ${health.products.length} products)`);
|
|
80
80
|
} catch (e) {
|
|
81
81
|
console.error(`\u274C Connection failed: ${e.message}`);
|
|
82
82
|
process.exit(1);
|
|
@@ -89,11 +89,11 @@ async function handleTools(apiKey) {
|
|
|
89
89
|
console.log(`
|
|
90
90
|
\u{1F4CB} Available tools (${tools.length}):
|
|
91
91
|
`);
|
|
92
|
-
console.log("Name".padEnd(
|
|
93
|
-
console.log("\u2500".repeat(
|
|
92
|
+
console.log("Name".padEnd(36) + "Description");
|
|
93
|
+
console.log("\u2500".repeat(96));
|
|
94
94
|
for (const t of tools) {
|
|
95
95
|
console.log(
|
|
96
|
-
(t.name ?? "").padEnd(
|
|
96
|
+
(t.name ?? "").padEnd(36) + (t.description ?? "").slice(0, 60)
|
|
97
97
|
);
|
|
98
98
|
}
|
|
99
99
|
} catch (e) {
|
package/package.json
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaliz/sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Signaliz SDK
|
|
3
|
+
"version": "1.0.23",
|
|
4
|
+
"description": "Signaliz SDK for Find Email, Verify Email, Company Signal Enrichment, and Signal to Copy AI.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"bin": {
|
|
9
|
-
"signaliz": "dist/cli.js",
|
|
10
9
|
"signaliz-mcp": "dist/mcp-config.js"
|
|
11
10
|
},
|
|
12
11
|
"files": ["dist", "README.md"],
|
|
13
12
|
"scripts": {
|
|
14
13
|
"generate-types": "tsx scripts/generate-types.ts",
|
|
15
|
-
"build": "npm run generate-types && tsup src/index.ts src/
|
|
16
|
-
"test": "tsx tests/
|
|
14
|
+
"build": "npm run generate-types && tsup src/index.ts src/mcp-config.ts --format cjs,esm --dts --clean",
|
|
15
|
+
"test": "tsx tests/core-products.test.ts",
|
|
17
16
|
"prepublishOnly": "npm run build"
|
|
18
17
|
},
|
|
19
|
-
"keywords": ["signaliz", "mcp", "
|
|
18
|
+
"keywords": ["signaliz", "mcp", "email-finder", "email-verification", "company-signals", "signal-to-copy"],
|
|
20
19
|
"license": "MIT",
|
|
21
20
|
"repository": {
|
|
22
21
|
"type": "git",
|