@connekz/connekz-agent 2.0.0 → 2.2.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,35 @@
1
+ ## [2.2.1] - 2026-07-10 (Patch Release)
2
+
3
+ ### Added
4
+
5
+ ### Changed
6
+
7
+ ### Fixed
8
+
9
+ ### Security
10
+
11
+ ## [2.2.0] - 2026-07-10 (Minor Release)
12
+
13
+ ### Added
14
+
15
+ ### Changed
16
+
17
+ ### Fixed
18
+
19
+ ### Security
20
+
21
+ ## [2.1.0] - 2026-07-10 (Minor Release)
22
+
23
+ ### Added
24
+ - `setSessionTools` declared in the public TypeScript types (`VoiceAgentAPI`) — it was implemented but missing from `types.d.ts`, breaking TypeScript consumers.
25
+ - `setSessionTools` can now be called before the socket connects — the latest slug set is queued and flushed on connection.
26
+ - `session-tools-updated` server confirmation event is now handled (logged at debug level) instead of warning "Unknown event type".
27
+
28
+ ### Fixed
29
+ - Broken type references in `types.d.ts`: `VoiceAgentStatus` → `ConnekzAgentStatus`, `ConnekzConversation` → `ConnekzTranscript`.
30
+ - Removed phantom `makeSleep` from the public types (it was never implemented).
31
+ - Removed the stale `./connekz-agent.css` package export — v2 injects styles at runtime and no CSS file ships in `dist/`. Consumers must remove `import '@connekz/connekz-agent/connekz-agent.css'`.
32
+
1
33
  ## [2.0.0] - 2026-06-23 (Major Release)
2
34
 
3
35
  ### Added
package/README.md CHANGED
@@ -104,7 +104,7 @@ const unsubAgentWave = connekzAgent.subscribe.onAgentWaveformUpdate((volume: num
104
104
  console.log('Agent volume:', volume);
105
105
  });
106
106
 
107
- const unsubTranscript = connekzAgent.subscribe.onTranscriptUpdate((transcript: readonly ConnekzConversation[]) => {
107
+ const unsubTranscript = connekzAgent.subscribe.onTranscriptUpdate((transcript: readonly ConnekzTranscript[]) => {
108
108
  console.log('Transcript:', transcript);
109
109
  });
110
110