Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

http-message-signatures

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-message-signatures - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

lib/cavage/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc