This PR changes the API, its noted in the `CHANGELOG` but we should update the docs once we do the bcoin 2.0.0 release https://github.com/bcoin-org/bcoin/commit/01a71561b1677981a4b355f7deec46f50e68a855