@tsmx/object-hmac
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@tsmx/object-hmac", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Create and verify HMAC's for JSON objects", | ||
@@ -5,0 +5,0 @@ "author": "tsmx <dev@tsmx.net>", |
@@ -9,3 +9,3 @@ # [**@tsmx/object-hmac**](https://github.com/tsmx/object-hmac) | ||
> Create and verify HMAC for a JSON object. | ||
> Create and verify HMAC's for JSON objects. | ||
@@ -56,3 +56,2 @@ Easily create and verify [HMAC's](https://en.wikipedia.org/wiki/HMAC) for your JSON objects to ensure data integrity and authenticity. | ||
let person = { | ||
@@ -91,3 +90,3 @@ name: 'Max', | ||
The name of the attribute to store the HMAC value in `obj`. Make sure that the name of the attribute is not overkapping with other attributes already in use. | ||
The name of the attribute to store the HMAC value in `obj`. Make sure that the name of the attribute is not overlapping with other attributes already in use. | ||
@@ -94,0 +93,0 @@ ### verifyHmac(obj, key, hmacAttribute = '__hmac') |
152