stacks.js icon indicating copy to clipboard operation
stacks.js copied to clipboard

feat: Support IntegerType for unit conversions

Open aryzing opened this issue 1 year ago • 2 comments

Description

Adds support for IntegerType to Stacks unit converters

Breaking change?

No, minor

Example

microStxToStx(1000000n)
microStxToStx('1500')

Notes

Unit tests for a module that wasn't touched are failing on local. Seems these changes shouldn't break those tests though. Perhaps a local machine issue?


Checklist

  • [x] Unit tested updated code paths
  • [x] Tagged @janniks

aryzing avatar Dec 04 '24 18:12 aryzing

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stacksjs-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 6:46pm

vercel[bot] avatar Dec 04 '24 18:12 vercel[bot]

Yes, these are great!!!

janniks avatar Dec 05 '24 21:12 janniks