Build a strictly monotonic nonce generator anchored to
Date.now() * 1000 (microsecond-resolution
timestamp). When called multiple times within the same
millisecond — and across Promise.all/fast
sequential usage — it returns last + 1 instead
of repeating the same value, satisfying Bitfinex's
strictly-increasing-nonce requirement.
Build a strictly monotonic nonce generator anchored to
Date.now() * 1000(microsecond-resolution timestamp). When called multiple times within the same millisecond — and acrossPromise.all/fast sequential usage — it returnslast + 1instead of repeating the same value, satisfying Bitfinex's strictly-increasing-nonce requirement.