Skip to content

Commit 825f55c

Browse files
committed
README update, version 1.0.1
1 parent bd30ca6 commit 825f55c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Build Status](https://img.shields.io/github/workflow/status/tsmx/object-hmac/git-ci-build)](https://img.shields.io/github/workflow/status/tsmx/object-hmac/git-ci-build)
77
[![Coverage Status](https://coveralls.io/repos/github/tsmx/object-hmac/badge.svg?branch=master)](https://coveralls.io/github/tsmx/object-hmac?branch=master)
88

9-
> Create and verify HMAC for a JSON object.
9+
> Create and verify HMAC's for JSON objects.
1010
1111
Easily create and verify [HMAC's](https://en.wikipedia.org/wiki/HMAC) for your JSON objects to ensure data integrity and authenticity.
1212

@@ -52,7 +52,6 @@ let verificationAfterChange = objectHmac.verifyHmac(person, key);
5252
const objectHmac = require('@tsmx/object-hmac');
5353
const key = 'HmacSecret-0815';
5454

55-
5655
let person = {
5756
name: 'Max',
5857
age: 32,
@@ -86,7 +85,7 @@ The key to calculate the objects HMAC.
8685
Type: `String`
8786
Default: `__hmac`
8887

89-
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.
88+
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.
9089

9190
### verifyHmac(obj, key, hmacAttribute = '__hmac')
9291

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsmx/object-hmac",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Create and verify HMAC's for JSON objects",
55
"author": "tsmx <dev@tsmx.net>",
66
"main": "object-hmac.js",

0 commit comments

Comments
 (0)