New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aws-post-to-connection

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-post-to-connection - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

LICENSE

2

package.json
{
"name": "aws-post-to-connection",
"version": "0.0.5",
"version": "0.1.0",
"description": "post to a connected websocket client via api gateway",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -30,2 +30,3 @@ # aws-post-to-connection

domainName: 'localhost',
port: 5000,
secure: false

@@ -32,0 +33,0 @@ })

@@ -10,2 +10,3 @@ const aws4 = require('aws4')

: event
const port = event.port || (secure ? 443 : 80)
const { host, path, method, headers, body } = aws4.sign({

@@ -23,2 +24,3 @@ method: 'POST',

host,
port,
method,

@@ -25,0 +27,0 @@ path,

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