Skip to content

Version 0.7.2

Compare
Choose a tag to compare
@MatinDehghanian MatinDehghanian released this 27 Nov 13:54
· 47 commits to main since this release

Enhancements:

•	Improved calculateUsedTimePercentage Functionality:
•	Now supports both ISO 8601 strings (e.g., 2024-12-24T20:30:00) and Unix timestamps (in seconds) for expireTimestamp.
•	Added input validation and error handling for invalid formats.
•	Enhanced debugging: logs input for easier tracking during development.

Key Benefits:

•	Ensures compatibility with APIs providing different timestamp formats.
•	Provides better error reporting and input debugging.
•	Simplifies integration across multiple API sources.

This update improves the robustness of the function, making it more flexible for various use cases.