v2.0.0
BREAKING CHANGES
sign or verify no longer accept an object for the event payload argument.
If you only have access to an already parsed object, stringify it with
const eventPayloadString = (
JSON.stringify(eventPayload, null, 2) + "\n"
).replace(/[^\\]\\u[\da-f]{4}/g, (s) => {
return s.substr(0, 3) + s.substr(3).toUpperCase();
});