@hamsa-ai/voice-agents-sdk 0.5.3 → 0.5.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hamsa-ai/voice-agents-sdk",
3
- "version": "0.5.3",
3
+ "version": "0.5.4",
4
4
  "description": "Hamsa AI - Voice Agents JavaScript SDK",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/types/main.d.ts CHANGED
@@ -559,9 +559,8 @@ declare class HamsaVoiceAgent extends EventEmitter {
559
559
  * browser-based call testing with DTMF input simulation, allowing users to
560
560
  * test IVR flows and DTMF transitions without making actual phone calls.
561
561
  *
562
- * The DTMF digit is sent through the LiveKit data channel to the server,
563
- * which processes it as a DTMF input event that can trigger DTMF transitions
564
- * in the agent flow.
562
+ * Uses LiveKit's native DTMF API (publishDtmf) which properly integrates with
563
+ * telephony systems and SIP infrastructure per RFC 4733 standard.
565
564
  *
566
565
  * @param digit - A single DTMF digit: '0'-'9', '*', or '#'
567
566
  * @throws {Error} If called when not connected (no active call)