
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@google-cloud-suite/firebase-functions-sendgrid-contact
Advanced tools
@google-cloud-suite/firebase-functions-sendgrid-contact
Send email by sendgrid
npm install @google-cloud-suite/firebase-functions-sendgrid-contact
You can use handle(params?: InitParams)
to initialize trigger. The followings are the property of InitParams:
undefined
Examples:
const sendgridContact = require("@google-cloud-suite/firebase-functions-sendgrid-contact");
exports.createContact = sendgridContact.handle({
apiKey: "sgapikey",
emailFrom: "no-reply@example.org",
emailTo: "you@example.org",
reply: { subject: "Thank you for your contact!" }
});
import { getFunctions, httpsCallable } from "firebase/functions";
const functions = getFunctions();
const createContact = httpsCallable(functions, "createContact");
contact body = "Hello, I have a quetion.";
createContact({ body })
.then((result) => {
alert("success");
});
// If you want to reply thanks email to your customer
createContact({ body, replyBody: "You sent: " + body, replyTo: "customer@example.org"})
.then((result) => {
alert("success");
});
firebase deploy
FAQs
@google-cloud-suite/firebase-functions-sendgrid-contact
The npm package @google-cloud-suite/firebase-functions-sendgrid-contact receives a total of 3 weekly downloads. As such, @google-cloud-suite/firebase-functions-sendgrid-contact popularity was classified as not popular.
We found that @google-cloud-suite/firebase-functions-sendgrid-contact demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.