@captain-hook/core
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -57,4 +57,5 @@ "use strict"; | ||
}; | ||
hash.update(Buffer.from(JSON.stringify(payload))); | ||
payload = { ...payload, | ||
hash: hash.update(Buffer.from(JSON.stringify(payload))) | ||
hash: hash.digest('utf8') | ||
}; | ||
@@ -61,0 +62,0 @@ |
{ | ||
"name": "@captain-hook/core", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"description": "web(hook hand)lers", | ||
@@ -15,3 +15,3 @@ "author": "Luke Smetham", | ||
}, | ||
"gitHead": "783fdd19cbd3456fc79083ef0a39458f1d9c5aa4" | ||
"gitHead": "1e09b0916769a562870b3c51bfafa38440ebf948" | ||
} |
@@ -69,5 +69,7 @@ import crypto from 'crypto'; | ||
hash.update(Buffer.from(JSON.stringify(payload))); | ||
payload = { | ||
...payload, | ||
hash: hash.update(Buffer.from(JSON.stringify(payload))) | ||
hash: hash.digest('utf8') | ||
}; | ||
@@ -74,0 +76,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
531056
1029