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.
@releai/rb-node-sdk
Advanced tools
RELE.AI Node SDK provides a simple interface to manage integrated applications
RELE.AI Node SDK provides an easy interface to manage, create, and integrate applications to Clara.
Please visit: https://github.com/rele-ai/cli
const { RBC } = require("@releai/rb-node-sdk")
// Initiate new releai bot client.
const rbc = new RBC({
appId,
appHash,
host,
port,
})
// send notification to endpoint
const response = await rbc.notify(
// send the operation key
"new_contact",
// send the payload
{
"foo": {
"bar": 1
}
},
// send additional headers
{
"example-header-key": "value"
}
)
// handle output - JSON
console.log(response)
const { format } = require("@releai/rb-node-sdk")
// format payload to gRPC struct format
const payload = format({
// payload
})
const { RBS } = require("@releai/rb-node-sdk")
// initiate the bot server
const rbs = new RBS({
appId,
appHash,
})
// Register operation handler for a given operation
rbs.registerOperation("record_note", async (req, res) => {
// do some logic here...
// reply with the payload data
res.send(200, {
// response payload
})
})
// run server
rbs.listen(50003)
FAQs
RELE.AI Node SDK provides a simple interface to manage integrated applications
We found that @releai/rb-node-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.