Skip to content

Context7 Platform -- Up-to-date docs for AI agents

CTX7-272: ip address header

buggyhunter8b884f2a38ad
diff --git a/src/lib/api.ts b/src/lib/api.ts
index 1298ec05..41d4e7a7 100644
--- a/src/lib/api.ts
+++ b/src/lib/api.ts
@@ -1,5 +1,5 @@
import { SearchResponse } from "./types.js";
-import { createCipheriv, createDecipheriv, randomBytes } from "crypto";
+import { createCipheriv, randomBytes } from "crypto";
const CONTEXT7_API_BASE_URL = "https://context7.com/api";
const DEFAULT_TYPE = "txt";
@@ -34,8 +34,6 @@ function encryptClientIp(clientIp: string): string {
}
}
-
-
/**
* Searches for libraries matching the given query
* @param query The search query