Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
Permanently delete all data associated with a specific ID check. See the documentation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
real_id: {
type: "app",
app: "real_id",
}
},
async run({steps, $}) {
const data = {
firstName: "John",
lastName: "Smith",
email: "johnsmith@gmail.com",
}
return await axios($, {
method: "post",
url: `https://real-id.getverdict.com/api/v1/checks`,
headers: {
Authorization: `Bearer ${this.real_id.$auth.api_key}`,
"content-type": `application/json`,
},
data,
})
},
})