Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@dazn/lambda-powertools-kinesis-client
Advanced tools
Kinesis client wrapper that knows how to forward correlation IDs (captured via @dazn/lambda-powertools-correlation-ids)
Kinesis client wrapper that knows how to forward correlation IDs (captured via @dazn/lambda-powertools-correlation-ids
).
Main features:
auto-injects correlation IDs into Kinesis records when you call putRecord
or putRecords
(only JSON payloads are supported currently)
direct replacement for AWS.Kinesis
client
Install from NPM: npm install @dazn/lambda-powertools-kinesis-client
It's exactly the same as the Kinesis client from the AWS SDK.
const Kinesis = require('@dazn/lambda-powertools-kinesis-client')
const publishEvent = async () => {
const putRecordReq = {
StreamName: 'lambda-powertools-demo',
PartitionKey: uuid(),
Data: JSON.stringify({ message: 'hello kinesis' })
}
await Kinesis.putRecord(putRecordReq).promise()
}
const publishEvents = async () => {
const putRecordsReq = {
StreamName: 'lambda-powertools-demo',
Records: [
{
PartitionKey: uuid(),
Data: JSON.stringify({ message: 'hello kinesis' })
},
{
PartitionKey: uuid(),
Data: JSON.stringify({ message: 'hello lambda-powertools' })
}
]
}
await Kinesis.putRecords(putRecordsReq).promise()
}
FAQs
Kinesis client wrapper that knows how to forward correlation IDs (captured via @dazn/lambda-powertools-correlation-ids)
We found that @dazn/lambda-powertools-kinesis-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.