@zespan/sdk 1.0.0 → 1.0.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 +6 -6
  2. package/package.json +2 -1
package/README.md CHANGED
@@ -18,7 +18,7 @@ pnpm add @zespan/sdk
18
18
  import { init } from "@zespan/sdk";
19
19
 
20
20
  init({
21
- apiKey: "lqt_your_key_here",
21
+ apiKey: "zsp_your_key_here",
22
22
  projectId: "your_project_id",
23
23
  });
24
24
  ```
@@ -35,7 +35,7 @@ By default, `init()` patches OpenAI, Anthropic, and Google GenAI as soon as they
35
35
  import { init } from "@zespan/sdk";
36
36
  import OpenAI from "openai";
37
37
 
38
- init({ apiKey: "lqt_...", projectId: "proj_..." });
38
+ init({ apiKey: "zsp_...", projectId: "proj_..." });
39
39
 
40
40
  const openai = new OpenAI();
41
41
  // This call is automatically traced
@@ -48,7 +48,7 @@ const response = await openai.chat.completions.create({
48
48
  To disable autopatch and wrap manually:
49
49
 
50
50
  ```ts
51
- init({ apiKey: "lqt_...", autopatch: false });
51
+ init({ apiKey: "zsp_...", autopatch: false });
52
52
  ```
53
53
 
54
54
  ## Manual wrappers
@@ -61,7 +61,7 @@ import OpenAI from "openai";
61
61
  import Anthropic from "@anthropic-ai/sdk";
62
62
  import { GoogleGenerativeAI } from "@google/generative-ai";
63
63
 
64
- init({ apiKey: "lqt_...", autopatch: false });
64
+ init({ apiKey: "zsp_...", autopatch: false });
65
65
 
66
66
  const openai = wrapOpenAI(new OpenAI());
67
67
  const anthropic = wrapAnthropic(new Anthropic());
@@ -85,7 +85,7 @@ const google = wrapGoogle(new GoogleGenerativeAI(process.env.GOOGLE_API_KEY!));
85
85
 
86
86
  ```ts
87
87
  init({
88
- apiKey: "lqt_...", // required
88
+ apiKey: "zsp_...", // required
89
89
  projectId: "proj_...", // required — links traces to a project
90
90
  environment: "production", // default: "production"
91
91
  storePrompts: false, // store prompt/completion text (default: false)
@@ -315,7 +315,7 @@ Enable native OTEL export alongside Zespan:
315
315
 
316
316
  ```ts
317
317
  init({
318
- apiKey: "lqt_...",
318
+ apiKey: "zsp_...",
319
319
  enableOTel: true,
320
320
  otelEndpoint: "http://localhost:4318",
321
321
  otelServiceName: "my-service",
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@zespan/sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
+ "license": "Apache-2.0",
5
6
  "main": "dist/index.js",
6
7
  "module": "dist/index.mjs",
7
8
  "types": "dist/index.d.ts",