Skip to content

Releases: HellioSolutions/helliomessaging-nodejs

Fixed some bugs and added some test

Choose a tag to compare

@HellioMessaging HellioMessaging released this 20 Jun 19:21

This release introduces comprehensive tests and improvements for the Hellio Messaging API integration. The tests cover various functionalities of the API, ensuring reliable and accurate behaviour. Several enhancements have been made to increase test coverage, improve code quality, and enhance the overall stability of the integration.

Key Features:

  • Implemented tests for the sendOTP method to verify successful OTP sending and error handling for invalid parameters.
  • Added tests for the verifyOTP method to ensure correct OTP verification and error handling scenarios.
  • Created tests for the numberLookup method to validate accurate number lookup functionality and error responses.
  • Introduced tests for the getRoutingPrice method to verify the retrieval of routing prices and error handling for invalid input.
  • Implemented tests for the checkDeliveryReport method to ensure proper retrieval of delivery reports and handle error conditions.
  • Added a test suite for the checkBalance method to validate successful account balance retrieval and verify the response structure.

Improvements:

  • Enhanced test coverage by introducing tests for additional methods in the Hellio Messaging API.
  • Improved code quality and maintainability of the test suite by adhering to best practices and standards.
  • Refactored test cases to follow a consistent structure and naming convention for better readability.
  • Added appropriate assertions to verify the response data and error handling in the API methods.
  • Resolved issues with undefined values in some test assertions by updating the expected response values based on the API documentation.
  • Incorporated console logging during test execution to provide visibility into the test results and aid in troubleshooting.

These updates and improvements ensure the robustness and reliability of the Hellio Messaging API integration, enabling developers to confidently utilize the API for sending SMS messages, managing OTPs, performing number lookups, retrieving delivery reports, and checking account balances.

Hellio Messaging API Node.js Package - Version 1.0.0

Choose a tag to compare

@HellioMessaging HellioMessaging released this 20 Jun 14:51

This release introduces the initial version (v1.0.0) of the Hellio Messaging API Node.js Package. This package provides a convenient way to integrate Hellio Messaging services into your Node.js applications.

Key Features:

  • Sending SMS messages: Easily send SMS messages using the Hellio Messaging API.

  • Sending OTP: Generate and send One-Time Passwords (OTP) to users for authentication or verification purposes.

  • Number Lookup: Perform number lookup to retrieve information about phone numbers, such as carrier details.

  • Checking Delivery Report: Retrieve delivery reports to track the status of sent messages.

  • Checking Account Balance: Obtain the current account balance for Hellio Messaging.

The package offers a user-friendly and intuitive interface to interact with the Hellio Messaging API endpoints, simplifying the integration process for developers. It handles the authentication process, parameter validation, and API request handling.

This release establishes a solid foundation for utilizing Hellio Messaging services in your Node.js projects. You can easily incorporate messaging, OTP, number lookup, delivery report checks, and balance inquiries into your applications with just a few lines of code.

We encourage developers to explore the package documentation and sample code provided in the repository to get started quickly. Any feedback, bug reports, or feature requests are greatly appreciated and can be submitted via the repository's issue tracker.

Get started today with the Hellio Messaging API Node.js Package and enhance your applications with powerful messaging capabilities!

Happy coding! 🤝