http-message-signatures
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -135,3 +135,3 @@ "use strict"; | ||
const signature = await opts.signer(Buffer.from(dataToSign)); | ||
request.headers['Signature'] = `${signatureInputString},signature="${signature.toString('base64')}"`; | ||
request.headers.Signature = `${signatureInputString},signature="${signature.toString('base64')}"`; | ||
return request; | ||
@@ -138,0 +138,0 @@ } |
@@ -119,3 +119,3 @@ "use strict"; | ||
request.headers['Signature-Input'] = `sig1=${signatureInputString}`; | ||
request.headers['Signature'] = `sig1=:${signature.toString('base64')}:`; | ||
request.headers.Signature = `sig1=:${signature.toString('base64')}:`; | ||
return request; | ||
@@ -122,0 +122,0 @@ } |
{ | ||
"name": "http-message-signatures", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "HTTP message signature implementation", | ||
@@ -9,3 +9,3 @@ "main": "lib/index.js", | ||
"build": "tsc", | ||
"lint": "eslint -c .eslintrc.json --ignore-path .eslintignore ./ --ext .ts", | ||
"lint": "tslint -c tslint.json ./src/**/*.ts ./test/**/*.ts", | ||
"prepare": "npm run build", | ||
@@ -12,0 +12,0 @@ "preversion": "npm run lint", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
33281
18
426