UNPKG

advanced-ussd-builder

Version:

Advanced USSD Menu Builder with persistent state and navigation

91 lines (69 loc) 2.48 kB
[2.3.4] - Fixed a typo in response structure [2.3.3] - Fixed Airtel-Tigo USSD args processing bug. [2.3.2] - Airtel-Tigo USSD payload update. Ensure response structure is in order. [2.3.1] - Airtel-Tigo USSD payload update. Ensure XML structure adherence. [2.3.0] - Airtel-Tigo USSD Integration [2.2.0] - Vodafone/Telecel USSD Integration [2.1.0] - Cross Switch USSD Integration [2.0.3] - MTN USSD Termination [2.0.2] - Introduced custom menu to UssdMenu class to allow for menus that take custom input input from the user other than page numbers. - Fixed a bug with nested menu handlers being called repeatedly. - Improved efficient of state navigation. [2.0.1] - Fixed a bug when a menu options size equals that of the character limitation - Unit test update [2.0.0] - Rewrote the USSD Builder model - Renamed iUssdMenuClass to iUssdBuilder - Introduce a new property 'type' for menu - Support MTN as provider using MADAPI 3PPG USSD - Renamed options next_page_label to next_page_key - Renamed options prev_page_label to back_page_key - Introduced a new property 'handler_type' for menu - Introduced UssdMenu class for developing USSD Menus - Introduced UssdBuilder class for configuring USSD Builder - Menu render config now supports pagination override. See Readme - Handler callbacks can now be path to a module or function or async function - Introduced a new property 'handler_name_in_destination' for menu - Introduce functionality to self paginate rendered message. See Readme - Handler callbacks can now be asynchronous or synchronous functions - Middleware callback can now be asynchronous or synchronous functions - Rewrote pagination feature to paginate menu based on GSM-7bits & Unicode UCS-2 character limitation. [1.0.11] - Fixed bug with non paginated main menu navigation - Updated Typings for Set Custom Session handler. [1.0.10] - Increase test coverage - Readme fix attempt [1.0.9] - Removed Redis-OM dependency due to reliance on RedisJSON and RedisSearch - Implemented custom redis session module with redis set. - Updated Readme content. - Introduced Unit Test [1.0.8] - Updated Readme content [1.0.7] - Readme fix attempt [1.0.6] - Readme fix attempt [1.0.5] - Readme fix attempt [1.0.4] - Readme fix attempt [1.0.3] - Readme fix attempt [1.0.2] - Readme fix attempt [1.0.1] - Readme fix attempt [1.0.0] - Initial version