Skip to content

Commit

Permalink
Adding details to readme and package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
davidplumridge committed May 8, 2024
1 parent efeab7d commit 9e507c2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Shopify HMAC Validator

A lightweight package to validate Shopify HMAC codes
A lightweight package for validating Shopify HMAC codes for user and webhook requests.

## Usage

Expand All @@ -14,6 +14,6 @@ A lightweight package to validate Shopify HMAC codes
const { isShopifyWebhookHmacValid } = require('shopify-hmac-validator')
isShopifyWebhookHmacValid("my_secret", "full_query_string")

## More examples
### More examples

See the repo __tests__ for more examples.
See the __tests__ folder in the repo for more examples.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
"keywords": ["Shopify", "HMAC", "Validation", "Validator", "Webhook", "Installation"],
"author": "David Plumridge",
"license": "MIT",
"description": "",
"description": "A lightweight package for validating Shopify HMAC codes for user and webhook requests.",
"repository": {
"type": "git",
"url": "https://github.com/davidplumridge/shopify-hmac-validator"
},
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
Expand All @@ -21,4 +25,4 @@
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}
}

0 comments on commit 9e507c2

Please sign in to comment.