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.
@google/chat-sdk-dialogflow
Advanced tools
Add-on to @google/chat-sdk to delegate conversational chats to Dialogflow.
Handler that forwards messages to Dialogflow ES.
Note: This is not an official Google product.
See googleworkspace/chat-framework-nodejs for general instructions on building bots with the SDK.
Use the dialogflowHandler
method to create a message handler that forwards requests to Dialogflow ES. Creating the
handler requires the Google project ID and a language code (automatic detection of language not yet implemented.)
// Respond to "@bot help"
import {dialogflowHandler} from "@google/chat-sdk-dialogflow";
bot.message(/help/, async (ctx) => {
await ctx.reply({
text: 'Here are some things you can try...'
});
});
// Forwards all other messages to dialogflow
bot.message(
dialogflowHandler({
projectId: process.env.GOOGLE_PROJECT_ID,
languageCode: 'en',
})
);
FAQs
Add-on to @google/chat-sdk to delegate conversational chats to Dialogflow.
The npm package @google/chat-sdk-dialogflow receives a total of 0 weekly downloads. As such, @google/chat-sdk-dialogflow popularity was classified as not popular.
We found that @google/chat-sdk-dialogflow 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.