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

aws-api-gateway-client

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-api-gateway-client - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

10

lib/apiGatewayCore/sigV4Client.js

@@ -20,3 +20,5 @@ /*

var axios = require('axios');
var CryptoJS = require('crypto-js');
var SHA256 = require('crypto-js/sha256');
var encHex = require('crypto-js/enc-hex');
var HmacSHA256 = require('crypto-js/hmac-sha256');
var urlParser = require('url');

@@ -35,11 +37,11 @@

function hash(value) {
return CryptoJS.SHA256(value);
return SHA256(value);
}
function hexEncode(value) {
return value.toString(CryptoJS.enc.Hex);
return value.toString(encHex);
}
function hmac(secret, value) {
return CryptoJS.HmacSHA256(value, secret, {asBytes: true});
return HmacSHA256(value, secret, {asBytes: true});
}

@@ -46,0 +48,0 @@

2

package.json
{
"name": "aws-api-gateway-client",
"version": "0.1.9",
"version": "0.1.10",
"description": "A node.js moduel for AWS API Gateway client",

@@ -5,0 +5,0 @@ "main": "apigClient.js",

@@ -0,1 +1,3 @@

[![dependencies Status](https://david-dm.org/kndt84/aws-api-gateway-client/status.svg)](https://david-dm.org/kndt84/aws-api-gateway-client)
# Overview

@@ -2,0 +4,0 @@ Node.js module for AWS API gateway client based on auto-generated JavaScript SDK for browsers. In addition, this module generalizes endpoint specific methods.

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