aws-post-to-connection
Advanced tools
Comparing version 0.0.5 to 0.1.0
{ | ||
"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, |
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
25650
4
35
40
1
80