@huskel/sdk 0.3.0 → 0.3.1

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/README.md +0 -31
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,37 +12,6 @@ pnpm add @huskel/sdk
12
12
 
13
13
  ---
14
14
 
15
- ## How it works
16
-
17
- ```
18
- Customer visits /products/nike-air-max
19
-
20
- usePageIngest() fires silently in the browser
21
-
22
- POST /ingest → Go backend → Upstash vector DB
23
-
24
- Product is now searchable via <SearchBar />
25
- ```
26
-
27
- No cron jobs. No scraping. No manual uploads.
28
-
29
- ---
30
-
31
- ## Setup
32
-
33
- ### Environment variables
34
-
35
- Add these to `.env` or `.env.local` in your project:
36
-
37
- ```bash
38
- NEXT_PUBLIC_HUSKEL_SITE_ID=your-site-id
39
- NEXT_PUBLIC_HUSKEL_API_URL=https://your-huskel-backend.com
40
- NEXT_PUBLIC_HUSKEL_API_TOKEN=sk_live_...
41
- ```
42
-
43
- The SDK picks these up automatically — no need to pass them manually.
44
-
45
- ---
46
15
 
47
16
  ## Next.js (App Router)
48
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huskel/sdk",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Huskel AI-powered search SDK for SPAs",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",