Skip to content

Release v0.14.0

Choose a tag to compare

@murugancmi murugancmi released this 10 Apr 10:46
· 5 commits to master since this release

Release Notes - PIOPIY Client JS SDK v0.14.0

We are excited to announce the release of v0.14.0 of the PIOPIY Client JS SDK. This version introduces important new features for team call management and improves the robustness of the API's core identifiers.

🚀 What's New

Team Transfer Functionality

We've added a new teamTransfer(to, callback) method to the main PIOPIY class. This allows agents to seamlessly transfer active calls to specific teams or groups within the TeleCMI platform.

piopiy.teamTransfer("Support_Team", (response) => {
    if (response.error) {
        console.error("Transfer failed:", response.error);
    } else {
        console.log("Transfer initiated successfully");
    }
});

🛠️ Enhancements & Bug Fixes

Call ID Normalization

  • Strict Return Types: getCallId() and getCallID() have been updated to strictly return false (instead of undefined) when there is no active call or the SDK is not yet initialized. This ensures more predictable logic in your application.
  • Improved Error Feedback: Both transfer() and teamTransfer() now provide immediate feedback via the callback if they are invoked without an active call session, returning { error: "No active call found" }.

📦 Upgrade Guide

To upgrade to the latest version, run:

npm install piopiyjs@latest

For full details on the API and configuration, refer to the README.md or visit our Documentation Portal.