Skip to content

v1.0.9

Choose a tag to compare

@murugancmi murugancmi released this 15 Dec 12:04
· 6 commits to master since this release

Release Notes - v1.0.9

馃殌 New Features

  • AI Voice Agent: Introduced client.ai.call() to initiate AI-powered voice calls with context variables and configuration options.
  • Common Hangup Utility: Added client.voice.hangup() as a unified method to terminate calls using UUIDs.

馃洜 Improvements & Refactoring

  • Strict Authentication: Enforced Bearer Token authentication (new Piopiy("YOUR_TOKEN")). Legacy appid/secret authentication has been removed.
  • Schema Validation: Implemented strict input validation:
    • Phone Numbers: Must match ^[1-9][0-9]{6,15}$.
    • Agent ID: Validated as UUID.
    • Keys: Restrict variable keys to alphanumeric/underscore format.
  • Simplified Initialization: streamlined SDK setup using destructuring (const { Piopiy } = require('piopiy')).

馃摎 Documentation

  • Updated README to focus exclusively on AI Voice Agent capabilities.
  • Added comprehensive examples for Call and Hangup flows.
  • Removed legacy documentation for deprecated features (Standard Calls, PCMO).