Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const adapter = app => (event, dependencies) => {
const orderEvents = kinesis(event).records.map(r => r.jsonData);
return app(orderEvents, dependencies);
};
convert(event) {
return kinesis(event).records.map(r => r.jsonData);
}
};