@fundtracer/mcp 1.0.6 → 1.0.7

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/fundtracer-mcp.js CHANGED
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
- #!/usr/bin/env node
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __esm = (fn, res) => function __init() {
@@ -221,9 +220,9 @@ var init_tools = __esm({
221
220
  });
222
221
 
223
222
  // src/mcp/mcpLogger.ts
224
- import { getFirestore } from "../firebase.js";
225
223
  async function logMcpRequest(entry) {
226
224
  try {
225
+ const { getFirestore } = await import("../firebase.js");
227
226
  const db = getFirestore();
228
227
  if (!db) {
229
228
  console.warn("[MCP-LOGGER] getFirestore() returned null");
@@ -497,8 +496,8 @@ async function validateMcpApiKey(rawKey) {
497
496
  return validateViaHttp(rawKey);
498
497
  }
499
498
  async function validateWithFirestore(rawKey) {
500
- const { getFirestore: getFirestore2 } = await import("../firebase.js");
501
- const db = getFirestore2();
499
+ const { getFirestore } = await import("../firebase.js");
500
+ const db = getFirestore();
502
501
  if (!db) return null;
503
502
  const keyDoc = await db.collection("apiKeys").doc(rawKey).get();
504
503
  if (keyDoc.exists) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fundtracer/mcp",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "FundTracer MCP Server — blockchain analysis for AI assistants (Claude Desktop, Claude Code, Cursor, etc.)",
5
5
  "type": "module",
6
6
  "main": "fundtracer-mcp.js",