Skip to content

Releases: flickr/incoming-message-hash

v5.0.0

19 Nov 01:14
Compare
Choose a tag to compare

What's Changed

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

v4.1.0

17 Nov 21:44
Compare
Choose a tag to compare

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