@builtwith/sdk 1.0.1 → 1.1.0

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +6 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@builtwith/sdk",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "BuiltWith AI-first SDK for Node.js",
5
5
  "main": "src/index.js",
6
6
  "exports": {
package/src/index.js CHANGED
@@ -322,6 +322,12 @@ class BuiltWithClient {
322
322
  return this._request('social-api', { lookup });
323
323
  }
324
324
 
325
+ async vector_search(params) {
326
+ const { query, limit } = params || {};
327
+ _validate_string('query', query);
328
+ return this._request('vector-search', { query, ...(limit != null ? { limit } : {}) });
329
+ }
330
+
325
331
  // ── Prompt helpers ─────────────────────────────────────────────────────────
326
332
 
327
333
  prompt_analyze_tech_stack(params) {