Releases
v1.0.9
Compare
Sorry, something went wrong.
No results found
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).
You can鈥檛 perform that action at this time.