]> zoso.dev Git - libnemo.git/commit
Return bigint directly from account properties to let consumers do math on the raw...
authorChris Duncan <chris@zoso.dev>
Tue, 8 Oct 2024 09:02:56 +0000 (02:02 -0700)
committerChris Duncan <chris@zoso.dev>
Tue, 8 Oct 2024 09:02:56 +0000 (02:02 -0700)
commitcff74da6d633a52acee41f0535baf9770b0f0911
treefe24dfcc0face125bd036e9b380e158d509fd2bc
parent7f011fa35fca966a63a8d90c70061b55552415e6
Return bigint directly from account properties to let consumers do math on the raw amounts since they can call toString() if necessary. Allow bigint to be passed to denomination converter and explicitly check its amount type.
src/lib/account.ts
src/lib/tools.ts
test/refresh-accounts.test.mjs