Jaco
9c224f5076
Use .js imports in src ( #1756 )
...
* Use .js imports in src
* Revert node/test/node -> node/test/node.d.ts (for now)
* util-crypto
* Additional
* Adjust tsconfig aliases
* Bump dev
2023-03-09 11:04:03 +02:00
Jaco
7d745661b7
Bump deps ( #1740 )
...
* Bump deps
* lint fixes
2023-02-18 13:10:13 +02:00
Aleš Ferlan
913bf65dab
feat: allow setting of thousand/decimal separators ( #1722 )
...
* feat: allow setting of thousand/decimal separators
* fix: add file header and fix lint errors
* fix: move getSeparator to format
2023-02-07 14:56:27 +02:00
Jaco
5f9e345dd4
Drop stray console.error log ( #1707 )
2023-01-13 16:17:51 +02:00
Jaco
08bf4b7eb2
Bugfix for formatBalance (forceUnit), result < 0 ( #1706 )
...
* Bugfix for formatBalance (forceUnit), result < 0
* Deps up
2023-01-13 15:54:40 +02:00
Jaco
39403fcfe7
formatBalance withAll/withZero ( #1703 )
2023-01-11 15:45:19 +02:00
Jaco
3fe6be655d
Update headers for 2023 ( #1697 )
2023-01-01 10:21:43 +02:00
Jaco
c92d5cfb20
Remove deprecated call signatures ( #1584 )
2022-07-07 07:54:07 +03:00
Jaco
0f0b243815
Adjust isNull & isUndefined checks ( #1554 )
2022-06-20 17:06:35 +03:00
Jaco
be4619ba3d
MArk deprecated function signatures ( #1487 )
2022-05-13 09:40:43 +03:00
Jaco
e24385213d
9.1.1 ( #1473 )
2022-04-30 08:25:32 +03:00
Jaco
3597a4eb4e
2022 ( #1346 )
2022-01-01 09:26:11 +02:00
Jaco
c57eee5027
Remove deprecated substr from formatBalance ( #1307 )
...
* Remove deprecated substr from formatBalance
* Cleanups
* Adjust
2021-12-10 08:43:28 +02:00
Nantian
2e4de2093c
fix bigint type ( #1079 )
2021-08-12 10:00:58 +02:00
Jaco
f2d611e26d
BN util export (& imports adjust) ( #1009 )
...
* BN util export (& imports adjust)
* Fix hexToBn
* Adjusts test
* Move bn export
2021-06-11 11:42:29 +02:00
Jaco Greeff
15a2e6c6cf
Allow formatBalance to take array defaults ( #853 )
2021-01-23 09:34:04 +01:00
Jaco Greeff
f0f0dec8ea
2021 ( #824 )
2021-01-03 11:20:22 +01:00
Jaco Greeff
408a6706b1
Adjust imports ( #791 )
2020-12-09 11:02:55 +01:00
Jaco Greeff
b1a40516c1
Bump dev (import sorting) ( #789 )
2020-12-07 16:13:47 +01:00
Jaco Greeff
af71673c7b
import type ( #782 )
2020-12-01 13:24:37 +01:00
Jaco Greeff
f07d66562b
Remove default exports ( #755 )
...
* Remove default exports
* Cleanup tests
* Exports in util
* Single secp256k1 instance
* Length check
* format check
* encoded lengths
2020-11-08 18:07:31 +01:00
Jaco Greeff
3230663ae1
3.7 ( #738 )
...
* 3.7
* Update new rules
* RegExp
* formatBalance cleanups
* Revert
* Formatting
* fill
* format test fix
* cleanups
* Cleanups
* Expand bip39 tests
* Cleanups
* Cleanups
2020-11-01 14:44:14 +01:00
Jaco Greeff
81acc81ef7
Change decimals, move unit ( #695 )
...
* Change decimals, move unit
* CHANGELOG
2020-09-27 09:49:47 +02:00
Jaco Greeff
56a79924a0
SPDX ( #687 )
2020-09-17 16:13:39 +02:00
Jaco Greeff
c60459e303
Add isBigInt & bnToBn support for ( #542 )
...
* Add isBigInt & bnToBn support for
* All BN inputs allow BigInt
2020-02-21 16:54:33 +01:00
Jaco Greeff
c539430a0b
2.4 ( #539 )
2020-02-18 09:00:08 +01:00
Jaco Greeff
171015fbba
formatBalance adjustments ( #536 )
...
* formatBalance extensions
* Fly-by any removals
* isBn updates
* Remove unneeded ()'s
2020-02-17 12:16:02 +01:00
Jaco Greeff
e09d0ca5ca
Allow with expanded SI unit (m -> milli) ( #505 )
2020-01-23 16:07:01 +01:00
Jaco Greeff
241febb707
Bump deps ( #497 )
2020-01-06 13:43:49 +01:00
Jaco Greeff
f38975d126
Allow forcing of units in formatBalance ( #486 )
2019-11-05 13:53:49 +01:00
Keith Ingram
2f5df085b6
move SiDef type ( #485 )
2019-10-31 19:19:56 +02:00
Jaco Greeff
25fc033728
typescript-eslint 2 ( #462 )
...
* typescript-eslint 2
* startsWith fixes
* padStart/padEnd
2019-08-30 12:24:16 +02:00
WoeOm
de7e9f8fba
Handing high precision scenes ( #450 )
2019-07-30 07:21:23 +02:00
Jaco Greeff
5d7ddcb708
Allow bnToBn to handle compact (or any with toBn) ( #449 )
2019-07-27 21:42:06 +02:00
Jaco Greeff
15555614f6
formatBalance allows Compact inputs ( #448 )
2019-07-27 07:34:00 +02:00
Jaco Greeff
80db504a3b
Swap to using eslint ( #435 )
...
* WIP
* ... and more
* yet more...
* and examples (more-or-less) fixed
* Only problematic promisify left...
* Last batch
* rm config header
* Update
* Use Record
* Bumps
2019-07-14 11:12:46 +02:00
Jaco Greeff
bb8877894b
Cater for negative values in number formats ( #415 )
...
* Cater for negative values in number formats
* Handle edge-case where -text is provided
2019-06-04 09:43:11 +02:00
Jaco Greeff
9d4c36de92
Assert on non-integer inputs ( #411 )
...
* Assert on non-integer inputs
* Return input value in assert
* alphabetical
* assert after 0 return
* Lint issues (after on-GH fix)
2019-05-27 12:25:22 +02:00
Jaco Greeff
b15ae9e2c8
Pull in functions from ui-util ( #393 )
2019-04-02 14:18:44 +02:00