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

baton-event-relay

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baton-event-relay - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

11

index.js

@@ -18,2 +18,3 @@ 'use strict';

const body = JSON.parse(content.request.body ? content.request.body.split('\\\"').join('\"') : undefined);
// console.log(body);

@@ -24,3 +25,3 @@ const t = {

event: {
Records: body.Records.map((r, i) => ({
Records: body.Records ? body.Records.map((r, i) => ({
eventSource: 'aws:kinesis',

@@ -31,3 +32,9 @@ kinesis: {

}
}))
})) : [{
eventSource: 'aws:kinesis',
kinesis: {
sequenceNumber: '1',
data: body.Data,
}
}]
}

@@ -34,0 +41,0 @@ };

2

package.json
{
"name": "baton-event-relay",
"version": "1.0.0",
"version": "1.0.1",
"author": "John Gilbert <john.gilbert@danteinc.com> (danteinc.com)",

@@ -5,0 +5,0 @@ "license": "ISC",

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