Hello.
I am receiving block notifications (via zmq) and by calling client.getBlockByHash (json extension) but when running: client.getBlockHeadersByHash( '00000xxxxx...', 1, { extension: 'json'})
I get: Error: Extension "json" is not supported
It works with extensions bin and hex.
solution: line 220: if (!_lodash.default.includes(['bin', 'hex'], extension)) { Must be changed to: if (!_lodash.default.includes(['bin', 'hex', 'json'], extension)) {