Skip to content

v4.1.0

Compare
Choose a tag to compare
@jeremyruppel jeremyruppel released this 17 Nov 21:44
· 7 commits to main since this release

This release "drops" support for node < 12, which is to say there are no breaking changes in this release, but this module will no longer be tested on node versions 10 and below.

This release also adds a hash.promise() method that you can use if you want something like the sync API, but also able to hash the request body:

const hash = require('incoming-message-hash');
const http = require('http');

http.createServer(async function (req, res) {
  res.end(await hash.promise(req));
});

Full Changelog: v4.0.0...v4.1.0