v0.0.3-public-alpha
·
92 commits
to main
since this release
Changelog
Version 0.0.3-public-alpha - 2024-11-03
New Features:
- Added
fromNano
function with support for custom decimals to convert nano units to standard units. - Added
toNano
function with support for custom decimals to convert standard units to nano units.
Improvements:
- Exported all types for enhanced flexibility and type safety in external usage.
Release Note
New Functions: fromNano
and toNano
(Custom Decimal Support)
In this release, we've introduced two powerful new functions: fromNano
and toNano
. These functions allow you to easily convert between nano units and standard units, with the added flexibility of specifying custom decimals.
-
fromNano
: Convert nano units (smallest denomination) to standard units, supporting any custom decimal precision. -
toNano
: Convert standard units to nano units with custom decimal precision, ensuring precise handling of various decimal places.
Exported Types
- To improve developer experience, we’ve now exported all types used in the package. This allows for better type safety and easier integration in TypeScript projects.
Full Changelog: v0.0.2-public-alpha...v0.0.3-public-alpha